@Immutable public class PropertyDefinition extends ItemDefinition implements PropertyDefinition
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PropertyDefinition.Id |
protected class |
PropertyDefinition.StringValue |
| Constructor and Description |
|---|
PropertyDefinition(String declaringNodeTypeName,
String name,
int requiredType,
boolean isAutoCreated,
boolean isMandatory,
boolean isProtected,
boolean isFullTextSearchable,
boolean isMultiple,
boolean isQueryOrderable,
int onParentVersion,
List<String> defaultValues,
List<String> valueConstraints,
List<String> availableQueryOperations,
Map<String,NodeType> nodeTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String[] |
getAvailableQueryOperators() |
Value[] |
getDefaultValues() |
String |
getName() |
int |
getRequiredType() |
String[] |
getValueConstraints() |
int |
hashCode() |
protected PropertyDefinition.Id |
id() |
boolean |
isFullTextSearchable() |
boolean |
isMultiple() |
boolean |
isQueryOrderable() |
static Calendar |
parseDate(String dateString) |
String |
toString() |
getDeclaringNodeType, getDeclaringNodeTypeName, getOnParentVersion, isAutoCreated, isMandatory, isProtected, nodeType, nodeTypes, nodeTypes, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringNodeType, getOnParentVersion, isAutoCreated, isMandatory, isProtectedpublic PropertyDefinition(String declaringNodeTypeName, String name, int requiredType, boolean isAutoCreated, boolean isMandatory, boolean isProtected, boolean isFullTextSearchable, boolean isMultiple, boolean isQueryOrderable, int onParentVersion, List<String> defaultValues, List<String> valueConstraints, List<String> availableQueryOperations, Map<String,NodeType> nodeTypes)
public static Calendar parseDate(String dateString) throws IllegalArgumentException
IllegalArgumentExceptionprotected PropertyDefinition.Id id()
public String getName()
getName in interface ItemDefinitionItemDefinition.getName()public String[] getAvailableQueryOperators()
getAvailableQueryOperators in interface PropertyDefinitionPropertyDefinition.getAvailableQueryOperators()public Value[] getDefaultValues()
getDefaultValues in interface PropertyDefinitionPropertyDefinition.getDefaultValues()public int getRequiredType()
getRequiredType in interface PropertyDefinitionPropertyDefinition.getRequiredType()public String[] getValueConstraints()
getValueConstraints in interface PropertyDefinitionPropertyDefinition.getValueConstraints()public boolean isFullTextSearchable()
isFullTextSearchable in interface PropertyDefinitionPropertyDefinition.isFullTextSearchable()public boolean isMultiple()
isMultiple in interface PropertyDefinitionPropertyDefinition.isMultiple()public boolean isQueryOrderable()
isQueryOrderable in interface PropertyDefinitionPropertyDefinition.isQueryOrderable()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.