public class PropertyInfoImpl extends Object implements PropertyInfo
PropertyInfoImpl...| Constructor and Description |
|---|
PropertyInfoImpl(PropertyId id,
DavPropertySet propSet,
NamePathResolver resolver,
ValueFactory valueFactory,
QValueFactory qValueFactory) |
PropertyInfoImpl(PropertyId id,
Path path,
int type,
boolean isMultiValued,
QValue[] values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
denotesNode()
Returns true if this
ItemInfo denotes a node, false otherwise. |
PropertyId |
getId() |
Path |
getPath()
Returns the
Path of the item represented by this
ItemInfo. |
int |
getType() |
QValue[] |
getValues() |
boolean |
isMultiValued() |
public PropertyInfoImpl(PropertyId id, Path path, int type, boolean isMultiValued, QValue[] values)
public PropertyInfoImpl(PropertyId id, DavPropertySet propSet, NamePathResolver resolver, ValueFactory valueFactory, QValueFactory qValueFactory) throws RepositoryException, IOException, NameException
public boolean denotesNode()
ItemInfoItemInfo denotes a node, false otherwise.denotesNode in interface ItemInfoItemInfo denotes a node, false otherwise.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.public Path getPath()
ItemInfoPath of the item represented by this
ItemInfo.getPath in interface ItemInfoPath of the item represented by this
item info.ItemInfo.getPath()Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.