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

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

public abstract class ItemDefinitionImpl
extends Object
implements ItemDefinition, NodeTypeConstants, XmlSerializable

ItemDefinitionImpl...


Field Summary
 
Fields inherited from interface org.apache.jackrabbit.commons.webdav.NodeTypeConstants
AUTOCREATED_ATTRIBUTE, AVAILABLE_QUERY_OPERATOR_ELEMENT, AVAILABLE_QUERY_OPERATORS_ELEMENT, CHILDNODEDEFINITION_ELEMENT, DECLARINGNODETYPE_ATTRIBUTE, DEFAULTPRIMARYTYPE_ATTRIBUTE, DEFAULTVALUE_ELEMENT, DEFAULTVALUES_ELEMENT, FULL_TEXT_SEARCHABLE_ATTRIBUTE, HASORDERABLECHILDNODES_ATTRIBUTE, ISABSTRACT_ATTRIBUTE, ISMIXIN_ATTRIBUTE, ISQUERYABLE_ATTRIBUTE, MANDATORY_ATTRIBUTE, MULTIPLE_ATTRIBUTE, NAME_ATTRIBUTE, NODETYPE_ELEMENT, NODETYPES_ELEMENT, ONPARENTVERSION_ATTRIBUTE, PRIMARYITEMNAME_ATTRIBUTE, PROPERTYDEFINITION_ELEMENT, PROTECTED_ATTRIBUTE, QUERY_ORDERABLE_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()
           
 String getName()
           
 int getOnParentVersion()
           
 boolean isAutoCreated()
           
 boolean isMandatory()
           
 boolean isProtected()
           
 Element toXml(Document document)
          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 Element toXml(Document document)
Returns the Xml representation of a ItemDefinition object.

Specified by:
toXml in interface XmlSerializable
Parameters:
document -
Returns:
Xml representation of the specified def.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.