public class PropertyInfoImpl extends ItemInfoImpl implements org.apache.jackrabbit.spi.PropertyInfo
PropertyInfoImpl implements a serializable
PropertyInfo based on another property info.| Constructor and Description |
|---|
PropertyInfoImpl(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.PropertyId id,
int type,
boolean isMultiValued,
org.apache.jackrabbit.spi.QValue[] values)
Deprecated.
Use
PropertyInfoImpl(Path, PropertyId, int, boolean, QValue[])
instead. The parentId is not used any more. |
PropertyInfoImpl(org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.PropertyId id,
int type,
boolean isMultiValued,
org.apache.jackrabbit.spi.QValue[] values)
Creates a new property info for the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jackrabbit.spi.PropertyInfo |
createSerializablePropertyInfo(org.apache.jackrabbit.spi.PropertyInfo propertyInfo,
org.apache.jackrabbit.spi.IdFactory idFactory)
Creates a new serializable property info for the given
PropertyInfo. |
org.apache.jackrabbit.spi.PropertyId |
getId() |
int |
getType() |
org.apache.jackrabbit.spi.QValue[] |
getValues() |
boolean |
isMultiValued() |
denotesNode, getPathpublic PropertyInfoImpl(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.PropertyId id,
int type,
boolean isMultiValued,
org.apache.jackrabbit.spi.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(org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.PropertyId id,
int type,
boolean isMultiValued,
org.apache.jackrabbit.spi.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.public static org.apache.jackrabbit.spi.PropertyInfo createSerializablePropertyInfo(org.apache.jackrabbit.spi.PropertyInfo propertyInfo,
org.apache.jackrabbit.spi.IdFactory idFactory)
PropertyInfo.propertyInfo - public org.apache.jackrabbit.spi.PropertyId getId()
getId in interface org.apache.jackrabbit.spi.ItemInfogetId in interface org.apache.jackrabbit.spi.PropertyInfopublic int getType()
getType in interface org.apache.jackrabbit.spi.PropertyInfopublic boolean isMultiValued()
isMultiValued in interface org.apache.jackrabbit.spi.PropertyInfopublic org.apache.jackrabbit.spi.QValue[] getValues()
getValues in interface org.apache.jackrabbit.spi.PropertyInfoCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.