public class NodeDefinitionImpl
extends java.lang.Object
NodeDefinition
interface.
All method calls are delegated to the wrapped QNodeDefinition
,
performing the translation from Name
s 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.
|
public 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()
public java.lang.String getDefaultPrimaryTypeName()
NodeDefinition#getDefaultPrimaryTypeName()
public NodeType getDefaultPrimaryType()
public NodeType[] getRequiredPrimaryTypes()
public java.lang.String[] getRequiredPrimaryTypeNames()
NodeDefinition#getRequiredPrimaryTypeNames()
public NodeType getDeclaringNodeType()
public java.lang.String getName()
public int getOnParentVersion()
public boolean isAutoCreated()
public boolean isMandatory()
public boolean isProtected()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"