public class ValueImpl extends Object implements JackrabbitValue
Value
based on PropertyState
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Binary |
getBinary() |
static Blob |
getBlob(Value value) |
boolean |
getBoolean() |
String |
getContentIdentity()
Get a unique identifier of the content of this value.
|
Calendar |
getDate() |
BigDecimal |
getDecimal() |
double |
getDouble() |
long |
getLong() |
String |
getOakString()
Same as
getString() unless that names and paths are returned in their
Oak representation instead of being mapped to their JCR representation. |
InputStream |
getStream() |
String |
getString() |
int |
getType() |
int |
hashCode() |
String |
toString() |
public static Blob getBlob(Value value) throws RepositoryException
RepositoryException
public String getOakString() throws RepositoryException
getString()
unless that names and paths are returned in their
Oak representation instead of being mapped to their JCR representation.RepositoryException
public int getType()
Value
public boolean getBoolean() throws RepositoryException
RepositoryException
Value
public Calendar getDate() throws RepositoryException
RepositoryException
Value
public BigDecimal getDecimal() throws RepositoryException
RepositoryException
Value
public double getDouble() throws RepositoryException
RepositoryException
Value
public long getLong() throws RepositoryException
RepositoryException
Value
public String getString() throws RepositoryException
RepositoryException
Value
public InputStream getStream() throws IllegalStateException, RepositoryException
IllegalStateException
RepositoryException
Value
public Binary getBinary() throws RepositoryException
RepositoryException
Value
public String getContentIdentity()
JackrabbitValue
This method returns null if the identifier is unknown. The identifier may not always be available, for example if the value has not yet been saved or processed. Once an identifier is available, it will never change because values are immutable.
If two values have the same identifier, the content of the value is guaranteed to be the same. However it is not guaranteed that two values with the same content will return the same identifier.
The identifier is opaque, meaning it can have any format and size, however it is at normally about 50 characters and at most 255 characters long. The string only contains Unicode code points from 32 to 127 (including).
getContentIdentity
in interface JackrabbitValue
public boolean equals(Object other)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"