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

org.omg.space.xtce.IntegerValueType 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.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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * Contains an Integer value; value may be provided directly or via the value in a parameter.
 * 
 * 

Java class for IntegerValueType complex type. * *

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

 * <complexType name="IntegerValueType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice>
 *         <element name="FixedValue" type="{http://www.omg.org/space/xtce}FixedIntegerValueType"/>
 *         <element name="DynamicValue">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="ParameterInstanceRef" type="{http://www.omg.org/space/xtce}ParameterInstanceRefType"/>
 *                   <element name="LinearAdjustment" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="slope" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
 *                           <attribute name="intercept" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="DiscreteLookupList">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="DiscreteLookup" maxOccurs="unbounded">
 *                     <complexType>
 *                       <complexContent>
 *                         <extension base="{http://www.omg.org/space/xtce}MatchCriteriaType">
 *                           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *                         </extension>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "IntegerValueType", propOrder = { "fixedValue", "dynamicValue", "discreteLookupList" }) @XmlSeeAlso({ org.omg.space.xtce.SequenceEntryType.LocationInContainerInBits.class, org.omg.space.xtce.RepeatType.Offset.class }) public class IntegerValueType { @XmlElement(name = "FixedValue") protected String fixedValue; @XmlElement(name = "DynamicValue") protected IntegerValueType.DynamicValue dynamicValue; @XmlElement(name = "DiscreteLookupList") protected IntegerValueType.DiscreteLookupList discreteLookupList; /** * Gets the value of the fixedValue property. * * @return * possible object is * {@link String } * */ public String getFixedValue() { return fixedValue; } /** * Sets the value of the fixedValue property. * * @param value * allowed object is * {@link String } * */ public void setFixedValue(String value) { this.fixedValue = value; } /** * Gets the value of the dynamicValue property. * * @return * possible object is * {@link IntegerValueType.DynamicValue } * */ public IntegerValueType.DynamicValue getDynamicValue() { return dynamicValue; } /** * Sets the value of the dynamicValue property. * * @param value * allowed object is * {@link IntegerValueType.DynamicValue } * */ public void setDynamicValue(IntegerValueType.DynamicValue value) { this.dynamicValue = value; } /** * Gets the value of the discreteLookupList property. * * @return * possible object is * {@link IntegerValueType.DiscreteLookupList } * */ public IntegerValueType.DiscreteLookupList getDiscreteLookupList() { return discreteLookupList; } /** * Sets the value of the discreteLookupList property. * * @param value * allowed object is * {@link IntegerValueType.DiscreteLookupList } * */ public void setDiscreteLookupList(IntegerValueType.DiscreteLookupList value) { this.discreteLookupList = 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="DiscreteLookup" maxOccurs="unbounded">
     *           <complexType>
     *             <complexContent>
     *               <extension base="{http://www.omg.org/space/xtce}MatchCriteriaType">
     *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
     *               </extension>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "discreteLookup" }) public static class DiscreteLookupList { @XmlElement(name = "DiscreteLookup", required = true) protected List discreteLookup; /** * Gets the value of the discreteLookup 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 discreteLookup property. * *

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

         *    getDiscreteLookup().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link IntegerValueType.DiscreteLookupList.DiscreteLookup } * * */ public List getDiscreteLookup() { if (discreteLookup == null) { discreteLookup = new ArrayList(); } return this.discreteLookup; } /** *

Java class for anonymous complex type. * *

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

         * <complexType>
         *   <complexContent>
         *     <extension base="{http://www.omg.org/space/xtce}MatchCriteriaType">
         *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
         *     </extension>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class DiscreteLookup extends MatchCriteriaType { @XmlAttribute(name = "value", required = true) protected BigInteger value; /** * Gets the value of the value property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link BigInteger } * */ public void setValue(BigInteger value) { this.value = 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="ParameterInstanceRef" type="{http://www.omg.org/space/xtce}ParameterInstanceRefType"/>
     *         <element name="LinearAdjustment" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="slope" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
     *                 <attribute name="intercept" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "parameterInstanceRef", "linearAdjustment" }) public static class DynamicValue { @XmlElement(name = "ParameterInstanceRef", required = true) protected ParameterInstanceRefType parameterInstanceRef; @XmlElement(name = "LinearAdjustment") protected IntegerValueType.DynamicValue.LinearAdjustment linearAdjustment; /** * Gets the value of the parameterInstanceRef property. * * @return * possible object is * {@link ParameterInstanceRefType } * */ public ParameterInstanceRefType getParameterInstanceRef() { return parameterInstanceRef; } /** * Sets the value of the parameterInstanceRef property. * * @param value * allowed object is * {@link ParameterInstanceRefType } * */ public void setParameterInstanceRef(ParameterInstanceRefType value) { this.parameterInstanceRef = value; } /** * Gets the value of the linearAdjustment property. * * @return * possible object is * {@link IntegerValueType.DynamicValue.LinearAdjustment } * */ public IntegerValueType.DynamicValue.LinearAdjustment getLinearAdjustment() { return linearAdjustment; } /** * Sets the value of the linearAdjustment property. * * @param value * allowed object is * {@link IntegerValueType.DynamicValue.LinearAdjustment } * */ public void setLinearAdjustment(IntegerValueType.DynamicValue.LinearAdjustment value) { this.linearAdjustment = 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">
         *       <attribute name="slope" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
         *       <attribute name="intercept" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class LinearAdjustment { @XmlAttribute(name = "slope") protected BigInteger slope; @XmlAttribute(name = "intercept") protected BigInteger intercept; /** * Gets the value of the slope property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSlope() { if (slope == null) { return new BigInteger("0"); } else { return slope; } } /** * Sets the value of the slope property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSlope(BigInteger value) { this.slope = value; } /** * Gets the value of the intercept property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getIntercept() { if (intercept == null) { return new BigInteger("0"); } else { return intercept; } } /** * Sets the value of the intercept property. * * @param value * allowed object is * {@link BigInteger } * */ public void setIntercept(BigInteger value) { this.intercept = value; } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy