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

io.github.oliviercailloux.xmcda_2_2_1_jaxb.X2AlternativesMatrix 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;


/**
 * Generic type for a matrix on alternatives.
 * 
 * 

Java class for alternativesMatrix complex type. * *

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

 * <complexType name="alternativesMatrix">
 *   <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="row" maxOccurs="unbounded">
 *           <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"/>
 *                   <choice>
 *                     <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"/>
 *                   </choice>
 *                   <element name="column" maxOccurs="unbounded">
 *                     <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"/>
 *                             <choice>
 *                               <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"/>
 *                             </choice>
 *                             <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value" minOccurs="0"/>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *                 <attGroup ref="{http://www.decision-deck.org/2012/XMCDA-2.2.1}defaultAttributes"/>
 *               </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 = "alternativesMatrix", propOrder = { "description", "valuation", "row" }) public class X2AlternativesMatrix { protected X2Description description; protected X2Scale valuation; @XmlElement(required = true) protected List row; @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 row 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 row property. * *

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

     *    getRow().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link X2AlternativesMatrix.Row } * * */ public List getRow() { if (row == null) { row = new ArrayList(); } return this.row; } /** * 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 row of a matrix. * *

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"/>
     *         <choice>
     *           <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"/>
     *         </choice>
     *         <element name="column" maxOccurs="unbounded">
     *           <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"/>
     *                   <choice>
     *                     <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"/>
     *                   </choice>
     *                   <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value" minOccurs="0"/>
     *                 </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 = "", propOrder = { "description", "alternativeID", "alternativesSetID", "alternativesSet", "column" }) public static class Row { protected X2Description description; protected String alternativeID; protected String alternativesSetID; protected X2AlternativesSet alternativesSet; @XmlElement(required = true) protected List column; @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 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 column 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 column property. * *

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

         *    getColumn().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link X2AlternativesMatrix.Row.Column } * * */ public List getColumn() { if (column == null) { column = new ArrayList(); } return this.column; } /** * 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"/>
         *         <choice>
         *           <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"/>
         *         </choice>
         *         <element name="value" type="{http://www.decision-deck.org/2012/XMCDA-2.2.1}value" minOccurs="0"/>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "description", "alternativeID", "alternativesSetID", "alternativesSet", "value" }) public static class Column { protected X2Description description; protected String alternativeID; protected String alternativesSetID; protected X2AlternativesSet alternativesSet; protected X2Value value; /** * 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 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 value property. * * @return * possible object is * {@link X2Value } * */ public X2Value getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link X2Value } * */ public void setValue(X2Value value) { this.value = value; } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy