net.finmath.smartcontract.product.xml.PriceMateriality Maven / Gradle / Ivy
Show all versions of finmath-smart-derivative-contract Show documentation
//
// 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.math.BigDecimal;
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.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* A structure describing the criteria for price materiality.
*
*
* Java class for PriceMateriality complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PriceMateriality">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}FxDisruptionEvent">
* <sequence>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PrioritizedRateSource.model"/>
* <element name="percentage" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PriceMateriality", propOrder = {
"primaryRateSource",
"secondaryRateSource",
"percentage"
})
public class PriceMateriality
extends FxDisruptionEvent
{
@XmlElement(required = true)
protected SettlementRateOption primaryRateSource;
protected List secondaryRateSource;
@XmlElement(required = true)
protected BigDecimal percentage;
/**
* Gets the value of the primaryRateSource property.
*
* @return
* possible object is
* {@link SettlementRateOption }
*
*/
public SettlementRateOption getPrimaryRateSource() {
return primaryRateSource;
}
/**
* Sets the value of the primaryRateSource property.
*
* @param value
* allowed object is
* {@link SettlementRateOption }
*
*/
public void setPrimaryRateSource(SettlementRateOption value) {
this.primaryRateSource = value;
}
/**
* Gets the value of the secondaryRateSource 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 secondaryRateSource property.
*
*
* For example, to add a new item, do as follows:
*
* getSecondaryRateSource().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SettlementRateOption }
*
*
*/
public List getSecondaryRateSource() {
if (secondaryRateSource == null) {
secondaryRateSource = new ArrayList();
}
return this.secondaryRateSource;
}
/**
* Gets the value of the percentage property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPercentage() {
return percentage;
}
/**
* Sets the value of the percentage property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setPercentage(BigDecimal value) {
this.percentage = value;
}
}