it.bz.opendatahub.alpinebits.xml.schema.ota.TravelerRPHs Maven / Gradle / Ivy
//
// 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: 2020.10.22 at 07:23:30 PM GMT
//
package it.bz.opendatahub.alpinebits.xml.schema.ota;
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;
/**
* A container to relate individual travelers to an inventory or chargeable item.
*
* Java class for TravelerRPHs complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TravelerRPHs">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TravelerRPH" maxOccurs="99">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="RPH" use="required" type="{http://www.opentravel.org/OTA/2003/05}RPH_Type" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TravelerRPHs", propOrder = {
"travelerRPHs"
})
public class TravelerRPHs {
@XmlElement(name = "TravelerRPH", required = true)
protected List travelerRPHs;
/**
* Gets the value of the travelerRPHs 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 travelerRPHs property.
*
*
* For example, to add a new item, do as follows:
*
* getTravelerRPHs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TravelerRPHs.TravelerRPH }
*
*
*/
public List getTravelerRPHs() {
if (travelerRPHs == null) {
travelerRPHs = new ArrayList();
}
return this.travelerRPHs;
}
/**
* 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="RPH" use="required" type="{http://www.opentravel.org/OTA/2003/05}RPH_Type" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class TravelerRPH {
@XmlAttribute(name = "RPH", required = true)
protected String rph;
/**
* Gets the value of the rph property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRPH() {
return rph;
}
/**
* Sets the value of the rph property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRPH(String value) {
this.rph = value;
}
}
}