org.apache.jackrabbit.webdav.jcr.nodetype
Class ItemDefinitionImpl

java.lang.Object
  extended byorg.apache.jackrabbit.webdav.jcr.nodetype.ItemDefinitionImpl
All Implemented Interfaces:
ItemDefinition, NodeTypeConstants
Direct Known Subclasses:
NodeDefinitionImpl, PropertyDefinitionImpl

public abstract class ItemDefinitionImpl
extends Object
implements ItemDefinition, NodeTypeConstants

ItemDefinitionImpl...


Field Summary
 
Fields inherited from interface org.apache.jackrabbit.webdav.jcr.nodetype.NodeTypeConstants
AUTOCREATED_ATTRIBUTE, CHILDNODEDEFINITION_ELEMENT, DEFAULTPRIMARYTYPE_ATTRIBUTE, DEFAULTVALUE_ELEMENT, DEFAULTVALUES_ELEMENT, HASORDERABLECHILDNODES_ATTRIBUTE, ISMIXIN_ATTRIBUTE, MANDATORY_ATTRIBUTE, MULTIPLE_ATTRIBUTE, NAME_ATTRIBUTE, NAMESPACE, NODETYPE_ELEMENT, NODETYPES_ELEMENT, ONPARENTVERSION_ATTRIBUTE, PRIMARYITEMNAME_ATTRIBUTE, PROPERTYDEFINITION_ELEMENT, PROTECTED_ATTRIBUTE, REQUIREDPRIMARYTYPE_ELEMENT, REQUIREDPRIMARYTYPES_ELEMENT, REQUIREDTYPE_ATTRIBUTE, SAMENAMESIBLINGS_ATTRIBUTE, SUPERTYPE_ELEMENT, SUPERTYPES_ELEMENT, VALUECONSTRAINT_ELEMENT, VALUECONSTRAINTS_ELEMENT, XML_NODETYPE, XML_NODETYPENAME, XML_NODETYPES, XML_REPORT_ALLNODETYPES, XML_REPORT_MIXINNODETYPES, XML_REPORT_PRIMARYNODETYPES
 
Method Summary
 NodeType getDeclaringNodeType()
           
abstract  String getElementName()
          Returns the name of the root element
 String getName()
           
 int getOnParentVersion()
           
 boolean isAutoCreated()
           
 boolean isMandatory()
           
 boolean isProtected()
           
 org.jdom.Element toXml()
          Returns the Xml representation of a ItemDefinition object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDeclaringNodeType

public NodeType getDeclaringNodeType()
Specified by:
getDeclaringNodeType in interface ItemDefinition
See Also:
ItemDefinition.getDeclaringNodeType()

getName

public String getName()
Specified by:
getName in interface ItemDefinition
See Also:
ItemDefinition.getName()

isAutoCreated

public boolean isAutoCreated()
Specified by:
isAutoCreated in interface ItemDefinition
See Also:
ItemDefinition.isAutoCreated()

isMandatory

public boolean isMandatory()
Specified by:
isMandatory in interface ItemDefinition
See Also:
ItemDefinition.isMandatory()

getOnParentVersion

public int getOnParentVersion()
Specified by:
getOnParentVersion in interface ItemDefinition
See Also:
ItemDefinition.getOnParentVersion()

isProtected

public boolean isProtected()
Specified by:
isProtected in interface ItemDefinition
See Also:
ItemDefinition.isProtected()

toXml

public org.jdom.Element toXml()
Returns the Xml representation of a ItemDefinition object.

Returns:
Xml representation of the specified def.

getElementName

public abstract String getElementName()
Returns the name of the root element

Returns:
the name of the root element


Copyright © 2005 . All Rights Reserved.