Class ComparisonType


  • public class ComparisonType
    extends ParameterInstanceRefType
    A simple ParameterInstanceRef to value comparison. The string supplied in the value attribute needs to be converted to a type matching the Parameter being compared to. Numerical values are assumed to be base 10 unless proceeded by 0x (hexadecimal), 0o (octal), or 0b (binary). The value is truncated to use the least significant bits that match the bit size of the Parameter being compared to.

    Java class for ComparisonType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ComparisonType">
       <complexContent>
         <extension base="{http://www.omg.org/space/xtce}ParameterInstanceRefType">
           <attribute name="comparisonOperator" type="{http://www.omg.org/space/xtce}ComparisonOperatorsType" default="==" />
           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • comparisonOperator

        protected String comparisonOperator
      • value

        protected String value
    • Constructor Detail

      • ComparisonType

        public ComparisonType()
    • Method Detail

      • getComparisonOperator

        public String getComparisonOperator()
        Gets the value of the comparisonOperator property.
        Returns:
        possible object is String
      • setComparisonOperator

        public void setComparisonOperator​(String value)
        Sets the value of the comparisonOperator property.
        Parameters:
        value - allowed object is String
      • getValue

        public String getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String