Package org.apache.jackrabbit.spi
Interface PropertyInfo
-
- All Superinterfaces:
ItemInfo
- All Known Implementing Classes:
PropertyInfoImpl,PropertyInfoImpl,PropertyInfoImpl
public interface PropertyInfo extends ItemInfo
ThePropertyInfoprovides the basic information to build aProperty. The definition must be calculated from the parent node type or retrieved from the RepositoryService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertyIdgetId()intgetType()QValue[]getValues()booleanisMultiValued()-
Methods inherited from interface org.apache.jackrabbit.spi.ItemInfo
denotesNode, getPath
-
-
-
-
Method Detail
-
getId
PropertyId getId()
- Specified by:
getIdin interfaceItemInfo- 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
typeof thePropertybase on thisPropertyInfo. Note, thatPropertyType.UNDEFINEDwill never be returned as the value of aPropertyalways has a defined type. - See Also:
PropertyType
-
isMultiValued
boolean isMultiValued()
- Returns:
- true if the
Propertybased on this info object is multivalue. - See Also:
PropertyDefinition.isMultiple()
-
getValues
QValue[] getValues()
- Returns:
- The values present on this
PropertyInfo.
-
-