org.omg.space.xtce.SignificanceType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtcetools Show documentation
Show all versions of xtcetools Show documentation
This project contains software to support the Object Management Group (OMG) Space Domain Task Force (SDTF) maintained XML Telemetry and Command Exchange (XTCE) specification.
//
// 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Significance provides some cautionary information about the potential consequence of each MetaCommand.
*
* Java class for SignificanceType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SignificanceType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="spaceSystemAtRisk" type="{http://www.omg.org/space/xtce}NameReferenceType" />
* <attribute name="reasonForWarning" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="consequenceLevel" default="none">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="none"/>
* <enumeration value="watch"/>
* <enumeration value="warning"/>
* <enumeration value="distress"/>
* <enumeration value="critical"/>
* <enumeration value="severe"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SignificanceType")
public class SignificanceType {
@XmlAttribute(name = "spaceSystemAtRisk")
protected String spaceSystemAtRisk;
@XmlAttribute(name = "reasonForWarning")
protected String reasonForWarning;
@XmlAttribute(name = "consequenceLevel")
protected String consequenceLevel;
/**
* Gets the value of the spaceSystemAtRisk property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpaceSystemAtRisk() {
return spaceSystemAtRisk;
}
/**
* Sets the value of the spaceSystemAtRisk property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpaceSystemAtRisk(String value) {
this.spaceSystemAtRisk = value;
}
/**
* Gets the value of the reasonForWarning property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReasonForWarning() {
return reasonForWarning;
}
/**
* Sets the value of the reasonForWarning property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReasonForWarning(String value) {
this.reasonForWarning = value;
}
/**
* Gets the value of the consequenceLevel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConsequenceLevel() {
if (consequenceLevel == null) {
return "none";
} else {
return consequenceLevel;
}
}
/**
* Sets the value of the consequenceLevel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConsequenceLevel(String value) {
this.consequenceLevel = value;
}
}