public final class JcrNodeTypeDelegate extends Object implements NodeType
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 primaryNodeTypeName) |
boolean |
canRemoveItem(String itemName) |
boolean |
canRemoveNode(String itemName) |
boolean |
canRemoveProperty(String propertyName) |
boolean |
canSetProperty(String propertyName,
Value value) |
boolean |
canSetProperty(String propertyName,
Value[] values) |
boolean |
equals(Object obj) |
org.modeshape.jcr.JcrNodeDefinition[] |
getChildNodeDefinitions() |
org.modeshape.jcr.JcrNodeDefinition[] |
getDeclaredChildNodeDefinitions() |
org.modeshape.jcr.JcrPropertyDefinition[] |
getDeclaredPropertyDefinitions() |
NodeTypeIterator |
getDeclaredSubtypes() |
String[] |
getDeclaredSupertypeNames() |
org.modeshape.jcr.JcrNodeType[] |
getDeclaredSupertypes() |
String |
getName() |
String |
getPrimaryItemName() |
org.modeshape.jcr.JcrPropertyDefinition[] |
getPropertyDefinitions() |
NodeTypeIterator |
getSubtypes() |
NodeType[] |
getSupertypes() |
int |
hashCode() |
boolean |
hasOrderableChildNodes() |
boolean |
isAbstract() |
boolean |
isMixin() |
boolean |
isNodeType(String nodeTypeName) |
boolean |
isQueryable() |
String |
toString() |
public String getName()
getName
in interface NodeTypeDefinition
public boolean canAddChildNode(String childNodeName)
canAddChildNode
in interface NodeType
public boolean canAddChildNode(String childNodeName, String primaryNodeTypeName)
canAddChildNode
in interface NodeType
public boolean canRemoveNode(String itemName)
canRemoveNode
in interface NodeType
public boolean canRemoveItem(String itemName)
canRemoveItem
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 canRemoveProperty(String propertyName)
canRemoveProperty
in interface NodeType
public org.modeshape.jcr.JcrNodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions
in interface NodeTypeDefinition
public org.modeshape.jcr.JcrNodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions
in interface NodeType
public org.modeshape.jcr.JcrPropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions
in interface NodeType
public org.modeshape.jcr.JcrNodeType[] getDeclaredSupertypes()
getDeclaredSupertypes
in interface NodeType
public String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames
in interface NodeTypeDefinition
public NodeTypeIterator getSubtypes()
getSubtypes
in interface NodeType
public NodeTypeIterator getDeclaredSubtypes()
getDeclaredSubtypes
in interface NodeType
public String getPrimaryItemName()
getPrimaryItemName
in interface NodeTypeDefinition
public org.modeshape.jcr.JcrPropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions
in interface NodeTypeDefinition
public NodeType[] getSupertypes()
getSupertypes
in interface NodeType
public boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface NodeTypeDefinition
public boolean isMixin()
isMixin
in interface NodeTypeDefinition
public boolean isAbstract()
isAbstract
in interface NodeTypeDefinition
public boolean isQueryable()
isQueryable
in interface NodeTypeDefinition
public boolean isNodeType(String nodeTypeName)
isNodeType
in interface NodeType
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.