@NotThreadSafe public class JcrNodeTypeTemplate extends Object implements javax.jcr.nodetype.NodeTypeTemplate
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.nodetype.NodeDefinition[] |
getDeclaredChildNodeDefinitions() |
javax.jcr.nodetype.PropertyDefinition[] |
getDeclaredPropertyDefinitions() |
String[] |
getDeclaredSupertypeNames() |
String |
getName() |
List<javax.jcr.nodetype.NodeDefinitionTemplate> |
getNodeDefinitionTemplates() |
String |
getPrimaryItemName() |
List<javax.jcr.nodetype.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<javax.jcr.nodetype.NodeDefinitionTemplate> getNodeDefinitionTemplates()
getNodeDefinitionTemplates in interface javax.jcr.nodetype.NodeTypeTemplatepublic List<javax.jcr.nodetype.PropertyDefinitionTemplate> getPropertyDefinitionTemplates()
getPropertyDefinitionTemplates in interface javax.jcr.nodetype.NodeTypeTemplatepublic void setAbstract(boolean isAbstract)
setAbstract in interface javax.jcr.nodetype.NodeTypeTemplatepublic void setDeclaredSuperTypeNames(String[] names) throws javax.jcr.nodetype.ConstraintViolationException
setDeclaredSuperTypeNames in interface javax.jcr.nodetype.NodeTypeTemplatejavax.jcr.nodetype.ConstraintViolationExceptionpublic void setMixin(boolean mixin)
setMixin in interface javax.jcr.nodetype.NodeTypeTemplatepublic void setName(String name) throws javax.jcr.nodetype.ConstraintViolationException
setName in interface javax.jcr.nodetype.NodeTypeTemplatejavax.jcr.nodetype.ConstraintViolationExceptionpublic void setOrderableChildNodes(boolean orderable)
setOrderableChildNodes in interface javax.jcr.nodetype.NodeTypeTemplatepublic void setPrimaryItemName(String name) throws javax.jcr.nodetype.ConstraintViolationException
Passing a null or blank name is equivalent to "unsetting" (or removing) the primary item name.
setPrimaryItemName in interface javax.jcr.nodetype.NodeTypeTemplatejavax.jcr.nodetype.ConstraintViolationExceptiontype.NodeTypeTemplate#setPrimaryItemName(java.lang.String)public javax.jcr.nodetype.NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions in interface javax.jcr.nodetype.NodeTypeDefinitionpublic javax.jcr.nodetype.PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface javax.jcr.nodetype.NodeTypeDefinitionpublic String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames in interface javax.jcr.nodetype.NodeTypeDefinitionpublic String getName()
getName in interface javax.jcr.nodetype.NodeTypeDefinitionpublic String getPrimaryItemName()
getPrimaryItemName in interface javax.jcr.nodetype.NodeTypeDefinitionpublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface javax.jcr.nodetype.NodeTypeDefinitionpublic boolean isAbstract()
isAbstract in interface javax.jcr.nodetype.NodeTypeDefinitionpublic boolean isMixin()
isMixin in interface javax.jcr.nodetype.NodeTypeDefinitionpublic boolean isQueryable()
isQueryable in interface javax.jcr.nodetype.NodeTypeDefinitionpublic void setQueryable(boolean queryable)
setQueryable in interface javax.jcr.nodetype.NodeTypeTemplateCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.