|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.ItemInfoImpl
org.apache.jackrabbit.spi.commons.PropertyInfoImpl
public class PropertyInfoImpl
PropertyInfoImpl implements a serializable
PropertyInfo based on another property info.
| Constructor Summary | |
|---|---|
PropertyInfoImpl(NodeId parentId,
Name name,
Path path,
PropertyId id,
int type,
boolean isMultiValued,
QValue[] values)
Deprecated. Use PropertyInfoImpl(Path, PropertyId, int, boolean, QValue[])
instead. The parentId is not used any more. |
|
PropertyInfoImpl(Path path,
PropertyId id,
int type,
boolean isMultiValued,
QValue[] values)
Creates a new property info for the given parameters. |
|
| Method Summary | |
|---|---|
static PropertyInfo |
createSerializablePropertyInfo(PropertyInfo propertyInfo,
IdFactory idFactory)
Creates a new serializable property info for the given PropertyInfo. |
PropertyId |
getId()
|
int |
getType()
|
QValue[] |
getValues()
|
boolean |
isMultiValued()
|
| Methods inherited from class org.apache.jackrabbit.spi.commons.ItemInfoImpl |
|---|
denotesNode, getPath |
| 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 |
|---|
denotesNode, getPath |
| Constructor Detail |
|---|
public PropertyInfoImpl(NodeId parentId,
Name name,
Path path,
PropertyId id,
int type,
boolean isMultiValued,
QValue[] values)
PropertyInfoImpl(Path, PropertyId, int, boolean, QValue[])
instead. The parentId is not used any more.
parentId - the parent id.name - the name of this property.path - the path to this property.id - the id of this property.type - the type of this property.isMultiValued - whether this property is multi-valued.values - the values.
public PropertyInfoImpl(Path path,
PropertyId id,
int type,
boolean isMultiValued,
QValue[] values)
path - the path to this property.id - the id of this property.type - the type of this property.isMultiValued - whether this property is multi-valued.values - the values.| Method Detail |
|---|
public static PropertyInfo createSerializablePropertyInfo(PropertyInfo propertyInfo,
IdFactory idFactory)
PropertyInfo.
propertyInfo - public PropertyId getId()
getId in interface ItemInfogetId in interface PropertyInfoRepositoryService.getNodeInfo(SessionInfo, NodeId)public int getType()
getType in interface PropertyInfotype 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.PropertyTypepublic boolean isMultiValued()
isMultiValued in interface PropertyInfoProperty based on this info object is
multivalue.PropertyDefinition.isMultiple()public QValue[] getValues()
getValues in interface PropertyInfoPropertyInfo.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||