org.apache.jackrabbit.spi
Interface PropertyInfo

All Superinterfaces:
ItemInfo
All Known Implementing Classes:
PropertyInfoImpl, PropertyInfoImpl, PropertyInfoImpl

public interface PropertyInfo
extends ItemInfo

The PropertyInfo provides the basic information to build a Property. The definition must be calculated from the parent node type or retrieved from the RepositoryService.


Method Summary
 PropertyId getId()
           
 int getType()
           
 QValue[] getValues()
           
 boolean isMultiValued()
           
 
Methods inherited from interface org.apache.jackrabbit.spi.ItemInfo
denotesNode, getPath
 

Method Detail

getId

PropertyId getId()
Specified by:
getId in interface ItemInfo
Returns:
identifier for the item that is based on this info object. the id can either be an absolute path or a uniqueID (+ relative path).
See Also:
RepositoryService.getNodeInfo(SessionInfo, NodeId)

getType

int getType()
Returns:
The type of the Property base on this PropertyInfo. Note, that PropertyType.UNDEFINED will never be returned as the value of a Property always has a defined type.
See Also:
PropertyType

isMultiValued

boolean isMultiValued()
Returns:
true if the Property based on this info object is multivalue.
See Also:
PropertyDefinition.isMultiple()

getValues

QValue[] getValues()
Returns:
The values present on this PropertyInfo.


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