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

net.finmath.smartcontract.product.xml.CountryCode 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.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * The code representation of a country or an area of special sovereignty. By
 *                 default it is a valid 2 character country code as defined by the ISO standard 3166-1 alpha-2 - Codes for
 *                 representation of countries http://www.niso.org/standards/resources/3166.html.
 *             
 * 
 * 

Java class for CountryCode complex type. * *

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

 * <complexType name="CountryCode">
 *   <simpleContent>
 *     <extension base="<http://www.fpml.org/FpML-5/confirmation>Token">
 *       <attribute name="countryScheme" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI" default="http://www.fpml.org/coding-scheme/external/iso3166" />
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CountryCode", propOrder = { "value" }) public class CountryCode { @XmlValue @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String value; @XmlAttribute(name = "countryScheme") protected String countryScheme; /** * A token. FpML redefines this type so that in some views it can enforce that * it may not 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 countryScheme property. * * @return * possible object is * {@link String } * */ public String getCountryScheme() { if (countryScheme == null) { return "http://www.fpml.org/coding-scheme/external/iso3166"; } else { return countryScheme; } } /** * Sets the value of the countryScheme property. * * @param value * allowed object is * {@link String } * */ public void setCountryScheme(String value) { this.countryScheme = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy