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

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

The newest version!

package org.iata.ndc.schema;

import java.math.BigInteger;
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.XmlID;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

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 ref="{http://www.iata.org/IATA/EDIST}SeatDisplayKey" minOccurs="0"/>
 *         <element name="Columns" maxOccurs="unbounded">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
 *                 <attribute name="Position" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *         <element name="Rows">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="First">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="Last">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="SectionSeatData" type="{http://www.iata.org/IATA/EDIST}SeatDataType" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Component" type="{http://www.iata.org/IATA/EDIST}SeatComponentType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.iata.org/IATA/EDIST}CabinType" minOccurs="0"/>
 *       </sequence>
 *       <attGroup ref="{http://www.iata.org/IATA/EDIST}ObjAssociationAttrGroup"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "seatDisplayKey", "columns", "rows", "component", "cabinType" }) @XmlRootElement(name = "SeatDisplay") public class SeatDisplay { @XmlElement(name = "SeatDisplayKey") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String seatDisplayKey; @XmlElement(name = "Columns", required = true) protected List columns; @XmlElement(name = "Rows", required = true) protected SeatDisplay.Rows rows; @XmlElement(name = "Component") protected List component; @XmlElement(name = "CabinType") protected CabinType cabinType; @XmlAttribute(name = "refs") @XmlIDREF protected List refs; /** * Gets the value of the seatDisplayKey property. * * @return * possible object is * {@link String } * */ public String getSeatDisplayKey() { return seatDisplayKey; } /** * Sets the value of the seatDisplayKey property. * * @param value * allowed object is * {@link String } * */ public void setSeatDisplayKey(String value) { this.seatDisplayKey = value; } /** * Gets the value of the columns 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 columns property. * *

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

     *    getColumns().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SeatDisplay.Columns } * * */ public List getColumns() { if (columns == null) { columns = new ArrayList(); } return this.columns; } /** * Gets the value of the rows property. * * @return * possible object is * {@link SeatDisplay.Rows } * */ public SeatDisplay.Rows getRows() { return rows; } /** * Sets the value of the rows property. * * @param value * allowed object is * {@link SeatDisplay.Rows } * */ public void setRows(SeatDisplay.Rows value) { this.rows = value; } /** * Gets the value of the component 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 component property. * *

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

     *    getComponent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SeatComponentType } * * */ public List getComponent() { if (component == null) { component = new ArrayList(); } return this.component; } /** * Gets the value of the cabinType property. * * @return * possible object is * {@link CabinType } * */ public CabinType getCabinType() { return cabinType; } /** * Sets the value of the cabinType property. * * @param value * allowed object is * {@link CabinType } * */ public void setCabinType(CabinType value) { this.cabinType = value; } /** * Gets the value of the refs 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 refs property. * *

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

     *    getRefs().add(newItem);
     * 
* * *

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

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <simpleContent>
     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
     *       <attribute name="Position" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Columns { @XmlValue protected String value; @XmlAttribute(name = "Position") protected String position; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the position property. * * @return * possible object is * {@link String } * */ public String getPosition() { return position; } /** * Sets the value of the position property. * * @param value * allowed object is * {@link String } * */ public void setPosition(String value) { this.position = 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="First">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="Last">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="SectionSeatData" type="{http://www.iata.org/IATA/EDIST}SeatDataType" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "first", "last", "sectionSeatData" }) public static class Rows { @XmlElement(name = "First", required = true) protected BigInteger first; @XmlElement(name = "Last", required = true) protected BigInteger last; @XmlElement(name = "SectionSeatData") protected SeatDataType sectionSeatData; /** * Gets the value of the first property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getFirst() { return first; } /** * Sets the value of the first property. * * @param value * allowed object is * {@link BigInteger } * */ public void setFirst(BigInteger value) { this.first = value; } /** * Gets the value of the last property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getLast() { return last; } /** * Sets the value of the last property. * * @param value * allowed object is * {@link BigInteger } * */ public void setLast(BigInteger value) { this.last = value; } /** * Gets the value of the sectionSeatData property. * * @return * possible object is * {@link SeatDataType } * */ public SeatDataType getSectionSeatData() { return sectionSeatData; } /** * Sets the value of the sectionSeatData property. * * @param value * allowed object is * {@link SeatDataType } * */ public void setSectionSeatData(SeatDataType value) { this.sectionSeatData = value; } } }