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