org.priha.nodetype
Class QNodeType.Impl
java.lang.Object
org.priha.nodetype.QNodeType.Impl
- Enclosing class:
- QNodeType
public class QNodeType.Impl
- extends java.lang.Object
The session-specific parts of the node type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QNodeType.Impl
public QNodeType.Impl(SessionImpl mapper)
canAddChildNode
public boolean canAddChildNode(java.lang.String childNodeName)
canAddChildNode
public boolean canAddChildNode(java.lang.String childNodeName,
java.lang.String nodeTypeName)
canRemoveItem
public boolean canRemoveItem(java.lang.String itemName)
canSetProperty
public boolean canSetProperty(java.lang.String propertyName,
Value value)
canSetProperty
public boolean canSetProperty(java.lang.String propertyName,
Value[] values)
getChildNodeDefinitions
public NodeDefinition[] getChildNodeDefinitions()
getDeclaredChildNodeDefinitions
public NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredPropertyDefinitions
public PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredSupertypes
public NodeType[] getDeclaredSupertypes()
getName
public java.lang.String getName()
getPrimaryItemName
public java.lang.String getPrimaryItemName()
getPropertyDefinitions
public PropertyDefinition[] getPropertyDefinitions()
getSupertypes
public NodeType[] getSupertypes()
isNodeType
public boolean isNodeType(java.lang.String nodeTypeName)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hasOrderableChildNodes
public boolean hasOrderableChildNodes()
isMixin
public boolean isMixin()
findNodeDefinition
public NodeDefinition findNodeDefinition(java.lang.String string)
throws RepositoryException
- Throws:
RepositoryException
getQNodeType
public QNodeType getQNodeType()
- Returns a reference to the parent QNodeType.
- Returns: