io.aesy.musicbrainz.entity.DefDirection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of musicbrainz-api-entities Show documentation
Show all versions of musicbrainz-api-entities Show documentation
MusicBrainz API data transfer objects
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.04.01 at 01:10:33 AM CEST
//
package io.aesy.musicbrainz.entity;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for def_direction.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="def_direction">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="both"/>
* <enumeration value="forward"/>
* <enumeration value="backward"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "def_direction")
@XmlEnum
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
public enum DefDirection {
@XmlEnumValue("both")
BOTH("both"),
@XmlEnumValue("forward")
FORWARD("forward"),
@XmlEnumValue("backward")
BACKWARD("backward");
private final String value;
DefDirection(String v) {
value = v;
}
public String value() {
return value;
}
public static DefDirection fromValue(String v) {
for (DefDirection c: DefDirection.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy