Files
sailing-analytics/java/com.sap.sailing.xrr.schema/src/com/sap/sailing/xrr/schema/MatchRaceEntry.java
T
2014-08-26 11:09:17 +02:00

59 lines
1.5 KiB
Java
Executable File

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.03.15 at 04:56:46 PM CET
//
package com.sap.sailing.xrr.schema;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for MatchRaceEntry.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="MatchRaceEntry">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="Port"/>
* &lt;enumeration value="Starboard"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlType(name = "MatchRaceEntry")
@XmlEnum
public enum MatchRaceEntry {
@XmlEnumValue("Port")
PORT("Port"),
@XmlEnumValue("Starboard")
STARBOARD("Starboard");
private final String value;
MatchRaceEntry(String v) {
value = v;
}
public String value() {
return value;
}
public static MatchRaceEntry fromValue(String v) {
for (MatchRaceEntry c: MatchRaceEntry.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}