|
ModeShape Distribution 3.0.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.web.jcr.rest.client.domain.ItemDefinition
@Immutable public abstract class ItemDefinition
An immutable representation of an abstract JCR ItemDefinition.
| Constructor Summary | |
|---|---|
protected |
ItemDefinition(String declaringNodeTypeName,
boolean isAutoCreated,
boolean isMandatory,
boolean isProtected,
int onParentVersion,
Map<String,NodeType> nodeTypes)
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jcr.nodetype.ItemDefinition |
|---|
getName |
| Constructor Detail |
|---|
protected ItemDefinition(String declaringNodeTypeName,
boolean isAutoCreated,
boolean isMandatory,
boolean isProtected,
int onParentVersion,
Map<String,NodeType> nodeTypes)
| Method Detail |
|---|
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.
protected Map<String,NodeType> nodeTypes()
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()
|
ModeShape Distribution 3.0.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||