it.bz.opendatahub.alpinebits.xml.schema.ota.AccommodationClass 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Rail accommodation class with an associated attribute to capture additional enumerated values as agreed upon between trading partners.
*
* Java class for AccommodationClass complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AccommodationClass">
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>AccommodationClassEnum">
* <attribute name="extension" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccommodationClass", propOrder = {
"value"
})
public class AccommodationClass {
@XmlValue
protected AccommodationClassEnum value;
@XmlAttribute(name = "extension")
protected String extension;
/**
* Rail accommodation types with an "Other" value to support open enumeration list.
*
* @return
* possible object is
* {@link AccommodationClassEnum }
*
*/
public AccommodationClassEnum getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link AccommodationClassEnum }
*
*/
public void setValue(AccommodationClassEnum value) {
this.value = value;
}
/**
* Gets the value of the extension property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExtension() {
return extension;
}
/**
* Sets the value of the extension property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExtension(String value) {
this.extension = value;
}
}