org.fpml.fpml_5.confirmation.ParametricAdjustment 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.util.ArrayList;
import java.util.List;
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;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* An adjustment used to accommodate a parameter of the input trade, e.g. the strike.
*
* Java class for ParametricAdjustment complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ParametricAdjustment">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString"/>
* <element name="inputUnits" type="{http://www.fpml.org/FpML-5/confirmation}PriceQuoteUnits" minOccurs="0"/>
* <element name="datapoint" type="{http://www.fpml.org/FpML-5/confirmation}ParametricAdjustmentPoint" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ParametricAdjustment", propOrder = {
"name",
"inputUnits",
"datapoint"
})
public class ParametricAdjustment {
@XmlElement(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String name;
protected PriceQuoteUnits inputUnits;
@XmlElement(required = true)
protected List datapoint;
/**
* 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 inputUnits property.
*
* @return
* possible object is
* {@link PriceQuoteUnits }
*
*/
public PriceQuoteUnits getInputUnits() {
return inputUnits;
}
/**
* Sets the value of the inputUnits property.
*
* @param value
* allowed object is
* {@link PriceQuoteUnits }
*
*/
public void setInputUnits(PriceQuoteUnits value) {
this.inputUnits = value;
}
/**
* Gets the value of the datapoint 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 datapoint property.
*
*
* For example, to add a new item, do as follows:
*
* getDatapoint().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ParametricAdjustmentPoint }
*
*
*/
public List getDatapoint() {
if (datapoint == null) {
datapoint = new ArrayList();
}
return this.datapoint;
}
}