@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, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringNodeType, getOnParentVersion, isAutoCreated, isMandatory, isProtectedprotected ChildNodeDefinition.Id id()
public String getName()
getName in interface ItemDefinitionItemDefinition.getName()public boolean allowsSameNameSiblings()
allowsSameNameSiblings in interface NodeDefinitionNodeDefinition.allowsSameNameSiblings()public String[] getRequiredPrimaryTypeNames()
getRequiredPrimaryTypeNames in interface NodeDefinitionNodeDefinition.getRequiredPrimaryTypeNames()public NodeType getDefaultPrimaryType()
getDefaultPrimaryType in interface NodeDefinitionNodeDefinition.getDefaultPrimaryType()public String getDefaultPrimaryTypeName()
getDefaultPrimaryTypeName in interface NodeDefinitionNodeDefinition.getDefaultPrimaryTypeName()public NodeType[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes in interface NodeDefinitionNodeDefinition.getRequiredPrimaryTypes()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.