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()
ItemInfo
ItemInfo
denotes a node, false otherwise.denotesNode
in interface ItemInfo
ItemInfo
denotes a node, false otherwise.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
PropertyType.UNDEFINED
will never be returned as the
value of a Property
always has a defined type.PropertyType
public boolean isMultiValued()
isMultiValued
in interface PropertyInfo
Property
based on this info object is
multivalue.PropertyDefinition.isMultiple()
public QValue[] getValues()
getValues
in interface PropertyInfo
PropertyInfo
.public Path getPath()
ItemInfo
Path
of the item represented by this
ItemInfo
.getPath
in interface ItemInfo
Path
of the item represented by this
item info.ItemInfo.getPath()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.