Class CountryCode

java.lang.Object
net.finmath.smartcontract.product.xml.CountryCode

public class CountryCode extends Object
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>
 
  • Field Details

    • value

      protected String value
    • countryScheme

      protected String countryScheme
  • Constructor Details

    • CountryCode

      public CountryCode()
  • Method Details

    • getValue

      public String getValue()
      A token. FpML redefines this type so that in some views it can enforce that it may not be empty
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getCountryScheme

      public String getCountryScheme()
      Gets the value of the countryScheme property.
      Returns:
      possible object is String
    • setCountryScheme

      public void setCountryScheme(String value)
      Sets the value of the countryScheme property.
      Parameters:
      value - allowed object is String