|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.core.nodetype.NodeTypeImpl
A NodeTypeImpl ...
| Method Summary | |
boolean |
canAddChildNode(String childNodeName)
|
boolean |
canAddChildNode(String childNodeName,
String nodeTypeName)
|
boolean |
canRemoveItem(String itemName)
|
boolean |
canSetProperty(String propertyName,
Value value)
|
boolean |
canSetProperty(String propertyName,
Value[] values)
|
NodeDefinition[] |
getAutoCreatedNodeDefinitions()
Returns an array containing only those child node definitions of this node type (including the child node definitions inherited from supertypes of this node type) where
returns true. |
PropertyDefinition[] |
getAutoCreatedPropertyDefinitions()
Returns an array containing only those property definitions of this node type (including the property definitions inherited from supertypes of this node type) where
returns true. |
NodeDefinition[] |
getChildNodeDefinitions()
|
NodeDefinition[] |
getDeclaredChildNodeDefinitions()
|
PropertyDefinition[] |
getDeclaredPropertyDefinitions()
|
NodeType[] |
getDeclaredSupertypes()
|
NodeTypeDef |
getDefinition()
Returns the definition of this node type. |
NodeType[] |
getInheritedSupertypes()
Returns all inherited supertypes of this node type. |
NodeDefinition[] |
getMandatoryNodeDefinitions()
Returns an array containing only those child node definitions of this node type (including the child node definitions inherited from supertypes of this node type) where
returns true. |
PropertyDefinition[] |
getMandatoryPropertyDefinitions()
Returns an array containing only those property definitions of this node type (including the property definitions inherited from supertypes of this node type) where
returns true. |
String |
getName()
|
String |
getPrimaryItemName()
|
PropertyDefinition[] |
getPropertyDefinitions()
|
QName |
getQName()
Returns the 'internal', i.e. |
NodeType[] |
getSupertypes()
|
boolean |
hasOrderableChildNodes()
|
boolean |
isDerivedFrom(QName nodeTypeName)
Checks if this node type is directly or indirectly derived from the specified node type. |
boolean |
isMixin()
|
boolean |
isNodeType(String nodeTypeName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean isDerivedFrom(QName nodeTypeName)
nodeTypeName -
public NodeTypeDef getDefinition()
public NodeDefinition[] getAutoCreatedNodeDefinitions()
ItemDefinition.isAutoCreated()
returns true.
ItemDefinition.isAutoCreated()public PropertyDefinition[] getAutoCreatedPropertyDefinitions()
ItemDefinition.isAutoCreated()
returns true.
ItemDefinition.isAutoCreated()public PropertyDefinition[] getMandatoryPropertyDefinitions()
ItemDefinition.isMandatory()
returns true.
ItemDefinition.isMandatory()public NodeDefinition[] getMandatoryNodeDefinitions()
ItemDefinition.isMandatory()
returns true.
ItemDefinition.isMandatory()public QName getQName()
public NodeType[] getInheritedSupertypes()
NodeType objects.getSupertypes(),
getDeclaredSupertypes()public String getName()
getName in interface NodeTypepublic String getPrimaryItemName()
getPrimaryItemName in interface NodeTypepublic boolean isMixin()
isMixin in interface NodeTypepublic boolean isNodeType(String nodeTypeName)
isNodeType in interface NodeTypepublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface NodeTypepublic NodeType[] getSupertypes()
getSupertypes in interface NodeTypepublic NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions in interface NodeTypepublic PropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions in interface NodeTypepublic NodeType[] getDeclaredSupertypes()
getDeclaredSupertypes in interface NodeTypepublic NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions in interface NodeType
public boolean canSetProperty(String propertyName,
Value value)
canSetProperty in interface NodeType
public boolean canSetProperty(String propertyName,
Value[] values)
canSetProperty in interface NodeTypepublic boolean canAddChildNode(String childNodeName)
canAddChildNode in interface NodeType
public boolean canAddChildNode(String childNodeName,
String nodeTypeName)
canAddChildNode in interface NodeTypepublic boolean canRemoveItem(String itemName)
canRemoveItem in interface NodeTypepublic PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface NodeType
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||