@Immutable public class ChildNodeDefinition extends ItemDefinition implements NodeDefinition
Modifier and Type | Class and Description |
---|---|
protected static class |
ChildNodeDefinition.Id |
Constructor and Description |
---|
ChildNodeDefinition(String declaringNodeTypeName,
String name,
Set<String> requiredTypes,
boolean isAutoCreated,
boolean isMandatory,
boolean isProtected,
boolean allowsSameNameSiblings,
int onParentVersion,
String defaultPrimaryTypeName,
Map<String,NodeType> nodeTypes) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsSameNameSiblings() |
boolean |
equals(Object obj) |
NodeType |
getDefaultPrimaryType() |
String |
getDefaultPrimaryTypeName() |
String |
getName() |
String[] |
getRequiredPrimaryTypeNames() |
NodeType[] |
getRequiredPrimaryTypes() |
int |
hashCode() |
protected ChildNodeDefinition.Id |
id() |
String |
toString() |
getDeclaringNodeType, getDeclaringNodeTypeName, getOnParentVersion, isAutoCreated, isMandatory, isProtected, nodeType, nodeTypes, nodeTypes, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringNodeType, getOnParentVersion, isAutoCreated, isMandatory, isProtected
protected ChildNodeDefinition.Id id()
public String getName()
getName
in interface ItemDefinition
ItemDefinition.getName()
public boolean allowsSameNameSiblings()
allowsSameNameSiblings
in interface NodeDefinition
NodeDefinition.allowsSameNameSiblings()
public String[] getRequiredPrimaryTypeNames()
getRequiredPrimaryTypeNames
in interface NodeDefinition
NodeDefinition.getRequiredPrimaryTypeNames()
public NodeType getDefaultPrimaryType()
getDefaultPrimaryType
in interface NodeDefinition
NodeDefinition.getDefaultPrimaryType()
public String getDefaultPrimaryTypeName()
getDefaultPrimaryTypeName
in interface NodeDefinition
NodeDefinition.getDefaultPrimaryTypeName()
public NodeType[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes
in interface NodeDefinition
NodeDefinition.getRequiredPrimaryTypes()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.