org.fpml.fpml_5.confirmation.InitialMarginCalculation Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.04.04 at 04:56:21 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Defines the initial margin calculation applicable to a single piece of collateral.
*
* Java class for InitialMarginCalculation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="InitialMarginCalculation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="marginRatio" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="marginRatioThreshold" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="2" minOccurs="0"/>
* </sequence>
* <sequence>
* <element name="haircut" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="haircutThreshold" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="2" minOccurs="0"/>
* </sequence>
* </choice>
* <element name="assetReference" type="{http://www.fpml.org/FpML-5/confirmation}AssetReference" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InitialMarginCalculation", propOrder = {
"marginRatio",
"marginRatioThreshold",
"haircut",
"haircutThreshold",
"assetReference"
})
public class InitialMarginCalculation {
protected BigDecimal marginRatio;
protected List marginRatioThreshold;
protected BigDecimal haircut;
protected List haircutThreshold;
protected AssetReference assetReference;
/**
* Gets the value of the marginRatio property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMarginRatio() {
return marginRatio;
}
/**
* Sets the value of the marginRatio property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMarginRatio(BigDecimal value) {
this.marginRatio = value;
}
/**
* Gets the value of the marginRatioThreshold 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 JAXB object.
* This is why there is not a set
method for the marginRatioThreshold property.
*
*
* For example, to add a new item, do as follows:
*
* getMarginRatioThreshold().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BigDecimal }
*
*
*/
public List getMarginRatioThreshold() {
if (marginRatioThreshold == null) {
marginRatioThreshold = new ArrayList();
}
return this.marginRatioThreshold;
}
/**
* Gets the value of the haircut property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getHaircut() {
return haircut;
}
/**
* Sets the value of the haircut property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setHaircut(BigDecimal value) {
this.haircut = value;
}
/**
* Gets the value of the haircutThreshold 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 JAXB object.
* This is why there is not a set
method for the haircutThreshold property.
*
*
* For example, to add a new item, do as follows:
*
* getHaircutThreshold().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BigDecimal }
*
*
*/
public List getHaircutThreshold() {
if (haircutThreshold == null) {
haircutThreshold = new ArrayList();
}
return this.haircutThreshold;
}
/**
* Gets the value of the assetReference property.
*
* @return
* possible object is
* {@link AssetReference }
*
*/
public AssetReference getAssetReference() {
return assetReference;
}
/**
* Sets the value of the assetReference property.
*
* @param value
* allowed object is
* {@link AssetReference }
*
*/
public void setAssetReference(AssetReference value) {
this.assetReference = value;
}
}