| Constructor and Description |
|---|
AbstractNodeType(QNodeTypeDefinition ntd,
AbstractNodeTypeManager ntMgr,
NamePathResolver resolver)
Create a new
AbstractNodeType. |
| Modifier and Type | Method and Description |
|---|---|
NodeDefinition[] |
getDeclaredChildNodeDefinitions() |
PropertyDefinition[] |
getDeclaredPropertyDefinitions() |
NodeTypeIterator |
getDeclaredSubtypes() |
String[] |
getDeclaredSupertypeNames() |
NodeType[] |
getDeclaredSupertypes() |
QNodeTypeDefinition |
getDefinition()
Returns the node type definition.
|
String |
getName() |
String |
getPrimaryItemName() |
NodeTypeIterator |
getSubtypes() |
NodeTypeIterator |
getSubtypes(boolean directOnly)
Returns the node types derived from this node type.
|
boolean |
isAbstract() |
boolean |
isMixin() |
abstract boolean |
isNodeType(Name nodeTypeName)
Test if this nodetype equals or is directly or indirectly derived from
the node type with the specified
nodeTypeName, without
checking of a node type of that name really exists. |
boolean |
isNodeType(String nodeTypeName) |
boolean |
isQueryable() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanAddChildNode, canAddChildNode, canRemoveItem, canSetProperty, canSetProperty, getChildNodeDefinitions, getPropertyDefinitions, getSupertypes, hasOrderableChildNodespublic AbstractNodeType(QNodeTypeDefinition ntd, AbstractNodeTypeManager ntMgr, NamePathResolver resolver)
AbstractNodeType.ntd - the underlying node type definition.ntMgr - the node type manager.resolver - the name/path resolver of the session that created this
node type instance.public QNodeTypeDefinition getDefinition()
public boolean isAbstract()
public boolean isQueryable()
public String[] getDeclaredSupertypeNames()
public NodeType[] getDeclaredSupertypes()
getDeclaredSupertypes in interface NodeTypepublic NodeTypeIterator getDeclaredSubtypes()
javax.jcr.nodetype.NodeType#getDeclaredSubtypes()public NodeTypeIterator getSubtypes()
javax.jcr.nodetype.NodeType#getSubtypes()public NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions in interface NodeTypepublic String getPrimaryItemName()
getPrimaryItemName in interface NodeTypepublic PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface NodeTypeNodeTypeDefinition.getDeclaredPropertyDefinitions()public boolean isNodeType(String nodeTypeName)
isNodeType in interface NodeTypepublic abstract boolean isNodeType(Name nodeTypeName)
nodeTypeName, without
checking of a node type of that name really exists.nodeTypeName - A node type name.nodeTypeName or if it is directly or indirectly derived
from it; otherwise false. If no node type exists with the
specified name this method will also return false.public NodeTypeIterator getSubtypes(boolean directOnly)
directOnly - if true only direct subtypes will be consideredNodeTypeIterator.NodeType#getSubtypes,
NodeType#getDeclaredSubtypesCopyright © 2010 - 2020 Adobe. All Rights Reserved