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

it.bz.opendatahub.alpinebits.xml.schema.ota.RailPassengerOccupationEnum Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
//
// 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.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for RailPassengerOccupationEnum. * *

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

*

 * <simpleType name="RailPassengerOccupationEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="NotSignificant"/>
 *     <enumeration value="RailEmployee"/>
 *     <enumeration value="GovernmentEmployee"/>
 *     <enumeration value="Farmer"/>
 *     <enumeration value="Military"/>
 *     <enumeration value="Journalist"/>
 *     <enumeration value="Student"/>
 *     <enumeration value="VIP"/>
 *     <enumeration value="Other_"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "RailPassengerOccupationEnum") @XmlEnum public enum RailPassengerOccupationEnum { @XmlEnumValue("NotSignificant") NOT_SIGNIFICANT("NotSignificant"), @XmlEnumValue("RailEmployee") RAIL_EMPLOYEE("RailEmployee"), @XmlEnumValue("GovernmentEmployee") GOVERNMENT_EMPLOYEE("GovernmentEmployee"), @XmlEnumValue("Farmer") FARMER("Farmer"), @XmlEnumValue("Military") MILITARY("Military"), @XmlEnumValue("Journalist") JOURNALIST("Journalist"), @XmlEnumValue("Student") STUDENT("Student"), VIP("VIP"), @XmlEnumValue("Other_") OTHER("Other_"); private final String value; RailPassengerOccupationEnum(String v) { value = v; } public String value() { return value; } public static RailPassengerOccupationEnum fromValue(String v) { for (RailPassengerOccupationEnum c: RailPassengerOccupationEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy