All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.smartcontract.product.xml.Currency 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.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * The code representation of a currency or fund. By default it is a valid
 *                 currency code as defined by the ISO standard 4217 - Codes for representation of currencies and funds
 *                 http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html.
 *             
 * 
 * 

Java class for Currency complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Currency">
 *   <simpleContent>
 *     <extension base="<http://www.fpml.org/FpML-5/confirmation>Scheme">
 *       <attribute name="currencyScheme" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI" default="http://www.fpml.org/coding-scheme/external/iso4217-2001-08-15" />
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Currency", propOrder = { "value" }) @XmlSeeAlso({ IdentifiedCurrency.class }) public class Currency { @XmlValue @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String value; @XmlAttribute(name = "currencyScheme") protected String currencyScheme; /** * The base class for all types which define coding schemes that are allowed * to be empty. * * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the currencyScheme property. * * @return * possible object is * {@link String } * */ public String getCurrencyScheme() { if (currencyScheme == null) { return "http://www.fpml.org/coding-scheme/external/iso4217-2001-08-15"; } else { return currencyScheme; } } /** * Sets the value of the currencyScheme property. * * @param value * allowed object is * {@link String } * */ public void setCurrencyScheme(String value) { this.currencyScheme = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy