Class Period
java.lang.Object
net.finmath.smartcontract.product.xml.Period
- Direct Known Subclasses:
ObservationFrequency
,Offset
A type to define recurring periods or time offsets.
Java class for Period complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Period"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="periodMultiplier" type="{http://www.w3.org/2001/XMLSchema}integer"/> <element name="period" type="{http://www.fpml.org/FpML-5/confirmation}PeriodEnum"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the value of the id property.Gets the value of the period property.Gets the value of the periodMultiplier property.void
Sets the value of the id property.void
setPeriod
(PeriodEnum value) Sets the value of the period property.void
setPeriodMultiplier
(BigInteger value) Sets the value of the periodMultiplier property.
-
Field Details
-
periodMultiplier
-
period
-
id
-
-
Constructor Details
-
Period
public Period()
-
-
Method Details
-
getPeriodMultiplier
Gets the value of the periodMultiplier property.- Returns:
- possible object is
BigInteger
-
setPeriodMultiplier
Sets the value of the periodMultiplier property.- Parameters:
value
- allowed object isBigInteger
-
getPeriod
Gets the value of the period property.- Returns:
- possible object is
PeriodEnum
-
setPeriod
Sets the value of the period property.- Parameters:
value
- allowed object isPeriodEnum
-
getId
-
setId
-