All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.oliviercailloux.xmcda_2_2_1_jaxb.X2AlternativesLinearConstraints Maven / Gradle / Ivy

Go to download

Java source for (un)marshalling XMCDA-2.2.1 files, JAXB-generated from the schema.

The newest version!
//
// 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.XmlType;


/**
 * Represents a set of linear constraints on the alternatives.
 * 
 * 

Java class for alternativesLinearConstraints complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="alternativesLinearConstraints">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="constraint" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="constraintNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *                   <element name="element" maxOccurs="unbounded">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <choice minOccurs="0">
 *                               <element name="alternativeID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                               <element name="alternativesSetID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                               <element name="alternativesSet" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}alternativesSet"/>
 *                               <element name="variable" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}variable"/>
 *                             </choice>
 *                             <element name="coefficient" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}numericValue"/>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="rhs" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}numericValue"/>
 *                   <element name="operator" minOccurs="0">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                         <enumeration value="geq"/>
 *                         <enumeration value="eq"/>
 *                         <enumeration value="leq"/>
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value" maxOccurs="unbounded" minOccurs="0"/>
 *                   <element name="values" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}values" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attGroup ref="{http://www.decision-deck.org/2012/XMCDA-2.2.1}defaultAttributes"/>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="operator" minOccurs="0">
 *           <simpleType>
 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               <enumeration value="geq"/>
 *               <enumeration value="eq"/>
 *               <enumeration value="leq"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{http://www.decision-deck.org/2012/XMCDA-2.2.1}defaultAttributes"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "alternativesLinearConstraints", propOrder = { "constraint", "operator" }) public class X2AlternativesLinearConstraints { protected List constraint; protected String operator; @XmlAttribute(name = "id") protected String id; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "mcdaConcept") protected String mcdaConcept; /** * Gets the value of the constraint 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 constraint property. * *

* For example, to add a new item, do as follows: *

     *    getConstraint().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link X2AlternativesLinearConstraints.Constraint } * * */ public List getConstraint() { if (constraint == null) { constraint = new ArrayList(); } return this.constraint; } /** * Gets the value of the operator property. * * @return * possible object is * {@link String } * */ public String getOperator() { return operator; } /** * Sets the value of the operator property. * * @param value * allowed object is * {@link String } * */ public void setOperator(String value) { this.operator = 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; } /** * A linear constraint related to alternatives. * *

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="constraintNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
     *         <element name="element" maxOccurs="unbounded">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence>
     *                   <choice minOccurs="0">
     *                     <element name="alternativeID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                     <element name="alternativesSetID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                     <element name="alternativesSet" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}alternativesSet"/>
     *                     <element name="variable" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}variable"/>
     *                   </choice>
     *                   <element name="coefficient" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}numericValue"/>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *         <element name="rhs" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}numericValue"/>
     *         <element name="operator" minOccurs="0">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *               <enumeration value="geq"/>
     *               <enumeration value="eq"/>
     *               <enumeration value="leq"/>
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value" maxOccurs="unbounded" minOccurs="0"/>
     *         <element name="values" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}values" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *       <attGroup ref="{http://www.decision-deck.org/2012/XMCDA-2.2.1}defaultAttributes"/>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "constraintNumber", "element", "rhs", "operator", "value", "values" }) public static class Constraint { protected Integer constraintNumber; @XmlElement(required = true) protected List element; @XmlElement(required = true) protected X2NumericValue rhs; protected String operator; protected List value; protected List values; @XmlAttribute(name = "id") protected String id; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "mcdaConcept") protected String mcdaConcept; /** * Gets the value of the constraintNumber property. * * @return * possible object is * {@link Integer } * */ public Integer getConstraintNumber() { return constraintNumber; } /** * Sets the value of the constraintNumber property. * * @param value * allowed object is * {@link Integer } * */ public void setConstraintNumber(Integer value) { this.constraintNumber = value; } /** * Gets the value of the element 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 element property. * *

* For example, to add a new item, do as follows: *

         *    getElement().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link X2AlternativesLinearConstraints.Constraint.Element } * * */ public List getElement() { if (element == null) { element = new ArrayList(); } return this.element; } /** * Gets the value of the rhs property. * * @return * possible object is * {@link X2NumericValue } * */ public X2NumericValue getRhs() { return rhs; } /** * Sets the value of the rhs property. * * @param value * allowed object is * {@link X2NumericValue } * */ public void setRhs(X2NumericValue value) { this.rhs = value; } /** * Gets the value of the operator property. * * @return * possible object is * {@link String } * */ public String getOperator() { return operator; } /** * Sets the value of the operator property. * * @param value * allowed object is * {@link String } * */ public void setOperator(String value) { this.operator = value; } /** * Gets the value of the value 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 value property. * *

* For example, to add a new item, do as follows: *

         *    getValue().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link X2Value } * * */ public List getValue() { if (value == null) { value = new ArrayList(); } return this.value; } /** * Gets the value of the values 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 values property. * *

* For example, to add a new item, do as follows: *

         *    getValues().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link X2Values } * * */ public List getValues() { if (values == null) { values = new ArrayList(); } return this.values; } /** * 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>
         *         <choice minOccurs="0">
         *           <element name="alternativeID" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *           <element name="alternativesSetID" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *           <element name="alternativesSet" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}alternativesSet"/>
         *           <element name="variable" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}variable"/>
         *         </choice>
         *         <element name="coefficient" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}numericValue"/>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "alternativeID", "alternativesSetID", "alternativesSet", "variable", "coefficient" }) public static class Element { protected String alternativeID; protected String alternativesSetID; protected X2AlternativesSet alternativesSet; protected X2Variable variable; @XmlElement(required = true) protected X2NumericValue coefficient; /** * Gets the value of the alternativeID property. * * @return * possible object is * {@link String } * */ public String getAlternativeID() { return alternativeID; } /** * Sets the value of the alternativeID property. * * @param value * allowed object is * {@link String } * */ public void setAlternativeID(String value) { this.alternativeID = value; } /** * Gets the value of the alternativesSetID property. * * @return * possible object is * {@link String } * */ public String getAlternativesSetID() { return alternativesSetID; } /** * Sets the value of the alternativesSetID property. * * @param value * allowed object is * {@link String } * */ public void setAlternativesSetID(String value) { this.alternativesSetID = value; } /** * Gets the value of the alternativesSet property. * * @return * possible object is * {@link X2AlternativesSet } * */ public X2AlternativesSet getAlternativesSet() { return alternativesSet; } /** * Sets the value of the alternativesSet property. * * @param value * allowed object is * {@link X2AlternativesSet } * */ public void setAlternativesSet(X2AlternativesSet value) { this.alternativesSet = value; } /** * Gets the value of the variable property. * * @return * possible object is * {@link X2Variable } * */ public X2Variable getVariable() { return variable; } /** * Sets the value of the variable property. * * @param value * allowed object is * {@link X2Variable } * */ public void setVariable(X2Variable value) { this.variable = value; } /** * Gets the value of the coefficient property. * * @return * possible object is * {@link X2NumericValue } * */ public X2NumericValue getCoefficient() { return coefficient; } /** * Sets the value of the coefficient property. * * @param value * allowed object is * {@link X2NumericValue } * */ public void setCoefficient(X2NumericValue value) { this.coefficient = value; } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy