org.omg.space.xtce.FloatDataType 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 java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Contains a floating point value.
*
* Java class for FloatDataType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FloatDataType">
* <complexContent>
* <extension base="{http://www.omg.org/space/xtce}NumericDataType">
* <sequence>
* <element name="ValidRange" minOccurs="0">
* <complexType>
* <complexContent>
* <extension base="{http://www.omg.org/space/xtce}FloatRangeType">
* <attribute name="validRangeAppliesToCalibrated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </extension>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="initialValue" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="sizeInBits" default="32">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}positiveInteger">
* <enumeration value="32"/>
* <enumeration value="64"/>
* <enumeration value="128"/>
* </restriction>
* </simpleType>
* </attribute>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FloatDataType", propOrder = {
"validRange"
})
@XmlSeeAlso({
org.omg.space.xtce.ParameterTypeSetType.FloatParameterType.class,
org.omg.space.xtce.ArgumentTypeSetType.FloatArgumentType.class
})
public class FloatDataType
extends NumericDataType
{
@XmlElement(name = "ValidRange")
protected FloatDataType.ValidRange validRange;
@XmlAttribute(name = "initialValue")
protected Double initialValue;
@XmlAttribute(name = "sizeInBits")
protected BigInteger sizeInBits;
/**
* Gets the value of the validRange property.
*
* @return
* possible object is
* {@link FloatDataType.ValidRange }
*
*/
public FloatDataType.ValidRange getValidRange() {
return validRange;
}
/**
* Sets the value of the validRange property.
*
* @param value
* allowed object is
* {@link FloatDataType.ValidRange }
*
*/
public void setValidRange(FloatDataType.ValidRange value) {
this.validRange = value;
}
/**
* Gets the value of the initialValue property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getInitialValue() {
return initialValue;
}
/**
* Sets the value of the initialValue property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setInitialValue(Double value) {
this.initialValue = value;
}
/**
* Gets the value of the sizeInBits property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSizeInBits() {
if (sizeInBits == null) {
return new BigInteger("32");
} else {
return sizeInBits;
}
}
/**
* Sets the value of the sizeInBits property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSizeInBits(BigInteger value) {
this.sizeInBits = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://www.omg.org/space/xtce}FloatRangeType">
* <attribute name="validRangeAppliesToCalibrated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class ValidRange
extends FloatRangeType
{
@XmlAttribute(name = "validRangeAppliesToCalibrated")
protected Boolean validRangeAppliesToCalibrated;
/**
* Gets the value of the validRangeAppliesToCalibrated property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isValidRangeAppliesToCalibrated() {
if (validRangeAppliesToCalibrated == null) {
return false;
} else {
return validRangeAppliesToCalibrated;
}
}
/**
* Sets the value of the validRangeAppliesToCalibrated property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setValidRangeAppliesToCalibrated(Boolean value) {
this.validRangeAppliesToCalibrated = value;
}
}
}