Class QValueValue
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.value.QValueValue
-
-
Constructor Summary
Constructors Constructor Description QValueValue(QValue qvalue, NamePathResolver resolver)Constructs aQValueValueobject representing an SPIQValue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BinarygetBinary()booleangetBoolean()CalendargetDate()BigDecimalgetDecimal()doublegetDouble()longgetLong()QValuegetQValue()Returns the embeddedQValue.InputStreamgetStream()StringgetString()intgetType()inthashCode()
-
-
-
Constructor Detail
-
QValueValue
public QValueValue(QValue qvalue, NamePathResolver resolver)
Constructs aQValueValueobject representing an SPIQValue.- Parameters:
qvalue- the QValue thisQValueValueshould 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:
getBooleanin interfaceValue- Throws:
RepositoryException- See Also:
Value.getBoolean()
-
getDecimal
public BigDecimal getDecimal() throws ValueFormatException, IllegalStateException, RepositoryException
- Specified by:
getDecimalin interfaceValue- Throws:
ValueFormatExceptionIllegalStateExceptionRepositoryException- See Also:
Value.getDecimal()
-
getBinary
public Binary getBinary() throws RepositoryException
- Specified by:
getBinaryin interfaceValue- Throws:
RepositoryException- See Also:
Value.getBinary()
-
getDate
public Calendar getDate() throws RepositoryException
- Specified by:
getDatein interfaceValue- Throws:
RepositoryException- See Also:
Value.getDate()
-
getDouble
public double getDouble() throws RepositoryException- Specified by:
getDoublein interfaceValue- Throws:
RepositoryException- See Also:
Value.getDouble()
-
getLong
public long getLong() throws RepositoryException- Specified by:
getLongin interfaceValue- Throws:
RepositoryException- See Also:
Value.getLong()
-
getStream
public InputStream getStream() throws IllegalStateException, RepositoryException
- Specified by:
getStreamin interfaceValue- Throws:
IllegalStateExceptionRepositoryException- See Also:
Value.getStream()
-
getString
public String getString() throws RepositoryException
- Specified by:
getStringin interfaceValue- Throws:
RepositoryException- See Also:
Value.getString()
-
getType
public int getType()
- Specified by:
getTypein interfaceValue- See Also:
Value.getType()
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- See Also:
Object.equals(Object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
-