Class AbstractQValue

  • All Implemented Interfaces:
    java.io.Serializable, QValue
    Direct Known Subclasses:
    DefaultQValue

    public abstract class AbstractQValue
    extends java.lang.Object
    implements QValue, java.io.Serializable
    AbstractQValue...
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void discard()
      Frees temporarily allocated resources such as temporary file, buffer, etc.
      boolean equals​(java.lang.Object obj)
      Default implementation of the equals method.
      Binary getBinary()
      This implementation creates a binary instance that uses QValue.getStream() and skipping on the given stream as its underlying mechanism to provide random access defined on Binary.
      boolean getBoolean()
      Returns a boolean representation of this value.
      java.util.Calendar getCalendar()
      Returns a Calendar representation of this value.
      java.math.BigDecimal getDecimal()
      Returns a BigDecimal representation of this value.
      double getDouble()
      Returns a double representation of this value.
      long getLength()
      Returns the length of the internal value or -1 if the implementation cannot determine the length at this time.
      NOTE: for PropertyType.NAME and PropertyType.PATH the length of the internal value must not be used for indicating the length of a property such as retrieved by calling Property.getLength() and Property.getLengths().
      long getLong()
      Returns a long representation of this value.
      Name getName()
      Returns a Name representation of this value.
      Path getPath()
      Returns a Path representation of this value.
      java.lang.String getString()
      Returns a String representation of this QValue object.
      int getType()
      Returns the PropertyType of this QValue object.
      java.net.URI getURI()
      Returns an URI representation of this value.
      int hashCode()
      Default calculation of the hashCode.
      java.lang.String toString()
      Returns the string representation of this internal value.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait