org.fpml.fpml_5.confirmation.ConditionEnum Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ConditionEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ConditionEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="AtOrAbove"/>
* <enumeration value="AtOrBelow"/>
* <enumeration value="Above"/>
* <enumeration value="Below"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ConditionEnum")
@XmlEnum
public enum ConditionEnum {
/**
* The event rate must be greater than or equal to the specified trigger rate.
*
*/
@XmlEnumValue("AtOrAbove")
AT_OR_ABOVE("AtOrAbove"),
/**
* The event rate must be less than or equal to the specified trigger rate.
*
*/
@XmlEnumValue("AtOrBelow")
AT_OR_BELOW("AtOrBelow"),
/**
* The event rate must be greater than the specified trigger rate.
*
*/
@XmlEnumValue("Above")
ABOVE("Above"),
/**
* The event rate must be less than the specified trigger rate.
*
*/
@XmlEnumValue("Below")
BELOW("Below");
private final String value;
ConditionEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static ConditionEnum fromValue(String v) {
for (ConditionEnum c: ConditionEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy