org.omg.space.xtce.BooleanDataType 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Contains a boolean value
*
* Java class for BooleanDataType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="BooleanDataType">
* <complexContent>
* <extension base="{http://www.omg.org/space/xtce}BaseDataType">
* <attribute name="initialValue" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="oneStringValue" type="{http://www.w3.org/2001/XMLSchema}string" default="True" />
* <attribute name="zeroStringValue" type="{http://www.w3.org/2001/XMLSchema}string" default="False" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BooleanDataType")
@XmlSeeAlso({
org.omg.space.xtce.ParameterTypeSetType.BooleanParameterType.class
})
public class BooleanDataType
extends BaseDataType
{
@XmlAttribute(name = "initialValue")
protected String initialValue;
@XmlAttribute(name = "oneStringValue")
protected String oneStringValue;
@XmlAttribute(name = "zeroStringValue")
protected String zeroStringValue;
/**
* 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 oneStringValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOneStringValue() {
if (oneStringValue == null) {
return "True";
} else {
return oneStringValue;
}
}
/**
* Sets the value of the oneStringValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOneStringValue(String value) {
this.oneStringValue = value;
}
/**
* Gets the value of the zeroStringValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getZeroStringValue() {
if (zeroStringValue == null) {
return "False";
} else {
return zeroStringValue;
}
}
/**
* Sets the value of the zeroStringValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setZeroStringValue(String value) {
this.zeroStringValue = value;
}
}