@Immutable public abstract class ItemDefinition extends Object implements ItemDefinition
| Modifier | Constructor and Description |
|---|---|
protected |
ItemDefinition(String declaringNodeTypeName,
boolean isAutoCreated,
boolean isMandatory,
boolean isProtected,
int onParentVersion,
Map<String,NodeType> nodeTypes) |
| Modifier and Type | Method and Description |
|---|---|
NodeType |
getDeclaringNodeType() |
String |
getDeclaringNodeTypeName()
Get the name of the node type that declares this definition.
|
int |
getOnParentVersion() |
boolean |
isAutoCreated() |
boolean |
isMandatory() |
boolean |
isProtected() |
protected NodeType |
nodeType(String name)
Find the node type with the supplied name.
|
protected Map<String,NodeType> |
nodeTypes() |
protected static NodeType[] |
nodeTypes(Collection<String> nodeTypeNames,
Map<String,NodeType> nodeTypes) |
protected static String[] |
toArray(Collection<String> values) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNameprotected static String[] toArray(Collection<String> values)
protected static NodeType[] nodeTypes(Collection<String> nodeTypeNames, Map<String,NodeType> nodeTypes)
protected NodeType nodeType(String name)
name - the name of the node type to find.public String getDeclaringNodeTypeName()
public NodeType getDeclaringNodeType()
getDeclaringNodeType in interface ItemDefinitionItemDefinition.getDeclaringNodeType()public int getOnParentVersion()
getOnParentVersion in interface ItemDefinitionItemDefinition.getOnParentVersion()public boolean isAutoCreated()
isAutoCreated in interface ItemDefinitionItemDefinition.isAutoCreated()public boolean isMandatory()
isMandatory in interface ItemDefinitionItemDefinition.isMandatory()public boolean isProtected()
isProtected in interface ItemDefinitionItemDefinition.isProtected()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.