Package org.omg.space.xtce
Class FloatDataEncodingType
- java.lang.Object
-
- org.omg.space.xtce.DataEncodingType
-
- org.omg.space.xtce.FloatDataEncodingType
-
public class FloatDataEncodingType extends DataEncodingType
For common encodings of floating point data. Bit sizes correspond to known supported bit sizes for the IEEE_754 (32, 64, 80, 128) and MIL-1750A (32, 48)Java class for FloatDataEncodingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FloatDataEncodingType"> <complexContent> <extension base="{http://www.omg.org/space/xtce}DataEncodingType"> <sequence> <element name="DefaultCalibrator" type="{http://www.omg.org/space/xtce}CalibratorType" minOccurs="0"/> <element name="ContextCalibratorList" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ContextCalibrator" type="{http://www.omg.org/space/xtce}ContextCalibratorType" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="encoding" default="IEEE754_1985"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="IEEE754_1985"/> <enumeration value="MILSTD_1750A"/> </restriction> </simpleType> </attribute> <attribute name="sizeInBits" default="32"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}positiveInteger"> <enumeration value="32"/> <enumeration value="48"/> <enumeration value="64"/> <enumeration value="80"/> <enumeration value="128"/> </restriction> </simpleType> </attribute> <attribute name="changeThreshold" type="{http://www.w3.org/2001/XMLSchema}decimal" /> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFloatDataEncodingType.ContextCalibratorListJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalchangeThresholdprotected FloatDataEncodingType.ContextCalibratorListcontextCalibratorListprotected CalibratorTypedefaultCalibratorprotected Stringencodingprotected BigIntegersizeInBits-
Fields inherited from class org.omg.space.xtce.DataEncodingType
bitOrder, byteOrderList, errorDetectCorrect
-
-
Constructor Summary
Constructors Constructor Description FloatDataEncodingType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetChangeThreshold()Gets the value of the changeThreshold property.FloatDataEncodingType.ContextCalibratorListgetContextCalibratorList()Gets the value of the contextCalibratorList property.CalibratorTypegetDefaultCalibrator()Gets the value of the defaultCalibrator property.StringgetEncoding()Gets the value of the encoding property.BigIntegergetSizeInBits()Gets the value of the sizeInBits property.voidsetChangeThreshold(BigDecimal value)Sets the value of the changeThreshold property.voidsetContextCalibratorList(FloatDataEncodingType.ContextCalibratorList value)Sets the value of the contextCalibratorList property.voidsetDefaultCalibrator(CalibratorType value)Sets the value of the defaultCalibrator property.voidsetEncoding(String value)Sets the value of the encoding property.voidsetSizeInBits(BigInteger value)Sets the value of the sizeInBits property.-
Methods inherited from class org.omg.space.xtce.DataEncodingType
getBitOrder, getByteOrderList, getErrorDetectCorrect, setBitOrder, setByteOrderList, setErrorDetectCorrect
-
-
-
-
Field Detail
-
defaultCalibrator
protected CalibratorType defaultCalibrator
-
contextCalibratorList
protected FloatDataEncodingType.ContextCalibratorList contextCalibratorList
-
encoding
protected String encoding
-
sizeInBits
protected BigInteger sizeInBits
-
changeThreshold
protected BigDecimal changeThreshold
-
-
Method Detail
-
getDefaultCalibrator
public CalibratorType getDefaultCalibrator()
Gets the value of the defaultCalibrator property.- Returns:
- possible object is
CalibratorType
-
setDefaultCalibrator
public void setDefaultCalibrator(CalibratorType value)
Sets the value of the defaultCalibrator property.- Parameters:
value- allowed object isCalibratorType
-
getContextCalibratorList
public FloatDataEncodingType.ContextCalibratorList getContextCalibratorList()
Gets the value of the contextCalibratorList property.- Returns:
- possible object is
FloatDataEncodingType.ContextCalibratorList
-
setContextCalibratorList
public void setContextCalibratorList(FloatDataEncodingType.ContextCalibratorList value)
Sets the value of the contextCalibratorList property.- Parameters:
value- allowed object isFloatDataEncodingType.ContextCalibratorList
-
getEncoding
public String getEncoding()
Gets the value of the encoding property.- Returns:
- possible object is
String
-
setEncoding
public void setEncoding(String value)
Sets the value of the encoding property.- Parameters:
value- allowed object isString
-
getSizeInBits
public BigInteger getSizeInBits()
Gets the value of the sizeInBits property.- Returns:
- possible object is
BigInteger
-
setSizeInBits
public void setSizeInBits(BigInteger value)
Sets the value of the sizeInBits property.- Parameters:
value- allowed object isBigInteger
-
getChangeThreshold
public BigDecimal getChangeThreshold()
Gets the value of the changeThreshold property.- Returns:
- possible object is
BigDecimal
-
setChangeThreshold
public void setChangeThreshold(BigDecimal value)
Sets the value of the changeThreshold property.- Parameters:
value- allowed object isBigDecimal
-
-