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

org.omg.space.xtce.EnumeratedDataType 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;


/**
 * Contains an enumerated value - a value that has both an integral and a string representation.
 * 
 * 

Java class for EnumeratedDataType complex type. * *

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

 * <complexType name="EnumeratedDataType">
 *   <complexContent>
 *     <extension base="{http://www.omg.org/space/xtce}BaseDataType">
 *       <sequence>
 *         <element name="EnumerationList">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Enumeration" type="{http://www.omg.org/space/xtce}ValueEnumerationType" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="initialValue" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EnumeratedDataType", propOrder = { "enumerationList" }) @XmlSeeAlso({ org.omg.space.xtce.ParameterTypeSetType.EnumeratedParameterType.class }) public class EnumeratedDataType extends BaseDataType { @XmlElement(name = "EnumerationList", required = true) protected EnumeratedDataType.EnumerationList enumerationList; @XmlAttribute(name = "initialValue") protected String initialValue; /** * Gets the value of the enumerationList property. * * @return * possible object is * {@link EnumeratedDataType.EnumerationList } * */ public EnumeratedDataType.EnumerationList getEnumerationList() { return enumerationList; } /** * Sets the value of the enumerationList property. * * @param value * allowed object is * {@link EnumeratedDataType.EnumerationList } * */ public void setEnumerationList(EnumeratedDataType.EnumerationList value) { this.enumerationList = value; } /** * Gets the value of the initialValue property. * * @return * possible object is * {@link String } * */ public String getInitialValue() { return initialValue; } /** * Sets the value of the initialValue property. * * @param value * allowed object is * {@link String } * */ public void setInitialValue(String value) { this.initialValue = 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="Enumeration" type="{http://www.omg.org/space/xtce}ValueEnumerationType" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "enumeration" }) public static class EnumerationList { @XmlElement(name = "Enumeration", required = true) protected List enumeration; /** * Gets the value of the enumeration 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 enumeration property. * *

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

         *    getEnumeration().add(newItem);
         * 
* * *

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy