Package org.omg.space.xtce
Class ComparisonType
- java.lang.Object
-
- org.omg.space.xtce.ParameterRefType
-
- org.omg.space.xtce.ParameterInstanceRefType
-
- org.omg.space.xtce.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 Summary
Fields Modifier and Type Field Description protected StringcomparisonOperatorprotected Stringvalue-
Fields inherited from class org.omg.space.xtce.ParameterInstanceRefType
instance, useCalibratedValue
-
Fields inherited from class org.omg.space.xtce.ParameterRefType
parameterRef
-
-
Constructor Summary
Constructors Constructor Description ComparisonType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComparisonOperator()Gets the value of the comparisonOperator property.StringgetValue()Gets the value of the value property.voidsetComparisonOperator(String value)Sets the value of the comparisonOperator property.voidsetValue(String value)Sets the value of the value property.-
Methods inherited from class org.omg.space.xtce.ParameterInstanceRefType
getInstance, isUseCalibratedValue, setInstance, setUseCalibratedValue
-
Methods inherited from class org.omg.space.xtce.ParameterRefType
getParameterRef, setParameterRef
-
-
-
-
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 isString
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
-