public class NodeTypeImpl extends AbstractNodeType implements javax.jcr.nodetype.NodeTypeDefinition
NodeTypeImpl
...ntd, resolver
MIX_CREATED, MIX_LANGUAGE, MIX_LAST_MODIFIED, MIX_LIFECYCLE, MIX_LOCKABLE, MIX_MIMETYPE, MIX_REFERENCEABLE, MIX_SHAREABLE, MIX_SIMPLE_VERSIONABLE, MIX_TITLE, MIX_VERSIONABLE, NT_ACTIVITY, NT_ADDRESS, NT_BASE, NT_CHILD_NODE_DEFINITION, NT_CONFIGURATION, NT_FILE, NT_FOLDER, NT_FROZEN_NODE, NT_HIERARCHY_NODE, NT_LINKED_FILE, NT_NODE_TYPE, NT_PROPERTY_DEFINITION, NT_QUERY, NT_RESOURCE, NT_UNSTRUCTURED, NT_VERSION, NT_VERSION_HISTORY, NT_VERSIONED_CHILD
Modifier and Type | Method and Description |
---|---|
boolean |
canAddChildNode(String childNodeName) |
boolean |
canAddChildNode(String childNodeName,
String nodeTypeName) |
boolean |
canRemoveItem(String itemName) |
boolean |
canRemoveNode(String nodeName) |
boolean |
canRemoveProperty(String propertyName) |
boolean |
canSetProperty(String propertyName,
javax.jcr.Value value) |
boolean |
canSetProperty(String propertyName,
javax.jcr.Value[] values) |
javax.jcr.nodetype.NodeDefinition[] |
getChildNodeDefinitions() |
javax.jcr.nodetype.PropertyDefinition[] |
getPropertyDefinitions() |
javax.jcr.nodetype.NodeType[] |
getSupertypes() |
boolean |
hasOrderableChildNodes() |
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. |
getDeclaredChildNodeDefinitions, getDeclaredPropertyDefinitions, getDeclaredSubtypes, getDeclaredSupertypeNames, getDeclaredSupertypes, getDefinition, getName, getPrimaryItemName, getSubtypes, getSubtypes, isAbstract, isMixin, isNodeType, isQueryable
public boolean isNodeType(Name nodeTypeName)
nodeTypeName
, without
checking of a node type of that name really exists.isNodeType
in class AbstractNodeType
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 boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface javax.jcr.nodetype.NodeTypeDefinition
NodeTypeDefinition.hasOrderableChildNodes()
public javax.jcr.nodetype.NodeType[] getSupertypes()
getSupertypes
in interface javax.jcr.nodetype.NodeType
NodeType.getSupertypes()
public javax.jcr.nodetype.NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions
in interface javax.jcr.nodetype.NodeType
NodeType.getChildNodeDefinitions()
public javax.jcr.nodetype.PropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions
in interface javax.jcr.nodetype.NodeType
NodeType.getPropertyDefinitions()
public boolean canSetProperty(String propertyName, javax.jcr.Value value)
canSetProperty
in interface javax.jcr.nodetype.NodeType
NodeType.canSetProperty(String, Value)
public boolean canSetProperty(String propertyName, javax.jcr.Value[] values)
canSetProperty
in interface javax.jcr.nodetype.NodeType
NodeType.canSetProperty(String, Value[])
public boolean canAddChildNode(String childNodeName)
canAddChildNode
in interface javax.jcr.nodetype.NodeType
NodeType.canAddChildNode(String)
public boolean canAddChildNode(String childNodeName, String nodeTypeName)
canAddChildNode
in interface javax.jcr.nodetype.NodeType
NodeType.canAddChildNode(String, String)
public boolean canRemoveItem(String itemName)
canRemoveItem
in interface javax.jcr.nodetype.NodeType
NodeType.canRemoveItem(String)
public boolean canRemoveNode(String nodeName)
canRemoveNode
in interface javax.jcr.nodetype.NodeType
NodeType.canRemoveNode(String)
public boolean canRemoveProperty(String propertyName)
canRemoveProperty
in interface javax.jcr.nodetype.NodeType
NodeType.canRemoveProperty(String)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.