All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.smartcontract.product.xml.FxTouch 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.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.datatype.XMLGregorianCalendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * Describes an american or discrete touch or no-touch trigger applied to an
 *                 FX binary or digital option.
 *             
 * 
 * 

Java class for FxTouch complex type. * *

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

 * <complexType name="FxTouch">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="touchCondition" type="{http://www.fpml.org/FpML-5/confirmation}TouchConditionEnum"/>
 *         <element name="direction" type="{http://www.fpml.org/FpML-5/confirmation}TriggerConditionEnum" 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="spotRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal" minOccurs="0"/>
 *         <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" minOccurs="2"/>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FxTouch", propOrder = { "touchCondition", "direction", "quotedCurrencyPair", "triggerRate", "spotRate", "informationSource", "observationStartDate", "observationStartTime", "observationEndDate", "observationEndTime", "observationPoint" }) public class FxTouch { @XmlElement(required = true) @XmlSchemaType(name = "token") protected TouchConditionEnum touchCondition; @XmlSchemaType(name = "token") protected TriggerConditionEnum direction; @XmlElement(required = true) protected QuotedCurrencyPair quotedCurrencyPair; @XmlElement(required = true) protected BigDecimal triggerRate; protected BigDecimal spotRate; @XmlElement(required = true) protected List informationSource; @XmlSchemaType(name = "date") protected XMLGregorianCalendar observationStartDate; protected BusinessCenterTime observationStartTime; @XmlSchemaType(name = "date") protected XMLGregorianCalendar observationEndDate; protected BusinessCenterTime observationEndTime; protected List observationPoint; /** * Gets the value of the touchCondition property. * * @return * possible object is * {@link TouchConditionEnum } * */ public TouchConditionEnum getTouchCondition() { return touchCondition; } /** * Sets the value of the touchCondition property. * * @param value * allowed object is * {@link TouchConditionEnum } * */ public void setTouchCondition(TouchConditionEnum value) { this.touchCondition = value; } /** * Gets the value of the direction property. * * @return * possible object is * {@link TriggerConditionEnum } * */ public TriggerConditionEnum getDirection() { return direction; } /** * Sets the value of the direction property. * * @param value * allowed object is * {@link TriggerConditionEnum } * */ public void setDirection(TriggerConditionEnum value) { this.direction = 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 triggerRate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTriggerRate() { return triggerRate; } /** * Sets the value of the triggerRate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTriggerRate(BigDecimal value) { this.triggerRate = value; } /** * Gets the value of the spotRate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getSpotRate() { return spotRate; } /** * Sets the value of the spotRate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setSpotRate(BigDecimal value) { this.spotRate = 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; } /** * Gets the value of the observationStartDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getObservationStartDate() { return observationStartDate; } /** * Sets the value of the observationStartDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setObservationStartDate(XMLGregorianCalendar value) { this.observationStartDate = value; } /** * Gets the value of the observationStartTime property. * * @return * possible object is * {@link BusinessCenterTime } * */ public BusinessCenterTime getObservationStartTime() { return observationStartTime; } /** * Sets the value of the observationStartTime property. * * @param value * allowed object is * {@link BusinessCenterTime } * */ public void setObservationStartTime(BusinessCenterTime value) { this.observationStartTime = value; } /** * Gets the value of the observationEndDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getObservationEndDate() { return observationEndDate; } /** * Sets the value of the observationEndDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setObservationEndDate(XMLGregorianCalendar value) { this.observationEndDate = value; } /** * Gets the value of the observationEndTime property. * * @return * possible object is * {@link BusinessCenterTime } * */ public BusinessCenterTime getObservationEndTime() { return observationEndTime; } /** * Sets the value of the observationEndTime property. * * @param value * allowed object is * {@link BusinessCenterTime } * */ public void setObservationEndTime(BusinessCenterTime value) { this.observationEndTime = value; } /** * 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 * {@link FxBusinessCenterDateTime } * * */ public List getObservationPoint() { if (observationPoint == null) { observationPoint = new ArrayList(); } return this.observationPoint; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy