net.finmath.smartcontract.product.xml.TermCurve 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.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* A curve consisting only of values over a term. This is a restricted form of
* One Dimensional Structure.
*
*
* Java class for TermCurve complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TermCurve">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="interpolationMethod" type="{http://www.fpml.org/FpML-5/confirmation}InterpolationMethod" minOccurs="0"/>
* <element name="extrapolationPermitted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="point" type="{http://www.fpml.org/FpML-5/confirmation}TermPoint" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TermCurve", propOrder = {
"interpolationMethod",
"extrapolationPermitted",
"point"
})
public class TermCurve {
protected InterpolationMethod interpolationMethod;
protected Boolean extrapolationPermitted;
@XmlElement(required = true)
protected List point;
/**
* Gets the value of the interpolationMethod property.
*
* @return
* possible object is
* {@link InterpolationMethod }
*
*/
public InterpolationMethod getInterpolationMethod() {
return interpolationMethod;
}
/**
* Sets the value of the interpolationMethod property.
*
* @param value
* allowed object is
* {@link InterpolationMethod }
*
*/
public void setInterpolationMethod(InterpolationMethod value) {
this.interpolationMethod = value;
}
/**
* Gets the value of the extrapolationPermitted property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isExtrapolationPermitted() {
return extrapolationPermitted;
}
/**
* Sets the value of the extrapolationPermitted property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setExtrapolationPermitted(Boolean value) {
this.extrapolationPermitted = value;
}
/**
* Gets the value of the point 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 point property.
*
*
* For example, to add a new item, do as follows:
*
* getPoint().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TermPoint }
*
*
*/
public List getPoint() {
if (point == null) {
point = new ArrayList();
}
return this.point;
}
}