public class NodeDefinitionImpl extends java.lang.Object implements NodeDefinition
NodeDefinition interface.
All method calls are delegated to the wrapped QNodeDefinition,
performing the translation from Names to JCR names
where necessary.| Constructor and Description |
|---|
NodeDefinitionImpl(QItemDefinition itemDef,
AbstractNodeTypeManager ntMgr,
NamePathResolver resolver)
Constructor to create a definition that is based on an
existing node type.
|
NodeDefinitionImpl(QItemDefinition itemDef,
NamePathResolver resolver)
Constructor to create a definition that is based on a template.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsSameNameSiblings() |
boolean |
equals(java.lang.Object o) |
NodeType |
getDeclaringNodeType() |
NodeType |
getDefaultPrimaryType() |
java.lang.String |
getDefaultPrimaryTypeName() |
java.lang.String |
getName() |
int |
getOnParentVersion() |
java.lang.String[] |
getRequiredPrimaryTypeNames() |
NodeType[] |
getRequiredPrimaryTypes() |
int |
hashCode() |
boolean |
isAutoCreated() |
boolean |
isMandatory() |
boolean |
isProtected() |
QNodeDefinition |
unwrap()
Returns the wrapped node definition.
|
getClass, notify, notifyAll, toString, wait, wait, waitgetDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtectedpublic NodeDefinitionImpl(QItemDefinition itemDef, NamePathResolver resolver)
itemDef - item definitionresolver - public NodeDefinitionImpl(QItemDefinition itemDef, AbstractNodeTypeManager ntMgr, NamePathResolver resolver)
itemDef - item definitionresolver - public QNodeDefinition unwrap()
public boolean allowsSameNameSiblings()
allowsSameNameSiblings in interface NodeDefinitionpublic java.lang.String getDefaultPrimaryTypeName()
getDefaultPrimaryTypeName in interface NodeDefinitionNodeDefinition.getDefaultPrimaryTypeName()public NodeType getDefaultPrimaryType()
getDefaultPrimaryType in interface NodeDefinitionpublic NodeType[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes in interface NodeDefinitionpublic java.lang.String[] getRequiredPrimaryTypeNames()
getRequiredPrimaryTypeNames in interface NodeDefinitionNodeDefinition.getRequiredPrimaryTypeNames()public NodeType getDeclaringNodeType()
getDeclaringNodeType in interface ItemDefinitionpublic java.lang.String getName()
getName in interface ItemDefinitionpublic int getOnParentVersion()
getOnParentVersion in interface ItemDefinitionpublic boolean isAutoCreated()
isAutoCreated in interface ItemDefinitionpublic boolean isMandatory()
isMandatory in interface ItemDefinitionpublic boolean isProtected()
isProtected in interface ItemDefinitionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved