net.sourceforge.ota_tools.jaxb.ota2010a.ping.CountryNameType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.12.31 at 04:22:27 PM PST
//
package net.sourceforge.ota_tools.jaxb.ota2010a.ping;
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;
/**
* The name or code of a country (e.g. as used in an address or to specify citizenship of a traveller).
*
* Java class for CountryNameType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CountryNameType">
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>StringLength0to64">
* <attribute name="Code" type="{http://www.opentravel.org/OTA/2003/05}ISO3166" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CountryNameType", propOrder = {
"value"
})
public class CountryNameType {
@XmlValue
protected String value;
@XmlAttribute(name = "Code")
protected String code;
/**
* Used for Character Strings, length 0 to 64.
*
* @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 code property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCode(String value) {
this.code = value;
}
}