Class NodeTypeTemplateImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.nodetype.NodeTypeTemplateImpl
-
- All Implemented Interfaces:
NodeTypeDefinition
,NodeTypeTemplate
public class NodeTypeTemplateImpl extends Object implements NodeTypeTemplate
ANodeTypeTemplateImpl
...
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDefinition[]
getDeclaredChildNodeDefinitions()
PropertyDefinition[]
getDeclaredPropertyDefinitions()
String[]
getDeclaredSupertypeNames()
String
getName()
List
getNodeDefinitionTemplates()
String
getPrimaryItemName()
List
getPropertyDefinitionTemplates()
boolean
hasOrderableChildNodes()
boolean
isAbstract()
boolean
isMixin()
boolean
isQueryable()
void
setAbstract(boolean abstractStatus)
void
setDeclaredSuperTypeNames(String[] names)
void
setMixin(boolean mixin)
void
setName(String name)
void
setOrderableChildNodes(boolean orderable)
void
setPrimaryItemName(String name)
void
setQueryable(boolean queryable)
-
-
-
Method Detail
-
setName
public void setName(String name) throws ConstraintViolationException
- Specified by:
setName
in interfaceNodeTypeTemplate
- Throws:
ConstraintViolationException
-
setDeclaredSuperTypeNames
public void setDeclaredSuperTypeNames(String[] names) throws ConstraintViolationException
- Specified by:
setDeclaredSuperTypeNames
in interfaceNodeTypeTemplate
- Throws:
ConstraintViolationException
-
setAbstract
public void setAbstract(boolean abstractStatus)
- Specified by:
setAbstract
in interfaceNodeTypeTemplate
-
setMixin
public void setMixin(boolean mixin)
- Specified by:
setMixin
in interfaceNodeTypeTemplate
-
setOrderableChildNodes
public void setOrderableChildNodes(boolean orderable)
- Specified by:
setOrderableChildNodes
in interfaceNodeTypeTemplate
-
setPrimaryItemName
public void setPrimaryItemName(String name) throws ConstraintViolationException
- Specified by:
setPrimaryItemName
in interfaceNodeTypeTemplate
- Throws:
ConstraintViolationException
-
getPropertyDefinitionTemplates
public List getPropertyDefinitionTemplates()
- Specified by:
getPropertyDefinitionTemplates
in interfaceNodeTypeTemplate
-
getNodeDefinitionTemplates
public List getNodeDefinitionTemplates()
- Specified by:
getNodeDefinitionTemplates
in interfaceNodeTypeTemplate
-
setQueryable
public void setQueryable(boolean queryable)
- Specified by:
setQueryable
in interfaceNodeTypeTemplate
-
getName
public String getName()
- Specified by:
getName
in interfaceNodeTypeDefinition
-
getDeclaredSupertypeNames
public String[] getDeclaredSupertypeNames()
- Specified by:
getDeclaredSupertypeNames
in interfaceNodeTypeDefinition
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceNodeTypeDefinition
-
isMixin
public boolean isMixin()
- Specified by:
isMixin
in interfaceNodeTypeDefinition
-
isQueryable
public boolean isQueryable()
- Specified by:
isQueryable
in interfaceNodeTypeDefinition
-
hasOrderableChildNodes
public boolean hasOrderableChildNodes()
- Specified by:
hasOrderableChildNodes
in interfaceNodeTypeDefinition
-
getPrimaryItemName
public String getPrimaryItemName()
- Specified by:
getPrimaryItemName
in interfaceNodeTypeDefinition
-
getDeclaredPropertyDefinitions
public PropertyDefinition[] getDeclaredPropertyDefinitions()
- Specified by:
getDeclaredPropertyDefinitions
in interfaceNodeTypeDefinition
-
getDeclaredChildNodeDefinitions
public NodeDefinition[] getDeclaredChildNodeDefinitions()
- Specified by:
getDeclaredChildNodeDefinitions
in interfaceNodeTypeDefinition
-
-