net.finmath.smartcontract.product.xml.CallingPartyEnum Maven / Gradle / Ivy
//
// 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 CallingPartyEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="CallingPartyEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="InitialBuyer"/>
* <enumeration value="InitialSeller"/>
* <enumeration value="Either"/>
* <enumeration value="AsDefinedInMasterAgreement"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CallingPartyEnum")
@XmlEnum
public enum CallingPartyEnum {
/**
* Initial buyer to the repo
* transaction.
*
*
*/
@XmlEnumValue("InitialBuyer")
INITIAL_BUYER("InitialBuyer"),
/**
* Initial seller to the repo
* transaction.
*
*
*/
@XmlEnumValue("InitialSeller")
INITIAL_SELLER("InitialSeller"),
/**
* Either, Buyer or Seller to the repo
* transaction.
*
*
*/
@XmlEnumValue("Either")
EITHER("Either"),
/**
* As defined in Master Agreement.
*
*
*/
@XmlEnumValue("AsDefinedInMasterAgreement")
AS_DEFINED_IN_MASTER_AGREEMENT("AsDefinedInMasterAgreement");
private final String value;
CallingPartyEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static CallingPartyEnum fromValue(String v) {
for (CallingPartyEnum c: CallingPartyEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy