|
||||||||||
| 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 NodeTypeTemplateNodeTypeTemplate.getNodeDefinitionTemplates()public List<PropertyDefinitionTemplate> getPropertyDefinitionTemplates()
getPropertyDefinitionTemplates in interface NodeTypeTemplateNodeTypeTemplate.getPropertyDefinitionTemplates()public void setAbstract(boolean isAbstract)
setAbstract in interface NodeTypeTemplateNodeTypeTemplate.setAbstract(boolean)
public void setDeclaredSuperTypeNames(String[] names)
throws ConstraintViolationException
setDeclaredSuperTypeNames in interface NodeTypeTemplatenames - the names of the direct supertypes, or empty or null if there are none.
ConstraintViolationExceptionpublic void setMixin(boolean mixin)
setMixin in interface NodeTypeTemplateNodeTypeTemplate.setMixin(boolean)
public void setName(String name)
throws ConstraintViolationException
setName in interface NodeTypeTemplateConstraintViolationExceptionNodeTypeTemplate.setName(java.lang.String)public void setOrderableChildNodes(boolean orderable)
setOrderableChildNodes in interface NodeTypeTemplateNodeTypeTemplate.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 NodeTypeTemplateConstraintViolationExceptiontype.NodeTypeTemplate#setPrimaryItemName(java.lang.String)public NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions in interface NodeTypeDefinitionNodeTypeDefinition.getDeclaredChildNodeDefinitions()public PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface NodeTypeDefinitionNodeTypeDefinition.getDeclaredPropertyDefinitions()public String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames in interface NodeTypeDefinitionpublic String getName()
getName in interface NodeTypeDefinitionNodeTypeDefinition.getName()public String getPrimaryItemName()
getPrimaryItemName in interface NodeTypeDefinitionNodeTypeDefinition.getPrimaryItemName()public boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface NodeTypeDefinitionNodeTypeDefinition.hasOrderableChildNodes()public boolean isAbstract()
isAbstract in interface NodeTypeDefinitionNodeTypeDefinition.isAbstract()public boolean isMixin()
isMixin in interface NodeTypeDefinitionNodeTypeDefinition.isMixin()public boolean isQueryable()
isQueryable in interface NodeTypeDefinitionpublic void setQueryable(boolean queryable)
setQueryable in interface NodeTypeTemplateNodeTypeTemplate.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 | |||||||||