net.finmath.smartcontract.product.xml.SpecifiedPriceEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-smart-derivative-contract Show documentation
Show all versions of finmath-smart-derivative-contract Show documentation
Project to support the implementation a of smart derivative contract.
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for SpecifiedPriceEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="SpecifiedPriceEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Afternoon"/>
* <enumeration value="Ask"/>
* <enumeration value="Bid"/>
* <enumeration value="Closing"/>
* <enumeration value="High"/>
* <enumeration value="Index"/>
* <enumeration value="MeanOfBidAndAsk"/>
* <enumeration value="LocationalMarginal"/>
* <enumeration value="Low"/>
* <enumeration value="MarginalHourly"/>
* <enumeration value="MarketClearing"/>
* <enumeration value="MeanOfHighAndLow"/>
* <enumeration value="Morning"/>
* <enumeration value="Official"/>
* <enumeration value="Opening"/>
* <enumeration value="OSP"/>
* <enumeration value="Settlement"/>
* <enumeration value="Spot"/>
* <enumeration value="Midpoint"/>
* <enumeration value="NationalSingle"/>
* <enumeration value="WeightedAverage"/>
* <enumeration value="UnWeightedAverage"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SpecifiedPriceEnum")
@XmlEnum
public enum SpecifiedPriceEnum {
/**
* The Specified Price shall be the Afternoon fixing reported in or by
* the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Afternoon")
AFTERNOON("Afternoon"),
/**
* The Specified Price shall be the Ask price reported in or by the
* relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Ask")
ASK("Ask"),
/**
* The Specified Price shall be the Bid price reported in or by the
* relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Bid")
BID("Bid"),
/**
* The Specified Price shall be the Closing price reported in or by
* the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Closing")
CLOSING("Closing"),
/**
* The Specified Price shall be the High price reported in or by the
* relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("High")
HIGH("High"),
/**
* The Specified Price shall be the Index price reported in or by the
* relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Index")
INDEX("Index"),
/**
* The Specified Price shall be the Average of the Bid and Ask prices
* reported in or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("MeanOfBidAndAsk")
MEAN_OF_BID_AND_ASK("MeanOfBidAndAsk"),
/**
* The Specified Price shall be the Locational Marginal price reported
* in or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("LocationalMarginal")
LOCATIONAL_MARGINAL("LocationalMarginal"),
/**
* The Specified Price shall be the Low price reported in or by the
* relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Low")
LOW("Low"),
/**
* The Specified Price shall be the Marginal Hourly price reported in
* or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("MarginalHourly")
MARGINAL_HOURLY("MarginalHourly"),
/**
* The Specified Price shall be the Market Clearing price reported in
* or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("MarketClearing")
MARKET_CLEARING("MarketClearing"),
/**
* The Specified Price shall be the Average of the High and Low prices
* reported in or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("MeanOfHighAndLow")
MEAN_OF_HIGH_AND_LOW("MeanOfHighAndLow"),
/**
* The Specified Price shall be the Morning fixing reported in or by
* the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Morning")
MORNING("Morning"),
/**
* The Specified Price shall be the Official price reported in or by
* the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Official")
OFFICIAL("Official"),
/**
* The Specified Price shall be the Opening price reported in or by
* the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Opening")
OPENING("Opening"),
/**
* The Specified Price shall be the Official Settlement Price reported
* in or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
OSP("OSP"),
/**
* The Specified Price shall be the Settlement price reported in or by
* the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Settlement")
SETTLEMENT("Settlement"),
/**
* The Specified Price shall be the Spot price reported in or by the
* relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Spot")
SPOT("Spot"),
/**
* The Specified Price shall be the Average of the Midpoint of prices
* reported in or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("Midpoint")
MIDPOINT("Midpoint"),
/**
* The Specified Price shall be the National Single price reported in
* or by the relevant Price Source as specified in the relevant Confirmation.
*
*
*/
@XmlEnumValue("NationalSingle")
NATIONAL_SINGLE("NationalSingle"),
/**
* The Specified Price shall be the Volume Weighted Average of prices
* effective on the Pricing Date reported in or by the relevant Price Source as specified in the
* relevant Confirmation.
*
*
*/
@XmlEnumValue("WeightedAverage")
WEIGHTED_AVERAGE("WeightedAverage"),
/**
* The Specified Price shall be the Non-volume Weighted Average of
* prices effective on the Pricing Date reported in or by the relevant Price Source as specified in
* the relevant Confirmation.
*
*
*/
@XmlEnumValue("UnWeightedAverage")
UN_WEIGHTED_AVERAGE("UnWeightedAverage");
private final String value;
SpecifiedPriceEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static SpecifiedPriceEnum fromValue(String v) {
for (SpecifiedPriceEnum c: SpecifiedPriceEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy