Class NodeTypeTemplateImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.nodetype.NodeTypeTemplateImpl
-
- All Implemented Interfaces:
NodeTypeDefinition,NodeTypeTemplate
public class NodeTypeTemplateImpl extends java.lang.Object implements NodeTypeTemplate
ANodeTypeTemplateImpl...
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDefinition[]getDeclaredChildNodeDefinitions()PropertyDefinition[]getDeclaredPropertyDefinitions()java.lang.String[]getDeclaredSupertypeNames()java.lang.StringgetName()java.util.ListgetNodeDefinitionTemplates()java.lang.StringgetPrimaryItemName()java.util.ListgetPropertyDefinitionTemplates()booleanhasOrderableChildNodes()booleanisAbstract()booleanisMixin()booleanisQueryable()voidsetAbstract(boolean abstractStatus)voidsetDeclaredSuperTypeNames(java.lang.String[] names)voidsetMixin(boolean mixin)voidsetName(java.lang.String name)voidsetOrderableChildNodes(boolean orderable)voidsetPrimaryItemName(java.lang.String name)voidsetQueryable(boolean queryable)
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name) throws ConstraintViolationException- Specified by:
setNamein interfaceNodeTypeTemplate- Throws:
ConstraintViolationException
-
setDeclaredSuperTypeNames
public void setDeclaredSuperTypeNames(java.lang.String[] names) throws ConstraintViolationException- Specified by:
setDeclaredSuperTypeNamesin interfaceNodeTypeTemplate- Throws:
ConstraintViolationException
-
setAbstract
public void setAbstract(boolean abstractStatus)
- Specified by:
setAbstractin interfaceNodeTypeTemplate
-
setMixin
public void setMixin(boolean mixin)
- Specified by:
setMixinin interfaceNodeTypeTemplate
-
setOrderableChildNodes
public void setOrderableChildNodes(boolean orderable)
- Specified by:
setOrderableChildNodesin interfaceNodeTypeTemplate
-
setPrimaryItemName
public void setPrimaryItemName(java.lang.String name) throws ConstraintViolationException- Specified by:
setPrimaryItemNamein interfaceNodeTypeTemplate- Throws:
ConstraintViolationException
-
getPropertyDefinitionTemplates
public java.util.List getPropertyDefinitionTemplates()
- Specified by:
getPropertyDefinitionTemplatesin interfaceNodeTypeTemplate
-
getNodeDefinitionTemplates
public java.util.List getNodeDefinitionTemplates()
- Specified by:
getNodeDefinitionTemplatesin interfaceNodeTypeTemplate
-
setQueryable
public void setQueryable(boolean queryable)
- Specified by:
setQueryablein interfaceNodeTypeTemplate
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceNodeTypeDefinition
-
getDeclaredSupertypeNames
public java.lang.String[] getDeclaredSupertypeNames()
- Specified by:
getDeclaredSupertypeNamesin interfaceNodeTypeDefinition
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceNodeTypeDefinition
-
isMixin
public boolean isMixin()
- Specified by:
isMixinin interfaceNodeTypeDefinition
-
isQueryable
public boolean isQueryable()
- Specified by:
isQueryablein interfaceNodeTypeDefinition
-
hasOrderableChildNodes
public boolean hasOrderableChildNodes()
- Specified by:
hasOrderableChildNodesin interfaceNodeTypeDefinition
-
getPrimaryItemName
public java.lang.String getPrimaryItemName()
- Specified by:
getPrimaryItemNamein interfaceNodeTypeDefinition
-
getDeclaredPropertyDefinitions
public PropertyDefinition[] getDeclaredPropertyDefinitions()
- Specified by:
getDeclaredPropertyDefinitionsin interfaceNodeTypeDefinition
-
getDeclaredChildNodeDefinitions
public NodeDefinition[] getDeclaredChildNodeDefinitions()
- Specified by:
getDeclaredChildNodeDefinitionsin interfaceNodeTypeDefinition
-
-