Class Comparison

  • All Implemented Interfaces:
    Serializable, MatchCriteria

    public class Comparison
    extends Object
    implements MatchCriteria
    A simple ParameterInstanceRef to value comparison. DIFFERS_FROM_XTCE: 1) in xtce the value is stored as a string and it's not very clear how it's compared with an integer 2) in xtce Comparison extends ParameterInstanceRef, and MatchCriteria is a choice of Comparison, ComparisonList, ...
    See Also:
    Serialized Form
    • Method Detail

      • resolveValueType

        public void resolveValueType()
        Called when the type of the parameter used for comparison is known, so we have to find the value from stringValue that we can compare to it
      • getComparisonOperator

        public OperatorType getComparisonOperator()
      • getDependentParameters

        public Set<Parameter> getDependentParameters()
        Description copied from interface: MatchCriteria
        Return the set of parameters which are required in order to evaluate the match criteria. If no parameter is required, return an empty set.
        Specified by:
        getDependentParameters in interface MatchCriteria
        Returns:
      • getParameter

        public Parameter getParameter()
      • getValue

        public Object getValue()
      • getStringValue

        public String getStringValue()