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...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jackrabbit.spi.ItemInfo |
getPath |
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,
DavException,
IOException,
NameException
- Throws:
RepositoryException
DavException
IOException
NameException
denotesNode
public boolean denotesNode()
- Description copied from interface:
ItemInfo
- Returns true if this
ItemInfo denotes a node, false otherwise.
- Specified by:
denotesNode in interface ItemInfo
- Returns:
- true if this
ItemInfo denotes a node, false otherwise.
getId
public PropertyId getId()
- Specified by:
getId in interface PropertyInfo
- 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:
getType in interface PropertyInfo
- 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
public boolean isMultiValued()
- Specified by:
isMultiValued in interface PropertyInfo
- Returns:
- true if the
Property based on this info object is
multivalue. - See Also:
PropertyDefinition.isMultiple()
getValues
public QValue[] getValues()
- Specified by:
getValues in interface PropertyInfo
- Returns:
- The values present on this
PropertyInfo.
getPath
public Path getPath()
- Description copied from interface:
ItemInfo
- Returns the
Path of the item represented by this
ItemInfo.
- Specified by:
getPath in interface ItemInfo
- Returns:
- the
Path of the item represented by this
item info. - See Also:
ItemInfo.getPath()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.