org.apache.jackrabbit.spi2davex
Class PropertyInfoImpl
java.lang.Object
org.apache.jackrabbit.spi2davex.ItemInfoImpl
org.apache.jackrabbit.spi2davex.PropertyInfoImpl
- All Implemented Interfaces:
- Serializable, ItemInfo, PropertyInfo
public class PropertyInfoImpl
- extends ItemInfoImpl
- implements PropertyInfo
PropertyInfoImpl
...
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyInfoImpl
public PropertyInfoImpl(PropertyId id,
Path path,
int propertyType,
QValue singleValue)
throws RepositoryException
- Throws:
RepositoryException
PropertyInfoImpl
public PropertyInfoImpl(PropertyId id,
Path path,
int propertyType)
throws RepositoryException
- Throws:
RepositoryException
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
.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.