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

net.finmath.smartcontract.product.xml.FxBarrierFeature Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
//
// 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 the properties of an FX barrier.
 * 
 * 

Java class for FxBarrierFeature complex type. * *

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

 * <complexType name="FxBarrierFeature">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="barrierType" type="{http://www.fpml.org/FpML-5/confirmation}FxBarrierTypeEnum"/>
 *         <element name="direction" type="{http://www.fpml.org/FpML-5/confirmation}FxBarrierDirectionEnum" 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="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"/>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FxBarrierFeature", propOrder = { "barrierType", "direction", "quotedCurrencyPair", "triggerRate", "informationSource", "observationStartDate", "observationStartTime", "observationEndDate", "observationEndTime", "observationPoint" }) public class FxBarrierFeature { @XmlElement(required = true) @XmlSchemaType(name = "token") protected FxBarrierTypeEnum barrierType; @XmlSchemaType(name = "token") protected FxBarrierDirectionEnum direction; @XmlElement(required = true) protected QuotedCurrencyPair quotedCurrencyPair; @XmlElement(required = true) protected BigDecimal triggerRate; @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 barrierType property. * * @return * possible object is * {@link FxBarrierTypeEnum } * */ public FxBarrierTypeEnum getBarrierType() { return barrierType; } /** * Sets the value of the barrierType property. * * @param value * allowed object is * {@link FxBarrierTypeEnum } * */ public void setBarrierType(FxBarrierTypeEnum value) { this.barrierType = value; } /** * Gets the value of the direction property. * * @return * possible object is * {@link FxBarrierDirectionEnum } * */ public FxBarrierDirectionEnum getDirection() { return direction; } /** * Sets the value of the direction property. * * @param value * allowed object is * {@link FxBarrierDirectionEnum } * */ public void setDirection(FxBarrierDirectionEnum 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 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