|
|||||||||||
| 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.NodeDefinitionState
Node definition state. Instances of this class are used to hold and manage the internal state of node definitions.
| Constructor Summary | |
NodeDefinitionState()
Creates an empty node definition state instance. |
|
| Method Summary | |
void |
addRequiredPrimaryTypeNames(Name requiredPrimaryTypeName)
Adds a type name to the list of required primary types. |
boolean |
allowsSameNameSiblings()
Returns the value of the AllowsSameNameSiblings node definition property. |
Name |
getDefaultPrimaryTypeName()
Returns the name of the default primary type of the defined node. |
Name[] |
getRequiredPrimaryTypeNames()
Returns the names of the required primary types of the defined node. |
void |
setAllowsSameNameSiblings(boolean allowsSameNameSiblings)
Sets the value of the AllowsSameNameSiblings node definition property. |
void |
setDefaultPrimaryTypeName(Name defaultPrimaryType)
Sets the name of the default primary type of the defined node. |
| 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 NodeDefinitionState()
| Method Detail |
public Name getDefaultPrimaryTypeName()
public void setDefaultPrimaryTypeName(Name defaultPrimaryType)
defaultPrimaryType - new default primary type namepublic Name[] getRequiredPrimaryTypeNames()
public void addRequiredPrimaryTypeNames(Name requiredPrimaryTypeName)
requiredPrimaryTypeName - type namepublic boolean allowsSameNameSiblings()
public void setAllowsSameNameSiblings(boolean allowsSameNameSiblings)
allowsSameNameSiblings - new AllowsSameNameSiblings property value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||