
io.fixprotocol._2016.fixinterfaces.RoleT Maven / Gradle / Ivy
//
// 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: 2018.03.13 at 02:22:22 PM CDT
//
package io.fixprotocol._2016.fixinterfaces;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for role_t.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="role_t">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="initiator"/>
* <enumeration value="acceptor"/>
* <enumeration value="client"/>
* <enumeration value="server"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "role_t")
@XmlEnum
public enum RoleT {
@XmlEnumValue("initiator")
INITIATOR("initiator"),
@XmlEnumValue("acceptor")
ACCEPTOR("acceptor"),
@XmlEnumValue("client")
CLIENT("client"),
@XmlEnumValue("server")
SERVER("server");
private final String value;
RoleT(String v) {
value = v;
}
public String value() {
return value;
}
public static RoleT fromValue(String v) {
for (RoleT c: RoleT.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy