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

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


/**
 * Contains an integral value
 * 
 * 

Java class for IntegerDataType complex type. * *

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

 * <complexType name="IntegerDataType">
 *   <complexContent>
 *     <extension base="{http://www.omg.org/space/xtce}NumericDataType">
 *       <sequence>
 *         <element name="ValidRange" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <extension base="{http://www.omg.org/space/xtce}IntegerRangeType">
 *                 <attribute name="validRangeAppliesToCalibrated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *               </extension>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="initialValue" type="{http://www.omg.org/space/xtce}FixedIntegerValueType" />
 *       <attribute name="sizeInBits" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="32" />
 *       <attribute name="signed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "IntegerDataType", propOrder = { "validRange" }) @XmlSeeAlso({ org.omg.space.xtce.ParameterTypeSetType.IntegerParameterType.class, org.omg.space.xtce.ArgumentTypeSetType.IntegerArgumentType.class }) public class IntegerDataType extends NumericDataType { @XmlElement(name = "ValidRange") protected IntegerDataType.ValidRange validRange; @XmlAttribute(name = "initialValue") protected String initialValue; @XmlAttribute(name = "sizeInBits") @XmlSchemaType(name = "positiveInteger") protected BigInteger sizeInBits; @XmlAttribute(name = "signed") protected Boolean signed; /** * Gets the value of the validRange property. * * @return * possible object is * {@link IntegerDataType.ValidRange } * */ public IntegerDataType.ValidRange getValidRange() { return validRange; } /** * Sets the value of the validRange property. * * @param value * allowed object is * {@link IntegerDataType.ValidRange } * */ public void setValidRange(IntegerDataType.ValidRange value) { this.validRange = 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; } /** * Gets the value of the sizeInBits property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSizeInBits() { if (sizeInBits == null) { return new BigInteger("32"); } else { return sizeInBits; } } /** * Sets the value of the sizeInBits property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSizeInBits(BigInteger value) { this.sizeInBits = value; } /** * Gets the value of the signed property. * * @return * possible object is * {@link Boolean } * */ public boolean isSigned() { if (signed == null) { return true; } else { return signed; } } /** * Sets the value of the signed property. * * @param value * allowed object is * {@link Boolean } * */ public void setSigned(Boolean value) { this.signed = value; } /** *

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}IntegerRangeType">
     *       <attribute name="validRangeAppliesToCalibrated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     *     </extension>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class ValidRange extends IntegerRangeType { @XmlAttribute(name = "validRangeAppliesToCalibrated") protected Boolean validRangeAppliesToCalibrated; /** * Gets the value of the validRangeAppliesToCalibrated property. * * @return * possible object is * {@link Boolean } * */ public boolean isValidRangeAppliesToCalibrated() { if (validRangeAppliesToCalibrated == null) { return false; } else { return validRangeAppliesToCalibrated; } } /** * Sets the value of the validRangeAppliesToCalibrated property. * * @param value * allowed object is * {@link Boolean } * */ public void setValidRangeAppliesToCalibrated(Boolean value) { this.validRangeAppliesToCalibrated = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy