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

org.xmcda.v2.AttributesComparisons Maven / Gradle / Ivy

There is a newer version: 0.9
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
// 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.30 at 02:37:50 PM CET 
//


package org.xmcda.v2;

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 attributes.
 * 
 * 

Java class for attributesComparisons complex type. * *

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

 * <complexType name="attributesComparisons">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="description" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}description" minOccurs="0"/>
 *         <element name="valuation" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}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/2019/XMCDA-2.2.3}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/2019/XMCDA-2.2.3}description" minOccurs="0"/>
 *                             <element name="initial" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}attributeReference"/>
 *                             <element name="terminal" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}attributeReference"/>
 *                             <choice maxOccurs="unbounded" minOccurs="0">
 *                               <element name="value" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}value"/>
 *                               <element name="values" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}values"/>
 *                             </choice>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{http://www.decision-deck.org/2019/XMCDA-2.2.3}defaultAttributes"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "attributesComparisons", propOrder = { "description", "valuation", "comparisonType", "pairs" }) public class AttributesComparisons { protected Description description; protected Scale valuation; protected String comparisonType; @XmlElement(required = true) protected AttributesComparisons.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 Description } * */ public Description getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link Description } * */ public void setDescription(Description value) { this.description = value; } /** * Gets the value of the valuation property. * * @return * possible object is * {@link Scale } * */ public Scale getValuation() { return valuation; } /** * Sets the value of the valuation property. * * @param value * allowed object is * {@link Scale } * */ public void setValuation(Scale 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 AttributesComparisons.Pairs } * */ public AttributesComparisons.Pairs getPairs() { return pairs; } /** * Sets the value of the pairs property. * * @param value * allowed object is * {@link AttributesComparisons.Pairs } * */ public void setPairs(AttributesComparisons.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/2019/XMCDA-2.2.3}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/2019/XMCDA-2.2.3}description" minOccurs="0"/>
     *                   <element name="initial" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}attributeReference"/>
     *                   <element name="terminal" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}attributeReference"/>
     *                   <choice maxOccurs="unbounded" minOccurs="0">
     *                     <element name="value" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}value"/>
     *                     <element name="values" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}values"/>
     *                   </choice>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "description", "pair" }) public static class Pairs { protected Description description; protected List pair; /** * Gets the value of the description property. * * @return * possible object is * {@link Description } * */ public Description getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link Description } * */ public void setDescription(Description 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 AttributesComparisons.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/2019/XMCDA-2.2.3}description" minOccurs="0"/>
         *         <element name="initial" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}attributeReference"/>
         *         <element name="terminal" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}attributeReference"/>
         *         <choice maxOccurs="unbounded" minOccurs="0">
         *           <element name="value" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}value"/>
         *           <element name="values" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}values"/>
         *         </choice>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "description", "initial", "terminal", "valueOrValues" }) public static class Pair { protected Description description; @XmlElement(required = true) protected AttributeReference initial; @XmlElement(required = true) protected AttributeReference terminal; @XmlElements({ @XmlElement(name = "value", type = Value.class), @XmlElement(name = "values", type = Values.class) }) protected List valueOrValues; /** * Gets the value of the description property. * * @return * possible object is * {@link Description } * */ public Description getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link Description } * */ public void setDescription(Description value) { this.description = value; } /** * Gets the value of the initial property. * * @return * possible object is * {@link AttributeReference } * */ public AttributeReference getInitial() { return initial; } /** * Sets the value of the initial property. * * @param value * allowed object is * {@link AttributeReference } * */ public void setInitial(AttributeReference value) { this.initial = value; } /** * Gets the value of the terminal property. * * @return * possible object is * {@link AttributeReference } * */ public AttributeReference getTerminal() { return terminal; } /** * Sets the value of the terminal property. * * @param value * allowed object is * {@link AttributeReference } * */ public void setTerminal(AttributeReference value) { this.terminal = value; } /** * Gets the value of the valueOrValues 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 valueOrValues property. * *

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

             *    getValueOrValues().add(newItem);
             * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Value } * {@link Values } * * */ public List getValueOrValues() { if (valueOrValues == null) { valueOrValues = new ArrayList(); } return this.valueOrValues; } } } }