org.apache.jackrabbit.core.nodetype
Interface PropDef

All Superinterfaces:
ItemDef
All Known Implementing Classes:
PropDefImpl

public interface PropDef
extends ItemDef

PropDef is the internal representation of a property definition. It refers to QNames only and is thus isolated from session-specific namespace mappings.

See Also:
PropertyDefinition

Field Summary
static PropDef[] EMPTY_ARRAY
           
 
Fields inherited from interface org.apache.jackrabbit.core.nodetype.ItemDef
ANY_NAME
 
Method Summary
 InternalValue[] getDefaultValues()
          Returns the array of default values.
 PropDefId getId()
          Returns an identifier for this property definition.
 int getRequiredType()
          Returns the required type.
 ValueConstraint[] getValueConstraints()
          Returns the array of value constraints.
 boolean isMultiple()
          Reports whether this property can have multiple values.
 
Methods inherited from interface org.apache.jackrabbit.core.nodetype.ItemDef
definesNode, definesResidual, getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
 

Field Detail

EMPTY_ARRAY

public static final PropDef[] EMPTY_ARRAY
Method Detail

getId

public PropDefId getId()
Returns an identifier for this property definition.

Returns:
an identifier for this property definition.

getRequiredType

public int getRequiredType()
Returns the required type.

Returns:
the required type.

getValueConstraints

public ValueConstraint[] getValueConstraints()
Returns the array of value constraints.

Returns:
the array of value constraints.

getDefaultValues

public InternalValue[] getDefaultValues()
Returns the array of default values.

Returns:
the array of default values.

isMultiple

public boolean isMultiple()
Reports whether this property can have multiple values.

Returns:
the 'multiple' flag.


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