Class AveragingPeriod
java.lang.Object
net.finmath.smartcontract.product.xml.AveragingPeriod
Period over which an average value is taken.
Java class for AveragingPeriod complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AveragingPeriod"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="schedule" type="{http://www.fpml.org/FpML-5/confirmation}AveragingSchedule" maxOccurs="unbounded" minOccurs="0"/> <choice minOccurs="0"> <element name="averagingDateTimes" type="{http://www.fpml.org/FpML-5/confirmation}DateTimeList"/> <element name="averagingObservations" type="{http://www.fpml.org/FpML-5/confirmation}AveragingObservationList"/> </choice> <element name="marketDisruption" type="{http://www.fpml.org/FpML-5/confirmation}MarketDisruption" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected DateTimeList
protected AveragingObservationList
protected MarketDisruption
protected List
<AveragingSchedule> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averagingDateTimes property.Gets the value of the averagingObservations property.Gets the value of the marketDisruption property.Gets the value of the schedule property.void
Sets the value of the averagingDateTimes property.void
Sets the value of the averagingObservations property.void
Sets the value of the marketDisruption property.
-
Field Details
-
schedule
-
averagingDateTimes
-
averagingObservations
-
marketDisruption
-
-
Constructor Details
-
AveragingPeriod
public AveragingPeriod()
-
-
Method Details
-
getSchedule
Gets the value of the schedule property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the schedule property.For example, to add a new item, do as follows:
getSchedule().add(newItem);
Objects of the following type(s) are allowed in the list
AveragingSchedule
-
getAveragingDateTimes
Gets the value of the averagingDateTimes property.- Returns:
- possible object is
DateTimeList
-
setAveragingDateTimes
Sets the value of the averagingDateTimes property.- Parameters:
value
- allowed object isDateTimeList
-
getAveragingObservations
Gets the value of the averagingObservations property.- Returns:
- possible object is
AveragingObservationList
-
setAveragingObservations
Sets the value of the averagingObservations property.- Parameters:
value
- allowed object isAveragingObservationList
-
getMarketDisruption
Gets the value of the marketDisruption property.- Returns:
- possible object is
MarketDisruption
-
setMarketDisruption
Sets the value of the marketDisruption property.- Parameters:
value
- allowed object isMarketDisruption
-