Class CalculationPeriodDates
java.lang.Object
net.finmath.smartcontract.product.xml.CalculationPeriodDates
A type defining the parameters used to generate the calculation period
dates schedule, including the specification of any initial or final stub calculation periods. A
calculation perod schedule consists of an optional initial stub calculation period, one or more regular
calculation periods and an optional final stub calculation period. In the absence of any initial or
final stub calculation periods, the regular part of the calculation period schedule is assumed to be
between the effective date and the termination date. No implicit stubs are allowed, i.e. stubs must be
explicitly specified using an appropriate combination of firstPeriodStateDate,
firstRegularPeriodStartDate and lastRegularPeriodEndDate.
Java class for CalculationPeriodDates complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CalculationPeriodDates">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="effectiveDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate"/>
<element name="relativeEffectiveDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustedRelativeDateOffset"/>
</choice>
<choice>
<element name="terminationDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate"/>
<element name="relativeTerminationDate" type="{http://www.fpml.org/FpML-5/confirmation}RelativeDateOffset"/>
</choice>
<element name="calculationPeriodDatesAdjustments" type="{http://www.fpml.org/FpML-5/confirmation}BusinessDayAdjustments"/>
<element name="firstPeriodStartDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate" minOccurs="0"/>
<element name="firstRegularPeriodStartDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="firstCompoundingPeriodEndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="lastRegularPeriodEndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="stubPeriodType" type="{http://www.fpml.org/FpML-5/confirmation}StubPeriodTypeEnum" minOccurs="0"/>
<element name="calculationPeriodFrequency" type="{http://www.fpml.org/FpML-5/confirmation}CalculationPeriodFrequency"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BusinessDayAdjustmentsprotected CalculationPeriodFrequencyprotected AdjustableDateprotected XMLGregorianCalendarprotected AdjustableDateprotected XMLGregorianCalendarprotected Stringprotected XMLGregorianCalendarprotected AdjustedRelativeDateOffsetprotected RelativeDateOffsetprotected StubPeriodTypeEnumprotected AdjustableDate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the calculationPeriodDatesAdjustments property.Gets the value of the calculationPeriodFrequency property.Gets the value of the effectiveDate property.Gets the value of the firstCompoundingPeriodEndDate property.Gets the value of the firstPeriodStartDate property.Gets the value of the firstRegularPeriodStartDate property.getId()Gets the value of the id property.Gets the value of the lastRegularPeriodEndDate property.Gets the value of the relativeEffectiveDate property.Gets the value of the relativeTerminationDate property.Gets the value of the stubPeriodType property.Gets the value of the terminationDate property.voidSets the value of the calculationPeriodDatesAdjustments property.voidSets the value of the calculationPeriodFrequency property.voidsetEffectiveDate(AdjustableDate value) Sets the value of the effectiveDate property.voidSets the value of the firstCompoundingPeriodEndDate property.voidSets the value of the firstPeriodStartDate property.voidSets the value of the firstRegularPeriodStartDate property.voidSets the value of the id property.voidSets the value of the lastRegularPeriodEndDate property.voidSets the value of the relativeEffectiveDate property.voidSets the value of the relativeTerminationDate property.voidSets the value of the stubPeriodType property.voidsetTerminationDate(AdjustableDate value) Sets the value of the terminationDate property.
-
Field Details
-
effectiveDate
-
relativeEffectiveDate
-
terminationDate
-
relativeTerminationDate
-
calculationPeriodDatesAdjustments
-
firstPeriodStartDate
-
firstRegularPeriodStartDate
-
firstCompoundingPeriodEndDate
-
lastRegularPeriodEndDate
-
stubPeriodType
-
calculationPeriodFrequency
-
id
-
-
Constructor Details
-
CalculationPeriodDates
public CalculationPeriodDates()
-
-
Method Details
-
getEffectiveDate
Gets the value of the effectiveDate property.- Returns:
- possible object is
AdjustableDate
-
setEffectiveDate
Sets the value of the effectiveDate property.- Parameters:
value- allowed object isAdjustableDate
-
getRelativeEffectiveDate
Gets the value of the relativeEffectiveDate property.- Returns:
- possible object is
AdjustedRelativeDateOffset
-
setRelativeEffectiveDate
Sets the value of the relativeEffectiveDate property.- Parameters:
value- allowed object isAdjustedRelativeDateOffset
-
getTerminationDate
Gets the value of the terminationDate property.- Returns:
- possible object is
AdjustableDate
-
setTerminationDate
Sets the value of the terminationDate property.- Parameters:
value- allowed object isAdjustableDate
-
getRelativeTerminationDate
Gets the value of the relativeTerminationDate property.- Returns:
- possible object is
RelativeDateOffset
-
setRelativeTerminationDate
Sets the value of the relativeTerminationDate property.- Parameters:
value- allowed object isRelativeDateOffset
-
getCalculationPeriodDatesAdjustments
Gets the value of the calculationPeriodDatesAdjustments property.- Returns:
- possible object is
BusinessDayAdjustments
-
setCalculationPeriodDatesAdjustments
Sets the value of the calculationPeriodDatesAdjustments property.- Parameters:
value- allowed object isBusinessDayAdjustments
-
getFirstPeriodStartDate
Gets the value of the firstPeriodStartDate property.- Returns:
- possible object is
AdjustableDate
-
setFirstPeriodStartDate
Sets the value of the firstPeriodStartDate property.- Parameters:
value- allowed object isAdjustableDate
-
getFirstRegularPeriodStartDate
Gets the value of the firstRegularPeriodStartDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setFirstRegularPeriodStartDate
Sets the value of the firstRegularPeriodStartDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getFirstCompoundingPeriodEndDate
Gets the value of the firstCompoundingPeriodEndDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setFirstCompoundingPeriodEndDate
Sets the value of the firstCompoundingPeriodEndDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getLastRegularPeriodEndDate
Gets the value of the lastRegularPeriodEndDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setLastRegularPeriodEndDate
Sets the value of the lastRegularPeriodEndDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getStubPeriodType
Gets the value of the stubPeriodType property.- Returns:
- possible object is
StubPeriodTypeEnum
-
setStubPeriodType
Sets the value of the stubPeriodType property.- Parameters:
value- allowed object isStubPeriodTypeEnum
-
getCalculationPeriodFrequency
Gets the value of the calculationPeriodFrequency property.- Returns:
- possible object is
CalculationPeriodFrequency
-
setCalculationPeriodFrequency
Sets the value of the calculationPeriodFrequency property.- Parameters:
value- allowed object isCalculationPeriodFrequency
-
getId
-
setId
-