public class ReadOnlyProperty
extends org.apache.jackrabbit.commons.AbstractProperty
Property
implementation.JCR_ACTIVITY, JCR_AUTOCREATED, JCR_BASE_VERSION, JCR_CHILD_VERSION_HISTORY, JCR_CONFIGURATION, JCR_CONTENT, JCR_COPIED_FROM, JCR_CREATED, JCR_CREATED_BY, JCR_CURRENT_LIFECYCLE_STATE, JCR_DATA, JCR_DEFAULT_PRIMARY_TYPE, JCR_DEFAULT_VALUES, JCR_DESCRIPTION, JCR_ENCODING, JCR_FROZEN_MIXIN_TYPES, JCR_FROZEN_PRIMARY_TYPE, JCR_FROZEN_UUID, JCR_HAS_ORDERABLE_CHILD_NODES, JCR_HOST, JCR_ID, JCR_IS_ABSTRACT, JCR_IS_CHECKED_OUT, JCR_IS_MIXIN, JCR_LANGUAGE, JCR_LAST_MODIFIED, JCR_LAST_MODIFIED_BY, JCR_LIFECYCLE_POLICY, JCR_LOCK_IS_DEEP, JCR_LOCK_OWNER, JCR_MANDATORY, JCR_MERGE_FAILED, JCR_MIMETYPE, JCR_MIXIN_TYPES, JCR_MULTIPLE, JCR_NAME, JCR_NODE_TYPE_NAME, JCR_ON_PARENT_VERSION, JCR_PATH, JCR_PORT, JCR_PREDECESSORS, JCR_PRIMARY_ITEM_NAME, JCR_PRIMARY_TYPE, JCR_PROTECTED, JCR_PROTOCOL, JCR_REPOSITORY, JCR_REQUIRED_PRIMARY_TYPES, JCR_REQUIRED_TYPE, JCR_ROOT, JCR_SAME_NAME_SIBLINGS, JCR_STATEMENT, JCR_SUCCESSORS, JCR_SUPERTYPES, JCR_TITLE, JCR_UUID, JCR_VALUE_CONSTRAINTS, JCR_VERSION_HISTORY, JCR_VERSIONABLE_UUID, JCR_WORKSPACE
Constructor and Description |
---|
ReadOnlyProperty(String name,
javax.jcr.Value[] values,
javax.jcr.Node parent) |
ReadOnlyProperty(String name,
javax.jcr.Value value,
javax.jcr.Node parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
javax.jcr.Binary |
getBinary() |
BigDecimal |
getDecimal() |
javax.jcr.nodetype.PropertyDefinition |
getDefinition() |
long[] |
getLengths() |
String |
getName() |
javax.jcr.Node |
getNode() |
javax.jcr.Node |
getParent() |
javax.jcr.Session |
getSession() |
String |
getString() |
int |
getType() |
javax.jcr.Value |
getValue() |
javax.jcr.Value[] |
getValues() |
int |
hashCode() |
boolean |
isModified() |
boolean |
isMultiple() |
boolean |
isNew() |
boolean |
isSame(javax.jcr.Item otherItem) |
void |
refresh(boolean keepChanges) |
void |
save() |
void |
setValue(BigDecimal value) |
void |
setValue(javax.jcr.Binary value) |
String |
toString() |
accept, getBoolean, getDate, getDouble, getLength, getLong, getPath, getProperty, getStream, isNode, remove, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
public ReadOnlyProperty(String name, javax.jcr.Value[] values, javax.jcr.Node parent)
public ReadOnlyProperty(String name, javax.jcr.Value value, javax.jcr.Node parent)
public String getName()
public javax.jcr.Node getParent() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public javax.jcr.Session getSession() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public javax.jcr.Binary getBinary() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public BigDecimal getDecimal() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String getString() throws javax.jcr.RepositoryException
getString
in interface javax.jcr.Property
getString
in class org.apache.jackrabbit.commons.AbstractProperty
javax.jcr.RepositoryException
public int getType() throws javax.jcr.RepositoryException
getType
in interface javax.jcr.Property
getType
in class org.apache.jackrabbit.commons.AbstractProperty
javax.jcr.RepositoryException
public javax.jcr.Value getValue() throws javax.jcr.ValueFormatException
javax.jcr.ValueFormatException
public javax.jcr.Value[] getValues() throws javax.jcr.ValueFormatException
javax.jcr.ValueFormatException
public long[] getLengths() throws javax.jcr.RepositoryException
getLengths
in interface javax.jcr.Property
getLengths
in class org.apache.jackrabbit.commons.AbstractProperty
javax.jcr.RepositoryException
public javax.jcr.nodetype.PropertyDefinition getDefinition() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public javax.jcr.Node getNode() throws javax.jcr.RepositoryException
getNode
in interface javax.jcr.Property
getNode
in class org.apache.jackrabbit.commons.AbstractProperty
javax.jcr.RepositoryException
public void setValue(javax.jcr.Binary value) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void setValue(BigDecimal value) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public boolean isMultiple()
public boolean isModified()
public boolean isNew()
public boolean isSame(javax.jcr.Item otherItem) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void refresh(boolean keepChanges) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void save() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String toString()
toString
in class org.apache.jackrabbit.commons.AbstractItem
Copyright © 2020 Magnolia International Ltd.. All rights reserved.