net.finmath.smartcontract.product.xml.FxAccrualBarrier Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for FxAccrualBarrier complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FxAccrualBarrier">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}FxComplexBarrierBase">
* <sequence>
* <element name="accrualRetention" type="{http://www.fpml.org/FpML-5/confirmation}FxAccrualKnockoutBarrierRetentionEnum" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="observableReference" type="{http://www.fpml.org/FpML-5/confirmation}FxRateObservableReference"/>
* <sequence>
* <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/>
* <element name="informationSource" type="{http://www.fpml.org/FpML-5/confirmation}InformationSource" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </choice>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FxAccrualBarrier", propOrder = {
"accrualRetention",
"observableReference",
"quotedCurrencyPair",
"informationSource"
})
public class FxAccrualBarrier
extends FxComplexBarrierBase
{
@XmlSchemaType(name = "token")
protected FxAccrualKnockoutBarrierRetentionEnum accrualRetention;
protected FxRateObservableReference observableReference;
protected QuotedCurrencyPair quotedCurrencyPair;
protected List informationSource;
/**
* Gets the value of the accrualRetention property.
*
* @return
* possible object is
* {@link FxAccrualKnockoutBarrierRetentionEnum }
*
*/
public FxAccrualKnockoutBarrierRetentionEnum getAccrualRetention() {
return accrualRetention;
}
/**
* Sets the value of the accrualRetention property.
*
* @param value
* allowed object is
* {@link FxAccrualKnockoutBarrierRetentionEnum }
*
*/
public void setAccrualRetention(FxAccrualKnockoutBarrierRetentionEnum value) {
this.accrualRetention = value;
}
/**
* Gets the value of the observableReference property.
*
* @return
* possible object is
* {@link FxRateObservableReference }
*
*/
public FxRateObservableReference getObservableReference() {
return observableReference;
}
/**
* Sets the value of the observableReference property.
*
* @param value
* allowed object is
* {@link FxRateObservableReference }
*
*/
public void setObservableReference(FxRateObservableReference value) {
this.observableReference = value;
}
/**
* Gets the value of the quotedCurrencyPair property.
*
* @return
* possible object is
* {@link QuotedCurrencyPair }
*
*/
public QuotedCurrencyPair getQuotedCurrencyPair() {
return quotedCurrencyPair;
}
/**
* Sets the value of the quotedCurrencyPair property.
*
* @param value
* allowed object is
* {@link QuotedCurrencyPair }
*
*/
public void setQuotedCurrencyPair(QuotedCurrencyPair value) {
this.quotedCurrencyPair = value;
}
/**
* 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
* {@link InformationSource }
*
*
*/
public List getInformationSource() {
if (informationSource == null) {
informationSource = new ArrayList();
}
return this.informationSource;
}
}