org.fpml.fpml_5.confirmation.CommodityTrigger 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.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* The barrier which, when breached, triggers the knock-in or knock-out of the barrier option.
*
* Java class for CommodityTrigger complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CommodityTrigger">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <sequence>
* <element name="levelQuantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="levelUnit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/>
* </sequence>
* <element name="levelPercentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="levelPrice" type="{http://www.fpml.org/FpML-5/confirmation}FixedPrice"/>
* </choice>
* <element name="triggerType" type="{http://www.fpml.org/FpML-5/confirmation}TriggerTypeEnum"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommodityTrigger", propOrder = {
"levelQuantity",
"levelUnit",
"levelPercentage",
"levelPrice",
"triggerType"
})
public class CommodityTrigger {
protected BigDecimal levelQuantity;
protected QuantityUnit levelUnit;
protected BigDecimal levelPercentage;
protected FixedPrice levelPrice;
@XmlElement(required = true)
@XmlSchemaType(name = "token")
protected TriggerTypeEnum triggerType;
/**
* Gets the value of the levelQuantity property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLevelQuantity() {
return levelQuantity;
}
/**
* Sets the value of the levelQuantity property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setLevelQuantity(BigDecimal value) {
this.levelQuantity = value;
}
/**
* Gets the value of the levelUnit property.
*
* @return
* possible object is
* {@link QuantityUnit }
*
*/
public QuantityUnit getLevelUnit() {
return levelUnit;
}
/**
* Sets the value of the levelUnit property.
*
* @param value
* allowed object is
* {@link QuantityUnit }
*
*/
public void setLevelUnit(QuantityUnit value) {
this.levelUnit = value;
}
/**
* Gets the value of the levelPercentage property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLevelPercentage() {
return levelPercentage;
}
/**
* Sets the value of the levelPercentage property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setLevelPercentage(BigDecimal value) {
this.levelPercentage = value;
}
/**
* Gets the value of the levelPrice property.
*
* @return
* possible object is
* {@link FixedPrice }
*
*/
public FixedPrice getLevelPrice() {
return levelPrice;
}
/**
* Sets the value of the levelPrice property.
*
* @param value
* allowed object is
* {@link FixedPrice }
*
*/
public void setLevelPrice(FixedPrice value) {
this.levelPrice = value;
}
/**
* Gets the value of the triggerType property.
*
* @return
* possible object is
* {@link TriggerTypeEnum }
*
*/
public TriggerTypeEnum getTriggerType() {
return triggerType;
}
/**
* Sets the value of the triggerType property.
*
* @param value
* allowed object is
* {@link TriggerTypeEnum }
*
*/
public void setTriggerType(TriggerTypeEnum value) {
this.triggerType = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy