|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.web.jcr.rest.client.domain.ItemDefinition
org.modeshape.web.jcr.rest.client.domain.PropertyDefinition
@Immutable public class PropertyDefinition
An immutable representation of a JCR PropertyDefinition.
Nested Class Summary | |
---|---|
protected static class |
PropertyDefinition.Id
|
protected class |
PropertyDefinition.StringValue
|
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.modeshape.web.jcr.rest.client.domain.ItemDefinition |
---|
getDeclaringNodeType, getDeclaringNodeTypeName, getOnParentVersion, isAutoCreated, isMandatory, isProtected, nodeType, nodeTypes, nodeTypes, toArray |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jcr.nodetype.ItemDefinition |
---|
getDeclaringNodeType, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
Constructor Detail |
---|
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)
Method Detail |
---|
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()
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |