Interface SaValue


public interface SaValue
A SaValue represents a single value contained in a field of a DDC for a specific document. Because DDCs can contain multivalue-fields, SaPropertyValue is used to represent both single- and multivalue fields.
  • Method Details

    • getBoolValue

      boolean getBoolValue()
      Returns the boolean value, if set.
      Returns:
      Returns the boolValue.
    • getFloatValue

      double getFloatValue()
      Returns the float value, if set.
      Returns:
      Returns the floatValue.
    • getIntValue

      int getIntValue()
      Returns the integer value, if set.
      Returns:
      Returns the intValue.
    • getStringValue

      String getStringValue()
      Returns the string value, if set.
      Returns:
      Returns the stringValue.
    • getValueType

      int getValueType()
      Returns the value type.
      Returns:
      Returns the valueType.
    • getDateValue

      short[] getDateValue()
      Returns the date value as array, if set.
      Returns:
      Returns the datetime array.
    • getCalendarValue

      Calendar getCalendarValue()
      Returns the date value, if set.
      Returns:
      Returns the date as calendar.
    • getBinaryValue

      byte[] getBinaryValue()
      Returns the binary value as byte array, if set.
      Returns:
      Returns the binary value.
    • getStreamValue

      InputStream getStreamValue()
      Returns the binary value as stream, if set.
      Returns:
      Returns the stream value.
    • asString

      String asString()
      Returns the string representation of this value.
      Returns:
      String representation of this value
    • isNull

      boolean isNull()
      Check whether the value type is not valid.
      Returns:
      True, if the value type is 0
    • setValueType

      void setValueType(int type)
      Sets the value type.
      Parameters:
      type - Value type.
    • equalsContent

      boolean equalsContent(SaValue compareValue)
      Compares the contents of compareValue with this object's contents.
      Parameters:
      compareValue - Value to be compared.
      Returns:
      result of content comparison
    • toString

      String toString()
      Returns the string representation of this value.
      Overrides:
      toString in class Object
      Returns:
      toString
      See Also: