Class AdjustableOrRelativeDate
java.lang.Object
net.finmath.smartcontract.product.xml.AdjustableOrRelativeDate
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdjustableDateprotected Stringprotected RelativeDateOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the adjustableDate property.getId()Gets the value of the id property.Gets the value of the relativeDate property.voidsetAdjustableDate(AdjustableDate value) Sets the value of the adjustableDate property.voidSets the value of the id property.voidSets the value of the relativeDate property.
-
Field Details
-
adjustableDate
-
relativeDate
-
id
-
-
Constructor Details
-
AdjustableOrRelativeDate
public AdjustableOrRelativeDate()
-
-
Method Details
-
getAdjustableDate
Gets the value of the adjustableDate property.- Returns:
- possible object is
AdjustableDate
-
setAdjustableDate
Sets the value of the adjustableDate property.- Parameters:
value- allowed object isAdjustableDate
-
getRelativeDate
Gets the value of the relativeDate property.- Returns:
- possible object is
RelativeDateOffset
-
setRelativeDate
Sets the value of the relativeDate property.- Parameters:
value- allowed object isRelativeDateOffset
-
getId
-
setId
-