Class FxDisruption
java.lang.Object
net.finmath.smartcontract.product.xml.FxDisruption
A structure describing how disruption for a specified currency pair should
be handled
Java class for FxDisruption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxDisruption"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="baseCurrency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/> <element name="referenceCurrency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/> <element name="provisions" type="{http://www.fpml.org/FpML-5/confirmation}FxDisruptionProvisions" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Currency
protected List
<FxDisruptionProvisions> protected Currency
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the baseCurrency property.Gets the value of the provisions property.Gets the value of the referenceCurrency property.void
setBaseCurrency
(Currency value) Sets the value of the baseCurrency property.void
setReferenceCurrency
(Currency value) Sets the value of the referenceCurrency property.
-
Field Details
-
baseCurrency
-
referenceCurrency
-
provisions
-
-
Constructor Details
-
FxDisruption
public FxDisruption()
-
-
Method Details
-
getBaseCurrency
-
setBaseCurrency
-
getReferenceCurrency
-
setReferenceCurrency
-
getProvisions
Gets the value of the provisions 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
set
method for the provisions property.For example, to add a new item, do as follows:
getProvisions().add(newItem);
Objects of the following type(s) are allowed in the list
FxDisruptionProvisions
-