org.omg.space.xtce.DataEncodingType 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.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Describes how a particular piece of data is sent or received from some non-native, off-platform device. (e.g. a spacecraft)
*
* Java class for DataEncodingType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DataEncodingType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ErrorDetectCorrect" type="{http://www.omg.org/space/xtce}ErrorDetectCorrectType" minOccurs="0"/>
* <element name="ByteOrderList" type="{http://www.omg.org/space/xtce}ByteOrderType" minOccurs="0"/>
* </sequence>
* <attribute name="bitOrder" default="mostSignificantBitFirst">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="leastSignificantBitFirst"/>
* <enumeration value="mostSignificantBitFirst"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DataEncodingType", propOrder = {
"errorDetectCorrect",
"byteOrderList"
})
@XmlSeeAlso({
IntegerDataEncodingType.class,
FloatDataEncodingType.class,
StringDataEncodingType.class,
BinaryDataEncodingType.class
})
public class DataEncodingType {
@XmlElement(name = "ErrorDetectCorrect")
protected ErrorDetectCorrectType errorDetectCorrect;
@XmlElement(name = "ByteOrderList")
protected ByteOrderType byteOrderList;
@XmlAttribute(name = "bitOrder")
protected String bitOrder;
/**
* Gets the value of the errorDetectCorrect property.
*
* @return
* possible object is
* {@link ErrorDetectCorrectType }
*
*/
public ErrorDetectCorrectType getErrorDetectCorrect() {
return errorDetectCorrect;
}
/**
* Sets the value of the errorDetectCorrect property.
*
* @param value
* allowed object is
* {@link ErrorDetectCorrectType }
*
*/
public void setErrorDetectCorrect(ErrorDetectCorrectType value) {
this.errorDetectCorrect = value;
}
/**
* Gets the value of the byteOrderList property.
*
* @return
* possible object is
* {@link ByteOrderType }
*
*/
public ByteOrderType getByteOrderList() {
return byteOrderList;
}
/**
* Sets the value of the byteOrderList property.
*
* @param value
* allowed object is
* {@link ByteOrderType }
*
*/
public void setByteOrderList(ByteOrderType value) {
this.byteOrderList = value;
}
/**
* Gets the value of the bitOrder property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBitOrder() {
if (bitOrder == null) {
return "mostSignificantBitFirst";
} else {
return bitOrder;
}
}
/**
* Sets the value of the bitOrder property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBitOrder(String value) {
this.bitOrder = value;
}
}