Class GasProduct
java.lang.Object
net.finmath.smartcontract.product.xml.GasProduct
A type defining the characteristics of the gas being traded in a physically
settled gas transaction.
Java class for GasProduct complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GasProduct"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}GasProductTypeEnum"/> <choice minOccurs="0"> <element name="calorificValue" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal"/> <element name="quality" type="{http://www.fpml.org/FpML-5/confirmation}GasQuality"/> </choice> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected GasQuality
protected GasProductTypeEnum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the calorificValue property.Gets the value of the quality property.getType()
Gets the value of the type property.void
setCalorificValue
(BigDecimal value) Sets the value of the calorificValue property.void
setQuality
(GasQuality value) Sets the value of the quality property.void
setType
(GasProductTypeEnum value) Sets the value of the type property.
-
Field Details
-
type
-
calorificValue
-
quality
-
-
Constructor Details
-
GasProduct
public GasProduct()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
GasProductTypeEnum
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isGasProductTypeEnum
-
getCalorificValue
Gets the value of the calorificValue property.- Returns:
- possible object is
BigDecimal
-
setCalorificValue
Sets the value of the calorificValue property.- Parameters:
value
- allowed object isBigDecimal
-
getQuality
Gets the value of the quality property.- Returns:
- possible object is
GasQuality
-
setQuality
Sets the value of the quality property.- Parameters:
value
- allowed object isGasQuality
-