org.apache.jackrabbit.webdav.jcr.nodetype
Class ItemDefinitionImpl
java.lang.Object
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
...
Fields inherited from interface org.apache.jackrabbit.webdav.jcr.nodetype.NodeTypeConstants |
AUTOCREATED_ATTRIBUTE, CHILDNODEDEFINITION_ELEMENT, DECLARINGNODETYPE_ATTRIBUTE, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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-2009 The Apache Software Foundation. All Rights Reserved.