org.omg.space.xtce.ComparisonType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtcetools Show documentation
Show all versions of xtcetools Show documentation
This project contains software to support the Object Management Group (OMG) Space Domain Task Force (SDTF) maintained XML Telemetry and Command Exchange (XTCE) specification.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.03.16 at 05:52:46 PM MST
//
package org.omg.space.xtce;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ComparisonType")
public class ComparisonType
extends ParameterInstanceRefType
{
@XmlAttribute(name = "comparisonOperator")
protected String comparisonOperator;
@XmlAttribute(name = "value", required = true)
protected String value;
/**
* Gets the value of the comparisonOperator property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComparisonOperator() {
if (comparisonOperator == null) {
return "==";
} else {
return comparisonOperator;
}
}
/**
* Sets the value of the comparisonOperator property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComparisonOperator(String value) {
this.comparisonOperator = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}