net.finmath.smartcontract.product.xml.AdjustableOrRelativeDate 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.XmlAttribute;
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 type giving the choice between defining a date as an explicit date
* together with applicable adjustments or as relative to some other (anchor) date.
*
*
* Java class for AdjustableOrRelativeDate complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AdjustableOrRelativeDate">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="adjustableDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate"/>
* <element name="relativeDate" type="{http://www.fpml.org/FpML-5/confirmation}RelativeDateOffset"/>
* </choice>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AdjustableOrRelativeDate", propOrder = {
"adjustableDate",
"relativeDate"
})
public class AdjustableOrRelativeDate {
protected AdjustableDate adjustableDate;
protected RelativeDateOffset relativeDate;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the adjustableDate property.
*
* @return
* possible object is
* {@link AdjustableDate }
*
*/
public AdjustableDate getAdjustableDate() {
return adjustableDate;
}
/**
* Sets the value of the adjustableDate property.
*
* @param value
* allowed object is
* {@link AdjustableDate }
*
*/
public void setAdjustableDate(AdjustableDate value) {
this.adjustableDate = value;
}
/**
* Gets the value of the relativeDate property.
*
* @return
* possible object is
* {@link RelativeDateOffset }
*
*/
public RelativeDateOffset getRelativeDate() {
return relativeDate;
}
/**
* Sets the value of the relativeDate property.
*
* @param value
* allowed object is
* {@link RelativeDateOffset }
*
*/
public void setRelativeDate(RelativeDateOffset value) {
this.relativeDate = value;
}
/**
* 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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy