Class FxBarrierFeature

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

public class FxBarrierFeature extends Object
Describes the properties of an FX barrier.

Java class for FxBarrierFeature complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="FxBarrierFeature">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="barrierType" type="{http://www.fpml.org/FpML-5/confirmation}FxBarrierTypeEnum"/>
         <element name="direction" type="{http://www.fpml.org/FpML-5/confirmation}FxBarrierDirectionEnum" minOccurs="0"/>
         <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/>
         <element name="triggerRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
         <element name="informationSource" type="{http://www.fpml.org/FpML-5/confirmation}InformationSource" maxOccurs="unbounded"/>
         <choice minOccurs="0">
           <sequence>
             <sequence>
               <element name="observationStartDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
               <element name="observationStartTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime" minOccurs="0"/>
             </sequence>
             <sequence minOccurs="0">
               <element name="observationEndDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
               <element name="observationEndTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime" minOccurs="0"/>
             </sequence>
           </sequence>
           <element name="observationPoint" type="{http://www.fpml.org/FpML-5/confirmation}FxBusinessCenterDateTime" maxOccurs="unbounded"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • FxBarrierFeature

      public FxBarrierFeature()
  • Method Details

    • getBarrierType

      public FxBarrierTypeEnum getBarrierType()
      Gets the value of the barrierType property.
      Returns:
      possible object is FxBarrierTypeEnum
    • setBarrierType

      public void setBarrierType(FxBarrierTypeEnum value)
      Sets the value of the barrierType property.
      Parameters:
      value - allowed object is FxBarrierTypeEnum
    • getDirection

      public FxBarrierDirectionEnum getDirection()
      Gets the value of the direction property.
      Returns:
      possible object is FxBarrierDirectionEnum
    • setDirection

      public void setDirection(FxBarrierDirectionEnum value)
      Sets the value of the direction property.
      Parameters:
      value - allowed object is FxBarrierDirectionEnum
    • 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
    • getTriggerRate

      public BigDecimal getTriggerRate()
      Gets the value of the triggerRate property.
      Returns:
      possible object is BigDecimal
    • setTriggerRate

      public void setTriggerRate(BigDecimal value)
      Sets the value of the triggerRate property.
      Parameters:
      value - allowed object is BigDecimal
    • getInformationSource

      public List<InformationSource> getInformationSource()
      Gets the value of the informationSource 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 informationSource property.

      For example, to add a new item, do as follows:

          getInformationSource().add(newItem);
       

      Objects of the following type(s) are allowed in the list InformationSource

    • getObservationStartDate

      public XMLGregorianCalendar getObservationStartDate()
      Gets the value of the observationStartDate property.
      Returns:
      possible object is XMLGregorianCalendar
    • setObservationStartDate

      public void setObservationStartDate(XMLGregorianCalendar value)
      Sets the value of the observationStartDate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getObservationStartTime

      public BusinessCenterTime getObservationStartTime()
      Gets the value of the observationStartTime property.
      Returns:
      possible object is BusinessCenterTime
    • setObservationStartTime

      public void setObservationStartTime(BusinessCenterTime value)
      Sets the value of the observationStartTime property.
      Parameters:
      value - allowed object is BusinessCenterTime
    • getObservationEndDate

      public XMLGregorianCalendar getObservationEndDate()
      Gets the value of the observationEndDate property.
      Returns:
      possible object is XMLGregorianCalendar
    • setObservationEndDate

      public void setObservationEndDate(XMLGregorianCalendar value)
      Sets the value of the observationEndDate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getObservationEndTime

      public BusinessCenterTime getObservationEndTime()
      Gets the value of the observationEndTime property.
      Returns:
      possible object is BusinessCenterTime
    • setObservationEndTime

      public void setObservationEndTime(BusinessCenterTime value)
      Sets the value of the observationEndTime property.
      Parameters:
      value - allowed object is BusinessCenterTime
    • getObservationPoint

      public List<FxBusinessCenterDateTime> getObservationPoint()
      Gets the value of the observationPoint 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 observationPoint property.

      For example, to add a new item, do as follows:

          getObservationPoint().add(newItem);
       

      Objects of the following type(s) are allowed in the list FxBusinessCenterDateTime