@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, wait
getName
protected 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 ItemDefinition
ItemDefinition.getDeclaringNodeType()
public int getOnParentVersion()
getOnParentVersion
in interface ItemDefinition
ItemDefinition.getOnParentVersion()
public boolean isAutoCreated()
isAutoCreated
in interface ItemDefinition
ItemDefinition.isAutoCreated()
public boolean isMandatory()
isMandatory
in interface ItemDefinition
ItemDefinition.isMandatory()
public boolean isProtected()
isProtected
in interface ItemDefinition
ItemDefinition.isProtected()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.