net.finmath.smartcontract.product.xml.DividendCompositionEnum 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 DividendCompositionEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="DividendCompositionEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="EquityAmountReceiverElection"/>
* <enumeration value="CalculationAgentElection"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "DividendCompositionEnum")
@XmlEnum
public enum DividendCompositionEnum {
/**
* The Equity Amount Receiver determines
* the composition of dividends (subject to conditions).
*
*
*/
@XmlEnumValue("EquityAmountReceiverElection")
EQUITY_AMOUNT_RECEIVER_ELECTION("EquityAmountReceiverElection"),
/**
* The Calculation Agent determines the
* composition of dividends (subject to conditions).
*
*
*/
@XmlEnumValue("CalculationAgentElection")
CALCULATION_AGENT_ELECTION("CalculationAgentElection");
private final String value;
DividendCompositionEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static DividendCompositionEnum fromValue(String v) {
for (DividendCompositionEnum c: DividendCompositionEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy