Class QValueValue
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.value.QValueValue
-
-
Constructor Summary
Constructors Constructor Description QValueValue(QValue qvalue, NamePathResolver resolver)
Constructs aQValueValue
object representing an SPIQValue
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Binary
getBinary()
boolean
getBoolean()
Calendar
getDate()
BigDecimal
getDecimal()
double
getDouble()
long
getLong()
QValue
getQValue()
Returns the embeddedQValue
.InputStream
getStream()
String
getString()
int
getType()
int
hashCode()
-
-
-
Constructor Detail
-
QValueValue
public QValueValue(QValue qvalue, NamePathResolver resolver)
Constructs aQValueValue
object representing an SPIQValue
.- Parameters:
qvalue
- the QValue thisQValueValue
should representresolver
- fore resolving namespace URIs to prefixes in NAME/PATH properties
-
-
Method Detail
-
getQValue
public QValue getQValue()
Returns the embeddedQValue
.- Returns:
- the embedded
QValue
-
getBoolean
public boolean getBoolean() throws RepositoryException
- Specified by:
getBoolean
in interfaceValue
- Throws:
RepositoryException
- See Also:
Value.getBoolean()
-
getDecimal
public BigDecimal getDecimal() throws ValueFormatException, IllegalStateException, RepositoryException
- Specified by:
getDecimal
in interfaceValue
- Throws:
ValueFormatException
IllegalStateException
RepositoryException
- See Also:
Value.getDecimal()
-
getBinary
public Binary getBinary() throws RepositoryException
- Specified by:
getBinary
in interfaceValue
- Throws:
RepositoryException
- See Also:
Value.getBinary()
-
getDate
public Calendar getDate() throws RepositoryException
- Specified by:
getDate
in interfaceValue
- Throws:
RepositoryException
- See Also:
Value.getDate()
-
getDouble
public double getDouble() throws RepositoryException
- Specified by:
getDouble
in interfaceValue
- Throws:
RepositoryException
- See Also:
Value.getDouble()
-
getLong
public long getLong() throws RepositoryException
- Specified by:
getLong
in interfaceValue
- Throws:
RepositoryException
- See Also:
Value.getLong()
-
getStream
public InputStream getStream() throws IllegalStateException, RepositoryException
- Specified by:
getStream
in interfaceValue
- Throws:
IllegalStateException
RepositoryException
- See Also:
Value.getStream()
-
getString
public String getString() throws RepositoryException
- Specified by:
getString
in interfaceValue
- Throws:
RepositoryException
- See Also:
Value.getString()
-
getType
public int getType()
- Specified by:
getType
in interfaceValue
- See Also:
Value.getType()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
- See Also:
Object.equals(Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
-