mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-01 08:40:52 +00:00
59 lines
1.5 KiB
Java
Executable File
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>
|
|
* <simpleType name="MatchRaceEntry">
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
* <enumeration value="Port"/>
|
|
* <enumeration value="Starboard"/>
|
|
* </restriction>
|
|
* </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);
|
|
}
|
|
|
|
}
|