org.modeshape.jcr
Class JcrNodeTypeDelegate
java.lang.Object
org.modeshape.jcr.JcrNodeTypeDelegate
- All Implemented Interfaces:
- NodeType, NodeTypeDefinition
public final class JcrNodeTypeDelegate
- extends Object
- implements NodeType
Fields inherited from interface javax.jcr.nodetype.NodeType |
MIX_CREATED, MIX_LANGUAGE, MIX_LAST_MODIFIED, MIX_LIFECYCLE, MIX_LOCKABLE, MIX_MIMETYPE, MIX_REFERENCEABLE, MIX_SHAREABLE, MIX_SIMPLE_VERSIONABLE, MIX_TITLE, MIX_VERSIONABLE, NT_ACTIVITY, NT_ADDRESS, NT_BASE, NT_CHILD_NODE_DEFINITION, NT_CONFIGURATION, NT_FILE, NT_FOLDER, NT_FROZEN_NODE, NT_HIERARCHY_NODE, NT_LINKED_FILE, NT_NODE_TYPE, NT_PROPERTY_DEFINITION, NT_QUERY, NT_RESOURCE, NT_UNSTRUCTURED, NT_VERSION, NT_VERSION_HISTORY, NT_VERSIONED_CHILD |
getName
public String getName()
- Specified by:
getName
in interface NodeTypeDefinition
canAddChildNode
public boolean canAddChildNode(String childNodeName)
- Specified by:
canAddChildNode
in interface NodeType
canAddChildNode
public boolean canAddChildNode(String childNodeName,
String primaryNodeTypeName)
- Specified by:
canAddChildNode
in interface NodeType
canRemoveNode
public boolean canRemoveNode(String itemName)
- Specified by:
canRemoveNode
in interface NodeType
canRemoveItem
public boolean canRemoveItem(String itemName)
- Specified by:
canRemoveItem
in interface NodeType
canSetProperty
public boolean canSetProperty(String propertyName,
Value value)
- Specified by:
canSetProperty
in interface NodeType
canSetProperty
public boolean canSetProperty(String propertyName,
Value[] values)
- Specified by:
canSetProperty
in interface NodeType
canRemoveProperty
public boolean canRemoveProperty(String propertyName)
- Specified by:
canRemoveProperty
in interface NodeType
getDeclaredChildNodeDefinitions
public org.modeshape.jcr.JcrNodeDefinition[] getDeclaredChildNodeDefinitions()
- Specified by:
getDeclaredChildNodeDefinitions
in interface NodeTypeDefinition
getChildNodeDefinitions
public org.modeshape.jcr.JcrNodeDefinition[] getChildNodeDefinitions()
- Specified by:
getChildNodeDefinitions
in interface NodeType
getPropertyDefinitions
public org.modeshape.jcr.JcrPropertyDefinition[] getPropertyDefinitions()
- Specified by:
getPropertyDefinitions
in interface NodeType
getDeclaredSupertypes
public org.modeshape.jcr.JcrNodeType[] getDeclaredSupertypes()
- Specified by:
getDeclaredSupertypes
in interface NodeType
getDeclaredSupertypeNames
public String[] getDeclaredSupertypeNames()
- Specified by:
getDeclaredSupertypeNames
in interface NodeTypeDefinition
getSubtypes
public NodeTypeIterator getSubtypes()
- Specified by:
getSubtypes
in interface NodeType
getDeclaredSubtypes
public NodeTypeIterator getDeclaredSubtypes()
- Specified by:
getDeclaredSubtypes
in interface NodeType
getPrimaryItemName
public String getPrimaryItemName()
- Specified by:
getPrimaryItemName
in interface NodeTypeDefinition
getDeclaredPropertyDefinitions
public org.modeshape.jcr.JcrPropertyDefinition[] getDeclaredPropertyDefinitions()
- Specified by:
getDeclaredPropertyDefinitions
in interface NodeTypeDefinition
getSupertypes
public NodeType[] getSupertypes()
- Specified by:
getSupertypes
in interface NodeType
hasOrderableChildNodes
public boolean hasOrderableChildNodes()
- Specified by:
hasOrderableChildNodes
in interface NodeTypeDefinition
isMixin
public boolean isMixin()
- Specified by:
isMixin
in interface NodeTypeDefinition
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interface NodeTypeDefinition
isQueryable
public boolean isQueryable()
- Specified by:
isQueryable
in interface NodeTypeDefinition
isNodeType
public boolean isNodeType(String nodeTypeName)
- Specified by:
isNodeType
in interface NodeType
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.