@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.NodeTypeTemplate
public List<javax.jcr.nodetype.PropertyDefinitionTemplate> getPropertyDefinitionTemplates()
getPropertyDefinitionTemplates
in interface javax.jcr.nodetype.NodeTypeTemplate
public void setAbstract(boolean isAbstract)
setAbstract
in interface javax.jcr.nodetype.NodeTypeTemplate
public void setDeclaredSuperTypeNames(String[] names) throws javax.jcr.nodetype.ConstraintViolationException
setDeclaredSuperTypeNames
in interface javax.jcr.nodetype.NodeTypeTemplate
javax.jcr.nodetype.ConstraintViolationException
public void setMixin(boolean mixin)
setMixin
in interface javax.jcr.nodetype.NodeTypeTemplate
public void setName(String name) throws javax.jcr.nodetype.ConstraintViolationException
setName
in interface javax.jcr.nodetype.NodeTypeTemplate
javax.jcr.nodetype.ConstraintViolationException
public void setOrderableChildNodes(boolean orderable)
setOrderableChildNodes
in interface javax.jcr.nodetype.NodeTypeTemplate
public 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.NodeTypeTemplate
javax.jcr.nodetype.ConstraintViolationException
type.NodeTypeTemplate#setPrimaryItemName(java.lang.String)
public javax.jcr.nodetype.NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions
in interface javax.jcr.nodetype.NodeTypeDefinition
public javax.jcr.nodetype.PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions
in interface javax.jcr.nodetype.NodeTypeDefinition
public String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames
in interface javax.jcr.nodetype.NodeTypeDefinition
public String getName()
getName
in interface javax.jcr.nodetype.NodeTypeDefinition
public String getPrimaryItemName()
getPrimaryItemName
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean isAbstract()
isAbstract
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean isMixin()
isMixin
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean isQueryable()
isQueryable
in interface javax.jcr.nodetype.NodeTypeDefinition
public void setQueryable(boolean queryable)
setQueryable
in interface javax.jcr.nodetype.NodeTypeTemplate
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.