org.priha.nodetype
Class QPropertyDefinition.Impl

java.lang.Object
  extended by org.priha.nodetype.QItemDefinition.Impl
      extended by org.priha.nodetype.QPropertyDefinition.Impl
All Implemented Interfaces:
javax.jcr.nodetype.ItemDefinition, javax.jcr.nodetype.PropertyDefinition
Enclosing class:
QPropertyDefinition

public class QPropertyDefinition.Impl
extends QItemDefinition.Impl
implements javax.jcr.nodetype.PropertyDefinition

Implements the PropertyDefinition with its Session-specific thingies.


Constructor Summary
QPropertyDefinition.Impl(SessionImpl ns)
           
 
Method Summary
 javax.jcr.Value[] getDefaultValues()
           
 QPropertyDefinition getQPropertyDefinition()
           
 int getRequiredType()
           
 java.lang.String[] getValueConstraints()
           
 boolean isMultiple()
           
 java.lang.String toString()
          Returns a human-readable description string.
 
Methods inherited from class org.priha.nodetype.QItemDefinition.Impl
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jcr.nodetype.ItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
 

Constructor Detail

QPropertyDefinition.Impl

public QPropertyDefinition.Impl(SessionImpl ns)
Method Detail

getDefaultValues

public javax.jcr.Value[] getDefaultValues()
Specified by:
getDefaultValues in interface javax.jcr.nodetype.PropertyDefinition

getRequiredType

public int getRequiredType()
Specified by:
getRequiredType in interface javax.jcr.nodetype.PropertyDefinition

getValueConstraints

public java.lang.String[] getValueConstraints()
Specified by:
getValueConstraints in interface javax.jcr.nodetype.PropertyDefinition

isMultiple

public boolean isMultiple()
Specified by:
isMultiple in interface javax.jcr.nodetype.PropertyDefinition

toString

public java.lang.String toString()
Returns a human-readable description string. Useful only for debugging purposes.

Overrides:
toString in class java.lang.Object

getQPropertyDefinition

public QPropertyDefinition getQPropertyDefinition()