|
||||||||||
| 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 | |
|---|---|
javax.jcr.nodetype.NodeDefinition[] |
getDeclaredNodeDefinitions()
Get the array of child node definition templates for this node type |
javax.jcr.nodetype.PropertyDefinition[] |
getDeclaredPropertyDefinitions()
Get the array of property definition templates for this node type. |
String[] |
getDeclaredSupertypes()
Get the direct supertypes for this node type. |
String |
getName()
Get the name of the node type being defined |
List<NodeDefinitionTemplate> |
getNodeDefinitionTemplates()
Get the modifiable list of child node definition templates for this node type |
String |
getPrimaryItemName()
Get the name of the primary item for this node type |
List<PropertyDefinitionTemplate> |
getPropertyDefinitionTemplates()
Get the modifiable list of property definition templates for this node type. |
boolean |
hasOrderableChildNodes()
Get whether this node type supports orderable child nodes. |
boolean |
isAbstract()
Get whether this node type is abstract. |
boolean |
isMixin()
Get whether this node type is a mixin. |
void |
setAbstract(boolean isAbstract)
Set whether this node type is abstract. |
void |
setDeclaredSupertypeNames(String[] names)
Set the direct supertypes for this node type. |
void |
setMixin(boolean mixin)
Set whether this node type is a mixin. |
void |
setName(String name)
Set the name of the node type |
void |
setOrderableChildNodes(boolean orderable)
Set whether this node type supports orderable child nodes. |
void |
setPrimaryItemName(String name)
Set the name of the primary item for this node type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 NodeTypeTemplateisAbstract - true if this node type is to be abstract, or false if it is concreteNodeTypeTemplate.setAbstract(boolean)public void setDeclaredSupertypeNames(String[] names)
setDeclaredSupertypeNames in interface NodeTypeTemplatenames - the names of the direct supertypes, or empty or null if there are none.NodeTypeTemplate.setDeclaredSupertypeNames(java.lang.String[])public void setMixin(boolean mixin)
setMixin in interface NodeTypeTemplatemixin - true if this node type is a mixin, or false otherwiseNodeTypeTemplate.setMixin(boolean)public void setName(String name)
setName in interface NodeTypeTemplatename - the nameNodeTypeTemplate.setName(java.lang.String)public void setOrderableChildNodes(boolean orderable)
setOrderableChildNodes in interface NodeTypeTemplateorderable - true if this node type supports orderable child nodes, or false otherwiseNodeTypeTemplate.setOrderableChildNodes(boolean)public void setPrimaryItemName(String name)
setPrimaryItemName in interface NodeTypeTemplatename - the name of the child node or property that represents the primary item for nodes that use this type, or null
if there is nonetype.NodeTypeTemplate#setPrimaryItemName(java.lang.String)public javax.jcr.nodetype.NodeDefinition[] getDeclaredNodeDefinitions()
getDeclaredNodeDefinitions in interface NodeTypeDefinitionNodeTypeDefinition.getDeclaredNodeDefinitions()public javax.jcr.nodetype.PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface NodeTypeDefinitionNodeTypeDefinition.getDeclaredPropertyDefinitions()public String[] getDeclaredSupertypes()
getDeclaredSupertypes in interface NodeTypeDefinitionNodeTypeDefinition.getDeclaredSupertypes()public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||