org.omg.space.xtce.MatchCriteriaType 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.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Contains either a simple Comparison, a ComparisonList, an arbitrarily complex BooleanExpression or an escape to an externally defined algorithm
*
* Java class for MatchCriteriaType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MatchCriteriaType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="Comparison" type="{http://www.omg.org/space/xtce}ComparisonType"/>
* <element name="ComparisonList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Comparison" type="{http://www.omg.org/space/xtce}ComparisonType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="BooleanExpression" type="{http://www.omg.org/space/xtce}BooleanExpressionType"/>
* <element name="CustomAlgorithm" type="{http://www.omg.org/space/xtce}InputAlgorithmType"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MatchCriteriaType", propOrder = {
"comparison",
"comparisonList",
"booleanExpression",
"customAlgorithm"
})
@XmlSeeAlso({
org.omg.space.xtce.SequenceContainerType.BaseContainer.RestrictionCriteria.class,
org.omg.space.xtce.MetaCommandType.TransmissionConstraintList.TransmissionConstraint.class,
org.omg.space.xtce.CommandContainerType.BaseContainer.RestrictionCriteria.class,
org.omg.space.xtce.IntegerArgumentValueType.DiscreteLookupList.DiscreteLookup.class,
org.omg.space.xtce.IntegerValueType.DiscreteLookupList.DiscreteLookup.class
})
public class MatchCriteriaType {
@XmlElement(name = "Comparison")
protected ComparisonType comparison;
@XmlElement(name = "ComparisonList")
protected MatchCriteriaType.ComparisonList comparisonList;
@XmlElement(name = "BooleanExpression")
protected BooleanExpressionType booleanExpression;
@XmlElement(name = "CustomAlgorithm")
protected InputAlgorithmType customAlgorithm;
/**
* Gets the value of the comparison property.
*
* @return
* possible object is
* {@link ComparisonType }
*
*/
public ComparisonType getComparison() {
return comparison;
}
/**
* Sets the value of the comparison property.
*
* @param value
* allowed object is
* {@link ComparisonType }
*
*/
public void setComparison(ComparisonType value) {
this.comparison = value;
}
/**
* Gets the value of the comparisonList property.
*
* @return
* possible object is
* {@link MatchCriteriaType.ComparisonList }
*
*/
public MatchCriteriaType.ComparisonList getComparisonList() {
return comparisonList;
}
/**
* Sets the value of the comparisonList property.
*
* @param value
* allowed object is
* {@link MatchCriteriaType.ComparisonList }
*
*/
public void setComparisonList(MatchCriteriaType.ComparisonList value) {
this.comparisonList = value;
}
/**
* Gets the value of the booleanExpression property.
*
* @return
* possible object is
* {@link BooleanExpressionType }
*
*/
public BooleanExpressionType getBooleanExpression() {
return booleanExpression;
}
/**
* Sets the value of the booleanExpression property.
*
* @param value
* allowed object is
* {@link BooleanExpressionType }
*
*/
public void setBooleanExpression(BooleanExpressionType value) {
this.booleanExpression = value;
}
/**
* Gets the value of the customAlgorithm property.
*
* @return
* possible object is
* {@link InputAlgorithmType }
*
*/
public InputAlgorithmType getCustomAlgorithm() {
return customAlgorithm;
}
/**
* Sets the value of the customAlgorithm property.
*
* @param value
* allowed object is
* {@link InputAlgorithmType }
*
*/
public void setCustomAlgorithm(InputAlgorithmType value) {
this.customAlgorithm = 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="Comparison" type="{http://www.omg.org/space/xtce}ComparisonType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"comparison"
})
public static class ComparisonList {
@XmlElement(name = "Comparison", required = true)
protected List comparison;
/**
* Gets the value of the comparison 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 comparison property.
*
*
* For example, to add a new item, do as follows:
*
* getComparison().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ComparisonType }
*
*
*/
public List getComparison() {
if (comparison == null) {
comparison = new ArrayList();
}
return this.comparison;
}
}
}