All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.space.xtce.BaseDataType Maven / Gradle / Ivy

Go to download

This project contains software to support the Object Management Group (OMG) Space Domain Task Force (SDTF) maintained XML Telemetry and Command Exchange (XTCE) specification.

There is a newer version: 1.1.6
Show newest version
//
// 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.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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * An abstract type used by within the schema to derive other data types by the ground system.  
 * 
 * 

Java class for BaseDataType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="BaseDataType">
 *   <complexContent>
 *     <extension base="{http://www.omg.org/space/xtce}NameDescriptionType">
 *       <sequence>
 *         <element name="UnitSet">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Unit" type="{http://www.omg.org/space/xtce}UnitType" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <choice minOccurs="0">
 *           <element name="BinaryDataEncoding" type="{http://www.omg.org/space/xtce}BinaryDataEncodingType"/>
 *           <element name="FloatDataEncoding" type="{http://www.omg.org/space/xtce}FloatDataEncodingType"/>
 *           <element name="IntegerDataEncoding" type="{http://www.omg.org/space/xtce}IntegerDataEncodingType"/>
 *           <element name="StringDataEncoding" type="{http://www.omg.org/space/xtce}StringDataEncodingType"/>
 *         </choice>
 *       </sequence>
 *       <attribute name="baseType" type="{http://www.omg.org/space/xtce}NameReferenceType" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BaseDataType", propOrder = { "unitSet", "binaryDataEncoding", "floatDataEncoding", "integerDataEncoding", "stringDataEncoding" }) @XmlSeeAlso({ BinaryDataType.class, BooleanDataType.class, EnumeratedDataType.class, NumericDataType.class, StringDataType.class }) public abstract class BaseDataType extends NameDescriptionType { @XmlElement(name = "UnitSet", required = true) protected BaseDataType.UnitSet unitSet; @XmlElement(name = "BinaryDataEncoding") protected BinaryDataEncodingType binaryDataEncoding; @XmlElement(name = "FloatDataEncoding") protected FloatDataEncodingType floatDataEncoding; @XmlElement(name = "IntegerDataEncoding") protected IntegerDataEncodingType integerDataEncoding; @XmlElement(name = "StringDataEncoding") protected StringDataEncodingType stringDataEncoding; @XmlAttribute(name = "baseType") protected String baseType; /** * Gets the value of the unitSet property. * * @return * possible object is * {@link BaseDataType.UnitSet } * */ public BaseDataType.UnitSet getUnitSet() { return unitSet; } /** * Sets the value of the unitSet property. * * @param value * allowed object is * {@link BaseDataType.UnitSet } * */ public void setUnitSet(BaseDataType.UnitSet value) { this.unitSet = value; } /** * Gets the value of the binaryDataEncoding property. * * @return * possible object is * {@link BinaryDataEncodingType } * */ public BinaryDataEncodingType getBinaryDataEncoding() { return binaryDataEncoding; } /** * Sets the value of the binaryDataEncoding property. * * @param value * allowed object is * {@link BinaryDataEncodingType } * */ public void setBinaryDataEncoding(BinaryDataEncodingType value) { this.binaryDataEncoding = value; } /** * Gets the value of the floatDataEncoding property. * * @return * possible object is * {@link FloatDataEncodingType } * */ public FloatDataEncodingType getFloatDataEncoding() { return floatDataEncoding; } /** * Sets the value of the floatDataEncoding property. * * @param value * allowed object is * {@link FloatDataEncodingType } * */ public void setFloatDataEncoding(FloatDataEncodingType value) { this.floatDataEncoding = value; } /** * Gets the value of the integerDataEncoding property. * * @return * possible object is * {@link IntegerDataEncodingType } * */ public IntegerDataEncodingType getIntegerDataEncoding() { return integerDataEncoding; } /** * Sets the value of the integerDataEncoding property. * * @param value * allowed object is * {@link IntegerDataEncodingType } * */ public void setIntegerDataEncoding(IntegerDataEncodingType value) { this.integerDataEncoding = value; } /** * Gets the value of the stringDataEncoding property. * * @return * possible object is * {@link StringDataEncodingType } * */ public StringDataEncodingType getStringDataEncoding() { return stringDataEncoding; } /** * Sets the value of the stringDataEncoding property. * * @param value * allowed object is * {@link StringDataEncodingType } * */ public void setStringDataEncoding(StringDataEncodingType value) { this.stringDataEncoding = value; } /** * Gets the value of the baseType property. * * @return * possible object is * {@link String } * */ public String getBaseType() { return baseType; } /** * Sets the value of the baseType property. * * @param value * allowed object is * {@link String } * */ public void setBaseType(String value) { this.baseType = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="Unit" type="{http://www.omg.org/space/xtce}UnitType" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "unit" }) public static class UnitSet { @XmlElement(name = "Unit") protected List unit; /** * Gets the value of the unit property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the unit property. * *

* For example, to add a new item, do as follows: *

         *    getUnit().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link UnitType } * * */ public List getUnit() { if (unit == null) { unit = new ArrayList(); } return this.unit; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy