Interface AttributeValue
- All Known Implementing Classes:
StringAttributeValue
public interface AttributeValue
Interface to capture operations on AttributeValue.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancompare the value against the other based on the AttributeExpressionOperation.getValue()voidvalidateAndInitializeValue(String value) validate the value based on the type and initialize for further compare operations.
-
Method Details
-
getValue
String getValue()- Returns:
- original value which was set.
-
validateAndInitializeValue
validate the value based on the type and initialize for further compare operations.- Parameters:
value- value.- Throws:
IOException- io error occur.
-
compareForOperation
compare the value against the other based on the AttributeExpressionOperation.- Parameters:
other- attribute value.op- attribute expression operation.- Returns:
- true if value
othermatches the current value for the operationop.
-