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, getPathequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdenotesNode, getPathpublic 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 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.Copyright © 2010 - 2023 Adobe. All Rights Reserved