|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
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
org.modeshape.web.jcr.rest.client.domain.ChildNodeDefinition
@Immutable public class ChildNodeDefinition
An immutable representation of a JCR PropertyDefinition.
Nested Class Summary | |
---|---|
protected static class |
ChildNodeDefinition.Id
|
Constructor Summary | |
---|---|
ChildNodeDefinition(String declaringNodeTypeName,
String name,
Set<String> requiredTypes,
boolean isAutoCreated,
boolean isMandatory,
boolean isProtected,
boolean allowsSameNameSiblings,
int onParentVersion,
String defaultPrimaryTypeName,
Map<String,NodeType> nodeTypes)
|
Method Summary | |
---|---|
boolean |
allowsSameNameSiblings()
|
boolean |
equals(Object obj)
|
NodeType |
getDefaultPrimaryType()
|
String |
getDefaultPrimaryTypeName()
|
String |
getName()
|
String[] |
getRequiredPrimaryTypeNames()
|
NodeType[] |
getRequiredPrimaryTypes()
|
int |
hashCode()
|
protected ChildNodeDefinition.Id |
id()
|
String |
toString()
|
Methods inherited from class org.modeshape.web.jcr.rest.client.domain.ItemDefinition |
---|
getDeclaringNodeType, getDeclaringNodeTypeName, getOnParentVersion, isAutoCreated, isMandatory, isProtected, nodeType, nodeTypes, nodeTypes, toArray |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jcr.nodetype.ItemDefinition |
---|
getDeclaringNodeType, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
Constructor Detail |
---|
public ChildNodeDefinition(String declaringNodeTypeName, String name, Set<String> requiredTypes, boolean isAutoCreated, boolean isMandatory, boolean isProtected, boolean allowsSameNameSiblings, int onParentVersion, String defaultPrimaryTypeName, Map<String,NodeType> nodeTypes)
Method Detail |
---|
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()
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |