|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.JcrNodeTypeTemplate
@NotThreadSafe public class JcrNodeTypeTemplate
ModeShape implementation of the JCR NodeTypeTemplate interface
Method Summary | |
---|---|
NodeDefinition[] |
getDeclaredChildNodeDefinitions()
|
PropertyDefinition[] |
getDeclaredPropertyDefinitions()
|
String[] |
getDeclaredSupertypeNames()
Get the direct supertypes for this node type. |
String |
getName()
|
List<NodeDefinitionTemplate> |
getNodeDefinitionTemplates()
|
String |
getPrimaryItemName()
|
List<PropertyDefinitionTemplate> |
getPropertyDefinitionTemplates()
|
boolean |
hasOrderableChildNodes()
|
boolean |
isAbstract()
|
boolean |
isMixin()
|
boolean |
isQueryable()
Get whether this node is queryable |
void |
setAbstract(boolean isAbstract)
|
void |
setDeclaredSuperTypeNames(String[] names)
Set the direct supertypes for this node type. |
void |
setMixin(boolean mixin)
|
void |
setName(String name)
|
void |
setOrderableChildNodes(boolean orderable)
|
void |
setPrimaryItemName(String name)
Passing a null or blank name is equivalent to "unsetting" (or removing) the primary item name. |
void |
setQueryable(boolean queryable)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public List<NodeDefinitionTemplate> getNodeDefinitionTemplates()
getNodeDefinitionTemplates
in interface NodeTypeTemplate
NodeTypeTemplate.getNodeDefinitionTemplates()
public List<PropertyDefinitionTemplate> getPropertyDefinitionTemplates()
getPropertyDefinitionTemplates
in interface NodeTypeTemplate
NodeTypeTemplate.getPropertyDefinitionTemplates()
public void setAbstract(boolean isAbstract)
setAbstract
in interface NodeTypeTemplate
NodeTypeTemplate.setAbstract(boolean)
public void setDeclaredSuperTypeNames(String[] names) throws ConstraintViolationException
setDeclaredSuperTypeNames
in interface NodeTypeTemplate
names
- the names of the direct supertypes, or empty or null if there are none.
ConstraintViolationException
public void setMixin(boolean mixin)
setMixin
in interface NodeTypeTemplate
NodeTypeTemplate.setMixin(boolean)
public void setName(String name) throws ConstraintViolationException
setName
in interface NodeTypeTemplate
ConstraintViolationException
NodeTypeTemplate.setName(java.lang.String)
public void setOrderableChildNodes(boolean orderable)
setOrderableChildNodes
in interface NodeTypeTemplate
NodeTypeTemplate.setOrderableChildNodes(boolean)
public void setPrimaryItemName(String name) throws ConstraintViolationException
Passing a null or blank name is equivalent to "unsetting" (or removing) the primary item name.
setPrimaryItemName
in interface NodeTypeTemplate
ConstraintViolationException
type.NodeTypeTemplate#setPrimaryItemName(java.lang.String)
public NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions
in interface NodeTypeDefinition
NodeTypeDefinition.getDeclaredChildNodeDefinitions()
public PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions
in interface NodeTypeDefinition
NodeTypeDefinition.getDeclaredPropertyDefinitions()
public String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames
in interface NodeTypeDefinition
public String getName()
getName
in interface NodeTypeDefinition
NodeTypeDefinition.getName()
public String getPrimaryItemName()
getPrimaryItemName
in interface NodeTypeDefinition
NodeTypeDefinition.getPrimaryItemName()
public boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface NodeTypeDefinition
NodeTypeDefinition.hasOrderableChildNodes()
public boolean isAbstract()
isAbstract
in interface NodeTypeDefinition
NodeTypeDefinition.isAbstract()
public boolean isMixin()
isMixin
in interface NodeTypeDefinition
NodeTypeDefinition.isMixin()
public boolean isQueryable()
isQueryable
in interface NodeTypeDefinition
public void setQueryable(boolean queryable)
setQueryable
in interface NodeTypeTemplate
NodeTypeTemplate.setQueryable(boolean)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |