|
||||||||||
| 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
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||