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

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


/**
 * A simple element that provides for simple, but common error checking and detection.
 * 
 * 

Java class for ErrorDetectCorrectType complex type. * *

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

 * <complexType name="ErrorDetectCorrectType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice>
 *         <element name="Parity">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="type" use="required">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="Even"/>
 *                       <enumeration value="Odd"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="bitsFromReference" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
 *                 <attribute name="reference" default="start">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="start"/>
 *                       <enumeration value="end"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="CRC">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Polynomial" type="{http://www.omg.org/space/xtce}PolynomialType"/>
 *                 </sequence>
 *                 <attribute name="bitsFromReference" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
 *                 <attribute name="reference" default="start">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="start"/>
 *                       <enumeration value="end"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ErrorDetectCorrectType", propOrder = { "parity", "crc" }) public class ErrorDetectCorrectType { @XmlElement(name = "Parity") protected ErrorDetectCorrectType.Parity parity; @XmlElement(name = "CRC") protected ErrorDetectCorrectType.CRC crc; /** * Gets the value of the parity property. * * @return * possible object is * {@link ErrorDetectCorrectType.Parity } * */ public ErrorDetectCorrectType.Parity getParity() { return parity; } /** * Sets the value of the parity property. * * @param value * allowed object is * {@link ErrorDetectCorrectType.Parity } * */ public void setParity(ErrorDetectCorrectType.Parity value) { this.parity = value; } /** * Gets the value of the crc property. * * @return * possible object is * {@link ErrorDetectCorrectType.CRC } * */ public ErrorDetectCorrectType.CRC getCRC() { return crc; } /** * Sets the value of the crc property. * * @param value * allowed object is * {@link ErrorDetectCorrectType.CRC } * */ public void setCRC(ErrorDetectCorrectType.CRC value) { this.crc = 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="Polynomial" type="{http://www.omg.org/space/xtce}PolynomialType"/>
     *       </sequence>
     *       <attribute name="bitsFromReference" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
     *       <attribute name="reference" default="start">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="start"/>
     *             <enumeration value="end"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "polynomial" }) public static class CRC { @XmlElement(name = "Polynomial", required = true) protected PolynomialType polynomial; @XmlAttribute(name = "bitsFromReference") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger bitsFromReference; @XmlAttribute(name = "reference") protected String reference; /** * Gets the value of the polynomial property. * * @return * possible object is * {@link PolynomialType } * */ public PolynomialType getPolynomial() { return polynomial; } /** * Sets the value of the polynomial property. * * @param value * allowed object is * {@link PolynomialType } * */ public void setPolynomial(PolynomialType value) { this.polynomial = value; } /** * Gets the value of the bitsFromReference property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getBitsFromReference() { return bitsFromReference; } /** * Sets the value of the bitsFromReference property. * * @param value * allowed object is * {@link BigInteger } * */ public void setBitsFromReference(BigInteger value) { this.bitsFromReference = value; } /** * Gets the value of the reference property. * * @return * possible object is * {@link String } * */ public String getReference() { if (reference == null) { return "start"; } else { return reference; } } /** * Sets the value of the reference property. * * @param value * allowed object is * {@link String } * */ public void setReference(String value) { this.reference = 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="type" use="required">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="Even"/>
     *             <enumeration value="Odd"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="bitsFromReference" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
     *       <attribute name="reference" default="start">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="start"/>
     *             <enumeration value="end"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Parity { @XmlAttribute(name = "type", required = true) protected String type; @XmlAttribute(name = "bitsFromReference", required = true) @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger bitsFromReference; @XmlAttribute(name = "reference") protected String reference; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the bitsFromReference property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getBitsFromReference() { return bitsFromReference; } /** * Sets the value of the bitsFromReference property. * * @param value * allowed object is * {@link BigInteger } * */ public void setBitsFromReference(BigInteger value) { this.bitsFromReference = value; } /** * Gets the value of the reference property. * * @return * possible object is * {@link String } * */ public String getReference() { if (reference == null) { return "start"; } else { return reference; } } /** * Sets the value of the reference property. * * @param value * allowed object is * {@link String } * */ public void setReference(String value) { this.reference = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy