@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, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringNodeType, getOnParentVersion, isAutoCreated, isMandatory, isProtected
public 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
IllegalArgumentException
protected PropertyDefinition.Id id()
public String getName()
getName
in interface ItemDefinition
ItemDefinition.getName()
public String[] getAvailableQueryOperators()
getAvailableQueryOperators
in interface PropertyDefinition
PropertyDefinition.getAvailableQueryOperators()
public Value[] getDefaultValues()
getDefaultValues
in interface PropertyDefinition
PropertyDefinition.getDefaultValues()
public int getRequiredType()
getRequiredType
in interface PropertyDefinition
PropertyDefinition.getRequiredType()
public String[] getValueConstraints()
getValueConstraints
in interface PropertyDefinition
PropertyDefinition.getValueConstraints()
public boolean isFullTextSearchable()
isFullTextSearchable
in interface PropertyDefinition
PropertyDefinition.isFullTextSearchable()
public boolean isMultiple()
isMultiple
in interface PropertyDefinition
PropertyDefinition.isMultiple()
public boolean isQueryOrderable()
isQueryOrderable
in interface PropertyDefinition
PropertyDefinition.isQueryOrderable()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.