@NotThreadSafe public class JcrNodeTypeTemplate extends Object implements NodeTypeTemplate
| Modifier and Type | Method and Description |
|---|---|
NodeDefinition[] |
getDeclaredChildNodeDefinitions() |
PropertyDefinition[] |
getDeclaredPropertyDefinitions() |
String[] |
getDeclaredSupertypeNames() |
String |
getName() |
List<NodeDefinitionTemplate> |
getNodeDefinitionTemplates() |
String |
getPrimaryItemName() |
List<PropertyDefinitionTemplate> |
getPropertyDefinitionTemplates() |
boolean |
hasOrderableChildNodes() |
boolean |
isAbstract() |
boolean |
isMixin() |
boolean |
isQueryable() |
void |
setAbstract(boolean isAbstract) |
void |
setDeclaredSuperTypeNames(String[] names) |
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() |
public List<NodeDefinitionTemplate> getNodeDefinitionTemplates()
getNodeDefinitionTemplates in interface NodeTypeTemplatepublic List<PropertyDefinitionTemplate> getPropertyDefinitionTemplates()
getPropertyDefinitionTemplates in interface NodeTypeTemplatepublic void setAbstract(boolean isAbstract)
setAbstract in interface NodeTypeTemplatepublic void setDeclaredSuperTypeNames(String[] names) throws ConstraintViolationException
setDeclaredSuperTypeNames in interface NodeTypeTemplateConstraintViolationExceptionpublic void setMixin(boolean mixin)
setMixin in interface NodeTypeTemplatepublic void setName(String name) throws ConstraintViolationException
setName in interface NodeTypeTemplateConstraintViolationExceptionpublic void setOrderableChildNodes(boolean orderable)
setOrderableChildNodes in interface NodeTypeTemplatepublic 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 NodeTypeDefinitionpublic PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface NodeTypeDefinitionpublic String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames in interface NodeTypeDefinitionpublic String getName()
getName in interface NodeTypeDefinitionpublic String getPrimaryItemName()
getPrimaryItemName in interface NodeTypeDefinitionpublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface NodeTypeDefinitionpublic boolean isAbstract()
isAbstract in interface NodeTypeDefinitionpublic boolean isMixin()
isMixin in interface NodeTypeDefinitionpublic boolean isQueryable()
isQueryable in interface NodeTypeDefinitionpublic void setQueryable(boolean queryable)
setQueryable in interface NodeTypeTemplateCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.