travel.wink.ws.allotz.TravelerRPHs Maven / Gradle / Ivy
package travel.wink.ws.allotz;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.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.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TravelerRPHs", propOrder = {
"travelerRPH"
})
public class TravelerRPHs {
@XmlElement(name = "TravelerRPH", required = true)
protected List travelerRPH;
/**
* Gets the value of the travelerRPH 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the travelerRPH property.
*
*
* For example, to add a new item, do as follows:
*
* getTravelerRPH().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TravelerRPHs.TravelerRPH }
*
*
* @return
* The value of the travelerRPH property.
*/
public List getTravelerRPH() {
if (travelerRPH == null) {
travelerRPH = new ArrayList<>();
}
return this.travelerRPH;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
* }
*
*
*/
@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;
}
}
}