io.github.oliviercailloux.xmcda_2_2_1_jaxb.X2CriteriaComparisons Maven / Gradle / Ivy
Show all versions of xmcda-2.2.1-jaxb Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.11.10 at 09:49:41 PM CET
//
package io.github.oliviercailloux.xmcda_2_2_1_jaxb;
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.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
* Generic type for valued binary relations on criteria.
*
* Java class for criteriaComparisons complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="criteriaComparisons">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}description" minOccurs="0"/>
* <element name="valuation" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}scale" minOccurs="0"/>
* <element name="comparisonType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="pairs">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}description" minOccurs="0"/>
* <element name="pair" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}description" minOccurs="0"/>
* <element name="initial" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}criterionReference"/>
* <element name="terminal" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}criterionReference"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value"/>
* <element name="values" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}values"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attGroup ref="{http://www.decision-deck.org/2012/XMCDA-2.2.1}defaultAttributes"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "criteriaComparisons", propOrder = {
"description",
"valuation",
"comparisonType",
"pairs"
})
public class X2CriteriaComparisons {
protected X2Description description;
protected X2Scale valuation;
protected String comparisonType;
@XmlElement(required = true)
protected X2CriteriaComparisons.Pairs pairs;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "mcdaConcept")
protected String mcdaConcept;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link X2Description }
*
*/
public X2Description getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link X2Description }
*
*/
public void setDescription(X2Description value) {
this.description = value;
}
/**
* Gets the value of the valuation property.
*
* @return
* possible object is
* {@link X2Scale }
*
*/
public X2Scale getValuation() {
return valuation;
}
/**
* Sets the value of the valuation property.
*
* @param value
* allowed object is
* {@link X2Scale }
*
*/
public void setValuation(X2Scale value) {
this.valuation = value;
}
/**
* Gets the value of the comparisonType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComparisonType() {
return comparisonType;
}
/**
* Sets the value of the comparisonType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComparisonType(String value) {
this.comparisonType = value;
}
/**
* Gets the value of the pairs property.
*
* @return
* possible object is
* {@link X2CriteriaComparisons.Pairs }
*
*/
public X2CriteriaComparisons.Pairs getPairs() {
return pairs;
}
/**
* Sets the value of the pairs property.
*
* @param value
* allowed object is
* {@link X2CriteriaComparisons.Pairs }
*
*/
public void setPairs(X2CriteriaComparisons.Pairs value) {
this.pairs = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the mcdaConcept property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMcdaConcept() {
return mcdaConcept;
}
/**
* Sets the value of the mcdaConcept property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMcdaConcept(String value) {
this.mcdaConcept = 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="description" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}description" minOccurs="0"/>
* <element name="pair" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}description" minOccurs="0"/>
* <element name="initial" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}criterionReference"/>
* <element name="terminal" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}criterionReference"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value"/>
* <element name="values" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}values"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"pair"
})
public static class Pairs {
protected X2Description description;
protected List pair;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link X2Description }
*
*/
public X2Description getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link X2Description }
*
*/
public void setDescription(X2Description value) {
this.description = value;
}
/**
* Gets the value of the pair 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 pair property.
*
*
* For example, to add a new item, do as follows:
*
* getPair().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link X2CriteriaComparisons.Pairs.Pair }
*
*
*/
public List getPair() {
if (pair == null) {
pair = new ArrayList();
}
return this.pair;
}
/**
* 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="description" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}description" minOccurs="0"/>
* <element name="initial" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}criterionReference"/>
* <element name="terminal" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}criterionReference"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value"/>
* <element name="values" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}values"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"initial",
"terminal",
"valueOrValues"
})
public static class Pair {
protected X2Description description;
@XmlElement(required = true)
protected X2CriterionReference initial;
@XmlElement(required = true)
protected X2CriterionReference terminal;
@XmlElements({
@XmlElement(name = "value", type = X2Value.class),
@XmlElement(name = "values", type = X2Values.class)
})
protected List