public class PropertyInfoImpl extends ItemInfoImpl implements PropertyInfo
PropertyInfoImpl
...Constructor and Description |
---|
PropertyInfoImpl(PropertyId id,
Path path,
int propertyType,
QValue value) |
PropertyInfoImpl(PropertyId id,
Path path,
int propertyType,
QValue[] values) |
Modifier and Type | Method and Description |
---|---|
PropertyId |
getId() |
int |
getType() |
QValue[] |
getValues() |
boolean |
isMultiValued() |
denotesNode, getName, getPath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
denotesNode, getPath
public PropertyInfoImpl(PropertyId id, Path path, int propertyType, QValue value) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public PropertyInfoImpl(PropertyId id, Path path, int propertyType, QValue[] values) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
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
.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.