org.omg.space.xtce.NumberToStringType 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 java.util.ArrayList;
import java.util.List;
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.XmlElements;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* There are two ways numeric data can be changed to string data: using a Java style NumberFormat, or using an enumerated list. Enumerated lists can be assigned to a single value or a value range.
*
* Java class for NumberToStringType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NumberToStringType">
* <complexContent>
* <extension base="{http://www.omg.org/space/xtce}OptionalNameDescriptionType">
* <choice>
* <choice maxOccurs="unbounded">
* <element name="ValueEnumeration" type="{http://www.omg.org/space/xtce}ValueEnumerationType"/>
* <element name="RangeEnumeration" type="{http://www.omg.org/space/xtce}FloatEnumerationRangeType"/>
* </choice>
* <element name="NumberFormat">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="numberBase" type="{http://www.omg.org/space/xtce}RadixType" default="Decimal" />
* <attribute name="minimumFractionDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="maximumFractionDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="minimumIntegerDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="maximumIntegerDigits" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="negativeSuffix" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="positiveSuffix" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="negativePrefix" type="{http://www.w3.org/2001/XMLSchema}string" default="-" />
* <attribute name="positivePrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="showThousandsGrouping" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="notation" default="normal">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="normal"/>
* <enumeration value="scientific"/>
* <enumeration value="engineering"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NumberToStringType", propOrder = {
"valueEnumerationOrRangeEnumeration",
"numberFormat"
})
@XmlSeeAlso({
org.omg.space.xtce.NumericDataType.ToString.class
})
public class NumberToStringType
extends OptionalNameDescriptionType
{
@XmlElements({
@XmlElement(name = "ValueEnumeration", type = ValueEnumerationType.class),
@XmlElement(name = "RangeEnumeration", type = FloatEnumerationRangeType.class)
})
protected List