org.apache.jackrabbit.base.nodetype
Class BaseNodeDefinition

java.lang.Object
  extended byorg.apache.jackrabbit.base.nodetype.BaseItemDefinition
      extended byorg.apache.jackrabbit.base.nodetype.BaseNodeDefinition
All Implemented Interfaces:
ItemDefinition, NodeDefinition

public class BaseNodeDefinition
extends BaseItemDefinition
implements NodeDefinition

Node definition base class.


Constructor Summary
protected BaseNodeDefinition()
          Protected constructor.
 
Method Summary
 boolean allowsSameNameSiblings()
          Always returns false.
 NodeType getDefaultPrimaryType()
          Not implemented.
 NodeType[] getRequiredPrimaryTypes()
          Always returns an empty node type array.
 
Methods inherited from class org.apache.jackrabbit.base.nodetype.BaseItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.nodetype.ItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
 

Constructor Detail

BaseNodeDefinition

protected BaseNodeDefinition()
Protected constructor. This class is only useful when extended.

Method Detail

getRequiredPrimaryTypes

public NodeType[] getRequiredPrimaryTypes()
Always returns an empty node type array.

Specified by:
getRequiredPrimaryTypes in interface NodeDefinition

getDefaultPrimaryType

public NodeType getDefaultPrimaryType()
Not implemented.

Specified by:
getDefaultPrimaryType in interface NodeDefinition

allowsSameNameSiblings

public boolean allowsSameNameSiblings()
Always returns false.

Specified by:
allowsSameNameSiblings in interface NodeDefinition


Copyright © 2004-2005 . All Rights Reserved.