Class WeightedAveragingObservation
java.lang.Object
net.finmath.smartcontract.product.xml.WeightedAveragingObservation
A single weighted averaging observation.
Java class for WeightedAveragingObservation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WeightedAveragingObservation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="dateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="observationNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> </choice> <element name="weight" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected XMLGregorianCalendar
protected BigInteger
protected BigDecimal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the dateTime property.Gets the value of the observationNumber property.Gets the value of the weight property.void
setDateTime
(XMLGregorianCalendar value) Sets the value of the dateTime property.void
setObservationNumber
(BigInteger value) Sets the value of the observationNumber property.void
setWeight
(BigDecimal value) Sets the value of the weight property.
-
Field Details
-
dateTime
-
observationNumber
-
weight
-
-
Constructor Details
-
WeightedAveragingObservation
public WeightedAveragingObservation()
-
-
Method Details
-
getDateTime
Gets the value of the dateTime property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDateTime
Sets the value of the dateTime property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getObservationNumber
Gets the value of the observationNumber property.- Returns:
- possible object is
BigInteger
-
setObservationNumber
Sets the value of the observationNumber property.- Parameters:
value
- allowed object isBigInteger
-
getWeight
Gets the value of the weight property.- Returns:
- possible object is
BigDecimal
-
setWeight
Sets the value of the weight property.- Parameters:
value
- allowed object isBigDecimal
-