|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 NodeType
public String getPrimaryItemName()
getPrimaryItemName
in interface NodeType
public boolean isMixin()
isMixin
in interface NodeType
public boolean isNodeType(String nodeTypeName)
isNodeType
in interface NodeType
public boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface NodeType
public NodeType[] getSupertypes()
getSupertypes
in interface NodeType
public NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions
in interface NodeType
public PropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions
in interface NodeType
public NodeType[] getDeclaredSupertypes()
getDeclaredSupertypes
in interface NodeType
public 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 NodeType
public boolean canAddChildNode(String childNodeName)
canAddChildNode
in interface NodeType
public boolean canAddChildNode(String childNodeName, String nodeTypeName)
canAddChildNode
in interface NodeType
public boolean canRemoveItem(String itemName)
canRemoveItem
in interface NodeType
public PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions
in interface NodeType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |