
io.fixprotocol._2016.fixrepository.PresenceT 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: 2016.12.16 at 01:24:30 PM CST
//
package io.fixprotocol._2016.fixrepository;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for presence_t.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="presence_t">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="optional"/>
* <enumeration value="required"/>
* <enumeration value="conditional"/>
* <enumeration value="forbidden"/>
* <enumeration value="ignored"/>
* <enumeration value="constant"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "presence_t")
@XmlEnum
public enum PresenceT {
@XmlEnumValue("optional")
OPTIONAL("optional"),
@XmlEnumValue("required")
REQUIRED("required"),
@XmlEnumValue("conditional")
CONDITIONAL("conditional"),
@XmlEnumValue("forbidden")
FORBIDDEN("forbidden"),
@XmlEnumValue("ignored")
IGNORED("ignored"),
@XmlEnumValue("constant")
CONSTANT("constant");
private final String value;
PresenceT(String v) {
value = v;
}
public String value() {
return value;
}
public static PresenceT fromValue(String v) {
for (PresenceT c: PresenceT.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy