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

org.iata.ndc.schema.NamedAssoc Maven / Gradle / Ivy

The newest version!

package org.iata.ndc.schema;

import java.math.BigInteger;
import java.util.ArrayList;
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.XmlIDREF;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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="Group" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="GroupKeyRef" type="{http://www.iata.org/IATA/EDIST}InstanceClassRefSimpleType" />
 *                 <attribute name="TokenRef" type="{http://www.iata.org/IATA/EDIST}TokenID_SimpleType" />
 *                 <attribute name="Seq" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="List" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="ListKeyRef" type="{http://www.iata.org/IATA/EDIST}InstanceClassRefSimpleType" />
 *                 <attribute name="TokenRef" type="{http://www.iata.org/IATA/EDIST}TokenID_SimpleType" />
 *                 <attribute name="Seq" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="UniqueKeyID" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="UniqueID_Ref" use="required" type="{http://www.iata.org/IATA/EDIST}UniqueID_SimpleType" />
 *                 <attribute name="Seq" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="Target" use="required" type="{http://www.iata.org/IATA/EDIST}ContextSimpleType" />
 *       <attribute name="KeyRef" type="{http://www.iata.org/IATA/EDIST}InstanceClassRefSimpleType" />
 *       <attribute name="From" type="{http://www.iata.org/IATA/EDIST}ContextSimpleType" />
 *       <attribute name="Seq" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "group", "list", "uniqueKeyID" }) public class NamedAssoc { @XmlElement(name = "Group") protected java.util.List group; @XmlElement(name = "List") protected java.util.List list; @XmlElement(name = "UniqueKeyID") protected java.util.List uniqueKeyID; @XmlAttribute(name = "Target", required = true) protected String target; @XmlAttribute(name = "KeyRef") @XmlIDREF protected java.util.List keyRef; @XmlAttribute(name = "From") protected String from; @XmlAttribute(name = "Seq") protected BigInteger seq; /** * Gets the value of the group 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 group property. * *

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

     *    getGroup().add(newItem);
     * 
* * *

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

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

     *    getList().add(newItem);
     * 
* * *

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

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

     *    getUniqueKeyID().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NamedAssoc.UniqueKeyID } * * */ public java.util.List getUniqueKeyID() { if (uniqueKeyID == null) { uniqueKeyID = new ArrayList(); } return this.uniqueKeyID; } /** * Gets the value of the target property. * * @return * possible object is * {@link String } * */ public String getTarget() { return target; } /** * Sets the value of the target property. * * @param value * allowed object is * {@link String } * */ public void setTarget(String value) { this.target = value; } /** * Gets the value of the keyRef 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 keyRef property. * *

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

     *    getKeyRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public java.util.List getKeyRef() { if (keyRef == null) { keyRef = new ArrayList(); } return this.keyRef; } /** * Gets the value of the from property. * * @return * possible object is * {@link String } * */ public String getFrom() { return from; } /** * Sets the value of the from property. * * @param value * allowed object is * {@link String } * */ public void setFrom(String value) { this.from = value; } /** * Gets the value of the seq property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSeq() { return seq; } /** * Sets the value of the seq property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSeq(BigInteger value) { this.seq = 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">
     *       <attribute name="GroupKeyRef" type="{http://www.iata.org/IATA/EDIST}InstanceClassRefSimpleType" />
     *       <attribute name="TokenRef" type="{http://www.iata.org/IATA/EDIST}TokenID_SimpleType" />
     *       <attribute name="Seq" type="{http://www.w3.org/2001/XMLSchema}integer" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Group { @XmlAttribute(name = "GroupKeyRef") @XmlIDREF protected java.util.List groupKeyRef; @XmlAttribute(name = "TokenRef") protected String tokenRef; @XmlAttribute(name = "Seq") protected BigInteger seq; /** * Gets the value of the groupKeyRef 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 groupKeyRef property. * *

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

         *    getGroupKeyRef().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public java.util.List getGroupKeyRef() { if (groupKeyRef == null) { groupKeyRef = new ArrayList(); } return this.groupKeyRef; } /** * Gets the value of the tokenRef property. * * @return * possible object is * {@link String } * */ public String getTokenRef() { return tokenRef; } /** * Sets the value of the tokenRef property. * * @param value * allowed object is * {@link String } * */ public void setTokenRef(String value) { this.tokenRef = value; } /** * Gets the value of the seq property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSeq() { return seq; } /** * Sets the value of the seq property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSeq(BigInteger value) { this.seq = 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">
     *       <attribute name="ListKeyRef" type="{http://www.iata.org/IATA/EDIST}InstanceClassRefSimpleType" />
     *       <attribute name="TokenRef" type="{http://www.iata.org/IATA/EDIST}TokenID_SimpleType" />
     *       <attribute name="Seq" type="{http://www.w3.org/2001/XMLSchema}integer" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class List { @XmlAttribute(name = "ListKeyRef") @XmlIDREF protected java.util.List listKeyRef; @XmlAttribute(name = "TokenRef") protected String tokenRef; @XmlAttribute(name = "Seq") protected BigInteger seq; /** * Gets the value of the listKeyRef 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 listKeyRef property. * *

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

         *    getListKeyRef().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public java.util.List getListKeyRef() { if (listKeyRef == null) { listKeyRef = new ArrayList(); } return this.listKeyRef; } /** * Gets the value of the tokenRef property. * * @return * possible object is * {@link String } * */ public String getTokenRef() { return tokenRef; } /** * Sets the value of the tokenRef property. * * @param value * allowed object is * {@link String } * */ public void setTokenRef(String value) { this.tokenRef = value; } /** * Gets the value of the seq property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSeq() { return seq; } /** * Sets the value of the seq property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSeq(BigInteger value) { this.seq = 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">
     *       <attribute name="UniqueID_Ref" use="required" type="{http://www.iata.org/IATA/EDIST}UniqueID_SimpleType" />
     *       <attribute name="Seq" type="{http://www.w3.org/2001/XMLSchema}integer" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class UniqueKeyID { @XmlAttribute(name = "UniqueID_Ref", required = true) protected String uniqueIDRef; @XmlAttribute(name = "Seq") protected BigInteger seq; /** * Gets the value of the uniqueIDRef property. * * @return * possible object is * {@link String } * */ public String getUniqueIDRef() { return uniqueIDRef; } /** * Sets the value of the uniqueIDRef property. * * @param value * allowed object is * {@link String } * */ public void setUniqueIDRef(String value) { this.uniqueIDRef = value; } /** * Gets the value of the seq property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSeq() { return seq; } /** * Sets the value of the seq property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSeq(BigInteger value) { this.seq = value; } } }