Class FxRateObservable

java.lang.Object
net.finmath.smartcontract.product.xml.FxRateObservable
Direct Known Subclasses:
FxAveragingProcess

public class FxRateObservable extends Object

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 Details

  • Constructor Details

    • FxRateObservable

      public FxRateObservable()
  • Method Details

    • getQuotedCurrencyPair

      public QuotedCurrencyPair getQuotedCurrencyPair()
      Gets the value of the quotedCurrencyPair property.
      Returns:
      possible object is QuotedCurrencyPair
    • setQuotedCurrencyPair

      public void setQuotedCurrencyPair(QuotedCurrencyPair value)
      Sets the value of the quotedCurrencyPair property.
      Parameters:
      value - allowed object is QuotedCurrencyPair
    • getInformationSource

      public FxInformationSource getInformationSource()
      Gets the value of the informationSource property.
      Returns:
      possible object is FxInformationSource
    • setInformationSource

      public void setInformationSource(FxInformationSource value)
      Sets the value of the informationSource property.
      Parameters:
      value - allowed object is FxInformationSource
    • getCrossRate

      public List<FxCrossRateObservable> 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

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

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