net.finmath.smartcontract.product.xml.Offset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-smart-derivative-contract Show documentation
Show all versions of finmath-smart-derivative-contract Show documentation
Project to support the implementation a of smart derivative contract.
//
// 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
/**
* A type defining an offset used in calculating a new date relative to a
* reference date. E.g. calendar days, business days, Commodity Business days, etc..
*
*
* Java class for Offset complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Offset">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Period">
* <sequence>
* <element name="dayType" type="{http://www.fpml.org/FpML-5/confirmation}DayTypeEnum" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Offset", propOrder = {
"dayType"
})
@XmlSeeAlso({
DateOffset.class,
RelativeDateOffset.class,
FxValuationDateOffset.class,
FxFixingDate.class,
AdjustableOffset.class
})
public class Offset
extends Period
{
@XmlSchemaType(name = "token")
protected DayTypeEnum dayType;
/**
* Gets the value of the dayType property.
*
* @return
* possible object is
* {@link DayTypeEnum }
*
*/
public DayTypeEnum getDayType() {
return dayType;
}
/**
* Sets the value of the dayType property.
*
* @param value
* allowed object is
* {@link DayTypeEnum }
*
*/
public void setDayType(DayTypeEnum value) {
this.dayType = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy