public class PropertyInfoImpl extends ItemInfoImpl implements PropertyInfo
PropertyInfoImpl
implements a serializable
PropertyInfo
based on another property info.Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
denotesNode, getPath
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
denotesNode, getPath
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.public static PropertyInfo createSerializablePropertyInfo(PropertyInfo propertyInfo, IdFactory idFactory)
PropertyInfo
.propertyInfo
- public PropertyId getId()
getId
in interface ItemInfo
getId
in interface PropertyInfo
RepositoryService.getNodeInfo(SessionInfo, NodeId)
public int getType()
getType
in interface PropertyInfo
type
of the Property
base on this PropertyInfo
. Note, that
javax.jcr.PropertyType#UNDEFINED
will never be returned as the
value of a Property
always has a defined type.javax.jcr.PropertyType
public boolean isMultiValued()
isMultiValued
in interface PropertyInfo
Property
based on this info object is
multivalue.javax.jcr.nodetype.PropertyDefinition#isMultiple()
public QValue[] getValues()
getValues
in interface PropertyInfo
PropertyInfo
."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"