|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.state.nodetype.ItemDefinitionState
org.apache.jackrabbit.state.nodetype.PropertyDefinitionState
Property definition state. Instances of this class are used to hold and manage the internal state of property definitions.
Constructor Summary | |
PropertyDefinitionState()
Creates an empty property definition state instance. |
Method Summary | |
void |
addValueConstraints(String constraint)
Adds a constraint string to the list of property value constraints. |
int |
getRequiredType()
Returns the required type of the defined property. |
String[] |
getValueConstraints()
Returns the property value constraint strings. |
boolean |
isMultiple()
Returns the value of the Multiple property definition property. |
void |
setMultiple(boolean multiple)
Sets the value of the Multiple property definition property. |
void |
setRequiredType(int requiredType)
Sets the required type of the defined property. |
Methods inherited from class org.apache.jackrabbit.state.nodetype.ItemDefinitionState |
getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected, setAutoCreated, setMandatory, setName, setOnParentVersion, setProtected |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertyDefinitionState()
Method Detail |
public int getRequiredType()
public void setRequiredType(int requiredType)
requiredType
- new required property typepublic String[] getValueConstraints()
public void addValueConstraints(String constraint)
constraint
- constraint stringpublic boolean isMultiple()
public void setMultiple(boolean multiple)
multiple
- new Multiple property value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |