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, getPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdenotesNode, getPathpublic PropertyInfoImpl(PropertyId id, Path path, int propertyType, QValue value) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic PropertyInfoImpl(PropertyId id, Path path, int propertyType, QValue[] values) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic 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 © 2004-2020 The Apache Software Foundation. All Rights Reserved.