org.priha.nodetype
Class QNodeType.Impl

java.lang.Object
  extended by org.priha.nodetype.QNodeType.Impl
Enclosing class:
QNodeType

public class QNodeType.Impl
extends java.lang.Object

The session-specific parts of the node type.


Constructor Summary
QNodeType.Impl(SessionImpl mapper)
           
 
Method Summary
 boolean canAddChildNode(java.lang.String childNodeName)
           
 boolean canAddChildNode(java.lang.String childNodeName, java.lang.String nodeTypeName)
           
 boolean canRemoveItem(java.lang.String itemName)
           
 boolean canSetProperty(java.lang.String propertyName, Value value)
           
 boolean canSetProperty(java.lang.String propertyName, Value[] values)
           
 NodeDefinition findNodeDefinition(java.lang.String string)
           
 NodeDefinition[] getChildNodeDefinitions()
           
 NodeDefinition[] getDeclaredChildNodeDefinitions()
           
 PropertyDefinition[] getDeclaredPropertyDefinitions()
           
 NodeType[] getDeclaredSupertypes()
           
 java.lang.String getName()
           
 java.lang.String getPrimaryItemName()
           
 PropertyDefinition[] getPropertyDefinitions()
           
 QNodeType getQNodeType()
          Returns a reference to the parent QNodeType.
 NodeType[] getSupertypes()
           
 boolean hasOrderableChildNodes()
           
 boolean isMixin()
           
 boolean isNodeType(java.lang.String nodeTypeName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QNodeType.Impl

public QNodeType.Impl(SessionImpl mapper)
Method Detail

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: