Interface AttributeValue

All Known Implementing Classes:
StringAttributeValue

public interface AttributeValue
Interface to capture operations on AttributeValue.
  • Method Details

    • getValue

      String getValue()
      Returns:
      original value which was set.
    • validateAndInitializeValue

      void validateAndInitializeValue(String value) throws IOException
      validate the value based on the type and initialize for further compare operations.
      Parameters:
      value - value.
      Throws:
      IOException - io error occur.
    • compareForOperation

      boolean compareForOperation(AttributeValue other, AttributeExpressionOperation op)
      compare the value against the other based on the AttributeExpressionOperation.
      Parameters:
      other - attribute value.
      op - attribute expression operation.
      Returns:
      true if value other matches the current value for the operation op.