org.apache.jackrabbit.spi.commons.nodetype
Class NodeTypeTemplateImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.nodetype.NodeTypeTemplateImpl
All Implemented Interfaces:
NodeTypeDefinition, NodeTypeTemplate

public class NodeTypeTemplateImpl
extends Object
implements NodeTypeTemplate

A NodeTypeTemplateImpl ...


Method Summary
 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)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setName

public void setName(String name)
             throws ConstraintViolationException

Specified by:
setName in interface NodeTypeTemplate
Throws:
ConstraintViolationException

setDeclaredSuperTypeNames

public void setDeclaredSuperTypeNames(String[] names)
                               throws ConstraintViolationException

Specified by:
setDeclaredSuperTypeNames in interface NodeTypeTemplate
Throws:
ConstraintViolationException

setAbstract

public void setAbstract(boolean abstractStatus)

Specified by:
setAbstract in interface NodeTypeTemplate

setMixin

public void setMixin(boolean mixin)

Specified by:
setMixin in interface NodeTypeTemplate

setOrderableChildNodes

public void setOrderableChildNodes(boolean orderable)

Specified by:
setOrderableChildNodes in interface NodeTypeTemplate

setPrimaryItemName

public void setPrimaryItemName(String name)
                        throws ConstraintViolationException

Specified by:
setPrimaryItemName in interface NodeTypeTemplate
Throws:
ConstraintViolationException

getPropertyDefinitionTemplates

public List getPropertyDefinitionTemplates()

Specified by:
getPropertyDefinitionTemplates in interface NodeTypeTemplate

getNodeDefinitionTemplates

public List getNodeDefinitionTemplates()

Specified by:
getNodeDefinitionTemplates in interface NodeTypeTemplate

setQueryable

public void setQueryable(boolean queryable)

Specified by:
setQueryable in interface NodeTypeTemplate

getName

public String getName()

Specified by:
getName in interface NodeTypeDefinition

getDeclaredSupertypeNames

public String[] getDeclaredSupertypeNames()

Specified by:
getDeclaredSupertypeNames in interface NodeTypeDefinition

isAbstract

public boolean isAbstract()

Specified by:
isAbstract in interface NodeTypeDefinition

isMixin

public boolean isMixin()

Specified by:
isMixin in interface NodeTypeDefinition

isQueryable

public boolean isQueryable()
Specified by:
isQueryable in interface NodeTypeDefinition

hasOrderableChildNodes

public boolean hasOrderableChildNodes()

Specified by:
hasOrderableChildNodes in interface NodeTypeDefinition

getPrimaryItemName

public String getPrimaryItemName()

Specified by:
getPrimaryItemName in interface NodeTypeDefinition

getDeclaredPropertyDefinitions

public PropertyDefinition[] getDeclaredPropertyDefinitions()

Specified by:
getDeclaredPropertyDefinitions in interface NodeTypeDefinition

getDeclaredChildNodeDefinitions

public NodeDefinition[] getDeclaredChildNodeDefinitions()

Specified by:
getDeclaredChildNodeDefinitions in interface NodeTypeDefinition


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.