org.omg.space.xtce.SimpleAlgorithmType Maven / Gradle / Ivy
Show all versions of xtcetools Show documentation
//
// 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.util.ArrayList;
import java.util.List;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* The simplest form of algorithm, a SimpleAlgorithmType contains an area for a free-form pseudo code description of the algorithm plus a Set of references to external algorithms. External algorithms are usually unique to a ground system type. Multiple external algorithms are possible because XTCE documents may be used across multiple ground systems.
*
* Java class for SimpleAlgorithmType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SimpleAlgorithmType">
* <complexContent>
* <extension base="{http://www.omg.org/space/xtce}NameDescriptionType">
* <sequence>
* <element name="AlgorithmText" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}string" default="pseudo" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* <element name="ExternalAlgorithmSet" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ExternalAlgorithm" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="implementationName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="algorithmLocation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SimpleAlgorithmType", propOrder = {
"algorithmText",
"externalAlgorithmSet"
})
@XmlSeeAlso({
InputAlgorithmType.class
})
public class SimpleAlgorithmType
extends NameDescriptionType
{
@XmlElement(name = "AlgorithmText")
protected SimpleAlgorithmType.AlgorithmText algorithmText;
@XmlElement(name = "ExternalAlgorithmSet")
protected SimpleAlgorithmType.ExternalAlgorithmSet externalAlgorithmSet;
/**
* Gets the value of the algorithmText property.
*
* @return
* possible object is
* {@link SimpleAlgorithmType.AlgorithmText }
*
*/
public SimpleAlgorithmType.AlgorithmText getAlgorithmText() {
return algorithmText;
}
/**
* Sets the value of the algorithmText property.
*
* @param value
* allowed object is
* {@link SimpleAlgorithmType.AlgorithmText }
*
*/
public void setAlgorithmText(SimpleAlgorithmType.AlgorithmText value) {
this.algorithmText = value;
}
/**
* Gets the value of the externalAlgorithmSet property.
*
* @return
* possible object is
* {@link SimpleAlgorithmType.ExternalAlgorithmSet }
*
*/
public SimpleAlgorithmType.ExternalAlgorithmSet getExternalAlgorithmSet() {
return externalAlgorithmSet;
}
/**
* Sets the value of the externalAlgorithmSet property.
*
* @param value
* allowed object is
* {@link SimpleAlgorithmType.ExternalAlgorithmSet }
*
*/
public void setExternalAlgorithmSet(SimpleAlgorithmType.ExternalAlgorithmSet value) {
this.externalAlgorithmSet = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}string" default="pseudo" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class AlgorithmText {
@XmlValue
protected String value;
@XmlAttribute(name = "language")
protected String language;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
if (language == null) {
return "pseudo";
} else {
return language;
}
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(String value) {
this.language = 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="ExternalAlgorithm" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="implementationName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="algorithmLocation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"externalAlgorithm"
})
public static class ExternalAlgorithmSet {
@XmlElement(name = "ExternalAlgorithm", required = true)
protected List externalAlgorithm;
/**
* Gets the value of the externalAlgorithm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the externalAlgorithm property.
*
*
* For example, to add a new item, do as follows:
*
* getExternalAlgorithm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SimpleAlgorithmType.ExternalAlgorithmSet.ExternalAlgorithm }
*
*
*/
public List getExternalAlgorithm() {
if (externalAlgorithm == null) {
externalAlgorithm = new ArrayList();
}
return this.externalAlgorithm;
}
/**
* 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="implementationName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="algorithmLocation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class ExternalAlgorithm {
@XmlAttribute(name = "implementationName", required = true)
protected String implementationName;
@XmlAttribute(name = "algorithmLocation", required = true)
protected String algorithmLocation;
/**
* Gets the value of the implementationName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getImplementationName() {
return implementationName;
}
/**
* Sets the value of the implementationName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setImplementationName(String value) {
this.implementationName = value;
}
/**
* Gets the value of the algorithmLocation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlgorithmLocation() {
return algorithmLocation;
}
/**
* Sets the value of the algorithmLocation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlgorithmLocation(String value) {
this.algorithmLocation = value;
}
}
}
}