org.fpml.fpml_5.confirmation.QuotationSideEnum 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 QuotationSideEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="QuotationSideEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Bid"/>
* <enumeration value="Ask"/>
* <enumeration value="Mid"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "QuotationSideEnum")
@XmlEnum
public enum QuotationSideEnum {
/**
* A value "bid" by a buyer for an asset, i.e. the value a buyer is willing to pay.
*
*/
@XmlEnumValue("Bid")
BID("Bid"),
/**
* A value "asked" by a seller for an asset, i.e. the value at which a seller is willing to sell.
*
*/
@XmlEnumValue("Ask")
ASK("Ask"),
/**
* A value midway between the bid and the ask value.
*
*/
@XmlEnumValue("Mid")
MID("Mid");
private final String value;
QuotationSideEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static QuotationSideEnum fromValue(String v) {
for (QuotationSideEnum c: QuotationSideEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy