Package org.apache.jackrabbit.spi
Interface PropertyInfo
-
- All Superinterfaces:
ItemInfo
- All Known Implementing Classes:
PropertyInfoImpl
,PropertyInfoImpl
,PropertyInfoImpl
public interface PropertyInfo extends ItemInfo
ThePropertyInfo
provides 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 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 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
type
of theProperty
base on thisPropertyInfo
. Note, thatPropertyType.UNDEFINED
will never be returned as the value of aProperty
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
.
-
-