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

net.finmath.smartcontract.product.xml.SensitivityDefinition 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.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * A set of characteristics describing a sensitivity.
 * 
 * 

Java class for SensitivityDefinition complex type. * *

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

 * <complexType name="SensitivityDefinition">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="name" type="{http://www.fpml.org/FpML-5/confirmation}String" minOccurs="0"/>
 *         <element name="valuationScenarioReference" type="{http://www.fpml.org/FpML-5/confirmation}ValuationScenarioReference" minOccurs="0"/>
 *         <choice>
 *           <group ref="{http://www.fpml.org/FpML-5/confirmation}ComputedDerivative.model"/>
 *           <group ref="{http://www.fpml.org/FpML-5/confirmation}SensitivityDescription.model"/>
 *         </choice>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SensitivityDefinition", propOrder = { "name", "valuationScenarioReference", "partialDerivative", "formula", "term", "pricingCoordinateOrReferenceModel" }) public class SensitivityDefinition { protected String name; protected ValuationScenarioReference valuationScenarioReference; protected List partialDerivative; protected DerivativeFormula formula; protected TimeDimension term; @XmlElements({ @XmlElement(name = "coordinate", type = PricingDataPointCoordinate.class), @XmlElement(name = "coordinateReference", type = PricingDataPointCoordinateReference.class) }) protected List pricingCoordinateOrReferenceModel; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the valuationScenarioReference property. * * @return * possible object is * {@link ValuationScenarioReference } * */ public ValuationScenarioReference getValuationScenarioReference() { return valuationScenarioReference; } /** * Sets the value of the valuationScenarioReference property. * * @param value * allowed object is * {@link ValuationScenarioReference } * */ public void setValuationScenarioReference(ValuationScenarioReference value) { this.valuationScenarioReference = value; } /** * Gets the value of the partialDerivative 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 partialDerivative property. * *

* For example, to add a new item, do as follows: *

     *    getPartialDerivative().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PricingParameterDerivative } * * */ public List getPartialDerivative() { if (partialDerivative == null) { partialDerivative = new ArrayList(); } return this.partialDerivative; } /** * Gets the value of the formula property. * * @return * possible object is * {@link DerivativeFormula } * */ public DerivativeFormula getFormula() { return formula; } /** * Sets the value of the formula property. * * @param value * allowed object is * {@link DerivativeFormula } * */ public void setFormula(DerivativeFormula value) { this.formula = value; } /** * Gets the value of the term property. * * @return * possible object is * {@link TimeDimension } * */ public TimeDimension getTerm() { return term; } /** * Sets the value of the term property. * * @param value * allowed object is * {@link TimeDimension } * */ public void setTerm(TimeDimension value) { this.term = value; } /** * The input coordinates, or references to them (e.g. expiration, * strike, tenor). * Gets the value of the pricingCoordinateOrReferenceModel 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 pricingCoordinateOrReferenceModel property. * *

* For example, to add a new item, do as follows: *

     *    getPricingCoordinateOrReferenceModel().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PricingDataPointCoordinate } * {@link PricingDataPointCoordinateReference } * * */ public List getPricingCoordinateOrReferenceModel() { if (pricingCoordinateOrReferenceModel == null) { pricingCoordinateOrReferenceModel = new ArrayList(); } return this.pricingCoordinateOrReferenceModel; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }