Package org.apache.jackrabbit.spi2dav
Class PropertyInfoImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi2dav.PropertyInfoImpl
-
- All Implemented Interfaces:
ItemInfo,PropertyInfo
public class PropertyInfoImpl extends Object implements PropertyInfo
PropertyInfoImpl...
-
-
Constructor Summary
Constructors Constructor Description PropertyInfoImpl(PropertyId id, Path path, int type, boolean isMultiValued, QValue[] values)PropertyInfoImpl(PropertyId id, DavPropertySet propSet, NamePathResolver resolver, ValueFactory valueFactory, QValueFactory qValueFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandenotesNode()Returns true if thisItemInfodenotes a node, false otherwise.PropertyIdgetId()PathgetPath()Returns thePathof the item represented by thisItemInfo.intgetType()QValue[]getValues()booleanisMultiValued()
-
-
-
Constructor Detail
-
PropertyInfoImpl
public PropertyInfoImpl(PropertyId id, Path path, int type, boolean isMultiValued, QValue[] values)
-
PropertyInfoImpl
public PropertyInfoImpl(PropertyId id, DavPropertySet propSet, NamePathResolver resolver, ValueFactory valueFactory, QValueFactory qValueFactory) throws RepositoryException, IOException, NameException
-
-
Method Detail
-
denotesNode
public boolean denotesNode()
Description copied from interface:ItemInfoReturns true if thisItemInfodenotes a node, false otherwise.- Specified by:
denotesNodein interfaceItemInfo- Returns:
- true if this
ItemInfodenotes a node, false otherwise.
-
getId
public PropertyId getId()
- Specified by:
getIdin interfaceItemInfo- Specified by:
getIdin interfacePropertyInfo- 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
public int getType()
- Specified by:
getTypein interfacePropertyInfo- 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
public boolean isMultiValued()
- Specified by:
isMultiValuedin interfacePropertyInfo- Returns:
- true if the
Propertybased on this info object is multivalue. - See Also:
PropertyDefinition.isMultiple()
-
getValues
public QValue[] getValues()
- Specified by:
getValuesin interfacePropertyInfo- Returns:
- The values present on this
PropertyInfo.
-
getPath
public Path getPath()
Description copied from interface:ItemInfoReturns thePathof the item represented by thisItemInfo.- Specified by:
getPathin interfaceItemInfo- Returns:
- the
Pathof the item represented by this item info. - See Also:
ItemInfo.getPath()
-
-