org.apache.jackrabbit.base.nodetype
Class BasePropertyDefinition

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

public class BasePropertyDefinition
extends BaseItemDefinition
implements PropertyDefinition

Property definition base class.


Constructor Summary
protected BasePropertyDefinition()
          Protected constructor.
 
Method Summary
 Value[] getDefaultValues()
          Always returns null.
 int getRequiredType()
          Always returns PropertyType.UNDEFINED.
 String[] getValueConstraints()
          Always returns null.
 boolean isMultiple()
          Always returns false.
 
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

BasePropertyDefinition

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

Method Detail

getRequiredType

public int getRequiredType()
Always returns PropertyType.UNDEFINED.

Specified by:
getRequiredType in interface PropertyDefinition

getValueConstraints

public String[] getValueConstraints()
Always returns null.

Specified by:
getValueConstraints in interface PropertyDefinition

getDefaultValues

public Value[] getDefaultValues()
Always returns null.

Specified by:
getDefaultValues in interface PropertyDefinition

isMultiple

public boolean isMultiple()
Always returns false.

Specified by:
isMultiple in interface PropertyDefinition


Copyright © 2004-2005 . All Rights Reserved.