|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.state.nodetype.ItemDefinitionState
Item definition state. This base class contains the common state properties used by both property and node definitions.
Constructor Summary | |
protected |
ItemDefinitionState()
Creates an empty item definition state instance. |
Method Summary | |
Name |
getName()
Returns the qualified name of the defined item. |
int |
getOnParentVersion()
Returns the value of the OnParentVerson item definition property. |
boolean |
isAutoCreated()
Returns the value of the AutoCreated item definition property. |
boolean |
isMandatory()
Returns the value of the Mandatory item definition property. |
boolean |
isProtected()
Returns the value of the Protected item definition property. |
void |
setAutoCreated(boolean autoCreated)
Sets the value of the AutoCreated item definition property. |
void |
setMandatory(boolean mandatory)
Sets the value of the Mandatory item definition property. |
void |
setName(Name name)
Sets the qualified name of the defined item. |
void |
setOnParentVersion(int onParentVersion)
Sets the value of the OnParentVersion item definition property. |
void |
setProtected(boolean isProtected)
Sets the value of the Protected item definition property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ItemDefinitionState()
Method Detail |
public Name getName()
public void setName(Name name)
name
- new qualified namepublic boolean isAutoCreated()
public void setAutoCreated(boolean autoCreated)
autoCreated
- new AutoCreated property valuepublic boolean isMandatory()
public void setMandatory(boolean mandatory)
mandatory
- new Mandatory property valuepublic int getOnParentVersion()
public void setOnParentVersion(int onParentVersion)
onParentVersion
- new OnParentVersion property valuepublic boolean isProtected()
public void setProtected(boolean isProtected)
isProtected
- new Protected property value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |