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

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


/**
 * Alarms associated with numeric data types
 * 
 * 

Java class for NumericAlarmType complex type. * *

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

 * <complexType name="NumericAlarmType">
 *   <complexContent>
 *     <extension base="{http://www.omg.org/space/xtce}AlarmType">
 *       <sequence>
 *         <element name="StaticAlarmRanges" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <extension base="{http://www.omg.org/space/xtce}AlarmRangesType">
 *                 <attribute name="alarmForm" default="inside">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="inside"/>
 *                       <enumeration value="outside"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </extension>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="ChangeAlarmRanges" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <extension base="{http://www.omg.org/space/xtce}AlarmRangesType">
 *                 <attribute name="changeType" default="changePerSecond">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="changePerSecond"/>
 *                       <enumeration value="changePerSample"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="changeBasis" default="absoluteChange">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="absoluteChange"/>
 *                       <enumeration value="percentageChange"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="spanOfInterestInSamples" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1" />
 *                 <attribute name="spanOfInterestInSeconds" type="{http://www.w3.org/2001/XMLSchema}decimal" default="0" />
 *               </extension>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "NumericAlarmType", propOrder = { "staticAlarmRanges", "changeAlarmRanges" }) @XmlSeeAlso({ NumericContextAlarmType.class }) public class NumericAlarmType extends AlarmType { @XmlElement(name = "StaticAlarmRanges") protected NumericAlarmType.StaticAlarmRanges staticAlarmRanges; @XmlElement(name = "ChangeAlarmRanges") protected NumericAlarmType.ChangeAlarmRanges changeAlarmRanges; /** * Gets the value of the staticAlarmRanges property. * * @return * possible object is * {@link NumericAlarmType.StaticAlarmRanges } * */ public NumericAlarmType.StaticAlarmRanges getStaticAlarmRanges() { return staticAlarmRanges; } /** * Sets the value of the staticAlarmRanges property. * * @param value * allowed object is * {@link NumericAlarmType.StaticAlarmRanges } * */ public void setStaticAlarmRanges(NumericAlarmType.StaticAlarmRanges value) { this.staticAlarmRanges = value; } /** * Gets the value of the changeAlarmRanges property. * * @return * possible object is * {@link NumericAlarmType.ChangeAlarmRanges } * */ public NumericAlarmType.ChangeAlarmRanges getChangeAlarmRanges() { return changeAlarmRanges; } /** * Sets the value of the changeAlarmRanges property. * * @param value * allowed object is * {@link NumericAlarmType.ChangeAlarmRanges } * */ public void setChangeAlarmRanges(NumericAlarmType.ChangeAlarmRanges value) { this.changeAlarmRanges = 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}AlarmRangesType">
     *       <attribute name="changeType" default="changePerSecond">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="changePerSecond"/>
     *             <enumeration value="changePerSample"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="changeBasis" default="absoluteChange">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="absoluteChange"/>
     *             <enumeration value="percentageChange"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="spanOfInterestInSamples" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1" />
     *       <attribute name="spanOfInterestInSeconds" type="{http://www.w3.org/2001/XMLSchema}decimal" default="0" />
     *     </extension>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class ChangeAlarmRanges extends AlarmRangesType { @XmlAttribute(name = "changeType") protected String changeType; @XmlAttribute(name = "changeBasis") protected String changeBasis; @XmlAttribute(name = "spanOfInterestInSamples") @XmlSchemaType(name = "positiveInteger") protected BigInteger spanOfInterestInSamples; @XmlAttribute(name = "spanOfInterestInSeconds") protected BigDecimal spanOfInterestInSeconds; /** * Gets the value of the changeType property. * * @return * possible object is * {@link String } * */ public String getChangeType() { if (changeType == null) { return "changePerSecond"; } else { return changeType; } } /** * Sets the value of the changeType property. * * @param value * allowed object is * {@link String } * */ public void setChangeType(String value) { this.changeType = value; } /** * Gets the value of the changeBasis property. * * @return * possible object is * {@link String } * */ public String getChangeBasis() { if (changeBasis == null) { return "absoluteChange"; } else { return changeBasis; } } /** * Sets the value of the changeBasis property. * * @param value * allowed object is * {@link String } * */ public void setChangeBasis(String value) { this.changeBasis = value; } /** * Gets the value of the spanOfInterestInSamples property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSpanOfInterestInSamples() { if (spanOfInterestInSamples == null) { return new BigInteger("1"); } else { return spanOfInterestInSamples; } } /** * Sets the value of the spanOfInterestInSamples property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSpanOfInterestInSamples(BigInteger value) { this.spanOfInterestInSamples = value; } /** * Gets the value of the spanOfInterestInSeconds property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getSpanOfInterestInSeconds() { if (spanOfInterestInSeconds == null) { return new BigDecimal("0"); } else { return spanOfInterestInSeconds; } } /** * Sets the value of the spanOfInterestInSeconds property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setSpanOfInterestInSeconds(BigDecimal value) { this.spanOfInterestInSeconds = 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}AlarmRangesType">
     *       <attribute name="alarmForm" default="inside">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="inside"/>
     *             <enumeration value="outside"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </extension>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class StaticAlarmRanges extends AlarmRangesType { @XmlAttribute(name = "alarmForm") protected String alarmForm; /** * Gets the value of the alarmForm property. * * @return * possible object is * {@link String } * */ public String getAlarmForm() { if (alarmForm == null) { return "inside"; } else { return alarmForm; } } /** * Sets the value of the alarmForm property. * * @param value * allowed object is * {@link String } * */ public void setAlarmForm(String value) { this.alarmForm = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy