Class FxRateObservable
java.lang.Object
net.finmath.smartcontract.product.xml.FxRateObservable
- Direct Known Subclasses:
FxAveragingProcess
Java class for FxRateObservable complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxRateObservable"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/> <choice> <element name="informationSource" type="{http://www.fpml.org/FpML-5/confirmation}FxInformationSource"/> <element name="crossRate" type="{http://www.fpml.org/FpML-5/confirmation}FxCrossRateObservable" maxOccurs="unbounded" minOccurs="2"/> </choice> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<FxCrossRateObservable>
protected String
protected FxInformationSource
protected QuotedCurrencyPair
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the crossRate property.getId()
Gets the value of the id property.Gets the value of the informationSource property.Gets the value of the quotedCurrencyPair property.void
Sets the value of the id property.void
Sets the value of the informationSource property.void
Sets the value of the quotedCurrencyPair property.
-
Field Details
-
quotedCurrencyPair
-
informationSource
-
crossRate
-
id
-
-
Constructor Details
-
FxRateObservable
public FxRateObservable()
-
-
Method Details
-
getQuotedCurrencyPair
Gets the value of the quotedCurrencyPair property.- Returns:
- possible object is
QuotedCurrencyPair
-
setQuotedCurrencyPair
Sets the value of the quotedCurrencyPair property.- Parameters:
value
- allowed object isQuotedCurrencyPair
-
getInformationSource
Gets the value of the informationSource property.- Returns:
- possible object is
FxInformationSource
-
setInformationSource
Sets the value of the informationSource property.- Parameters:
value
- allowed object isFxInformationSource
-
getCrossRate
Gets the value of the crossRate 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 crossRate property.For example, to add a new item, do as follows:
getCrossRate().add(newItem);
Objects of the following type(s) are allowed in the list
FxCrossRateObservable
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-