Class SpecifiedCurrency
java.lang.Object
net.finmath.smartcontract.product.xml.SpecifiedCurrency
Java class for SpecifiedCurrency complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SpecifiedCurrency">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="applicable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the currency property.booleanGets the value of the applicable property.voidsetApplicable(boolean value) Sets the value of the applicable property.
-
Field Details
-
applicable
protected boolean applicable -
currency
-
-
Constructor Details
-
SpecifiedCurrency
public SpecifiedCurrency()
-
-
Method Details
-
isApplicable
public boolean isApplicable()Gets the value of the applicable property. -
setApplicable
public void setApplicable(boolean value) Sets the value of the applicable property. -
getCurrency
Gets the value of the currency property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the currency property.For example, to add a new item, do as follows:
getCurrency().add(newItem);Objects of the following type(s) are allowed in the list
Currency
-