Class CoalProduct
java.lang.Object
net.finmath.smartcontract.product.xml.CoalProduct
A type defining the characteristics of the coal being traded in a
physically settled gas transaction.
Java class for CoalProduct complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CoalProduct"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}CoalProductType"/> <element name="coalProductSpecifications" type="{http://www.fpml.org/FpML-5/confirmation}CoalProductSpecifications"/> </choice> <element name="source" type="{http://www.fpml.org/FpML-5/confirmation}CoalProductSource" maxOccurs="unbounded"/> <element name="sCoTASpecifications" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityUSCoalProduct.model" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected CoalQualityAdjustments
protected CoalProductSpecifications
protected Boolean
protected CoalQualityAdjustments
protected List
<CoalProductSource> protected CoalProductType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the btuQualityAdjustment property.Gets the value of the coalProductSpecifications property.Gets the value of the so2QualityAdjustment property.Gets the value of the source property.getType()
Gets the value of the type property.Gets the value of the sCoTASpecifications property.void
Sets the value of the btuQualityAdjustment property.void
Sets the value of the coalProductSpecifications property.void
setSCoTASpecifications
(Boolean value) Sets the value of the sCoTASpecifications property.void
Sets the value of the so2QualityAdjustment property.void
setType
(CoalProductType value) Sets the value of the type property.
-
Field Details
-
type
-
coalProductSpecifications
-
source
-
sCoTASpecifications
-
btuQualityAdjustment
-
so2QualityAdjustment
-
-
Constructor Details
-
CoalProduct
public CoalProduct()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
CoalProductType
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isCoalProductType
-
getCoalProductSpecifications
Gets the value of the coalProductSpecifications property.- Returns:
- possible object is
CoalProductSpecifications
-
setCoalProductSpecifications
Sets the value of the coalProductSpecifications property.- Parameters:
value
- allowed object isCoalProductSpecifications
-
getSource
Gets the value of the source 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 source property.For example, to add a new item, do as follows:
getSource().add(newItem);
Objects of the following type(s) are allowed in the list
CoalProductSource
-
isSCoTASpecifications
-
setSCoTASpecifications
-
getBtuQualityAdjustment
Gets the value of the btuQualityAdjustment property.- Returns:
- possible object is
CoalQualityAdjustments
-
setBtuQualityAdjustment
Sets the value of the btuQualityAdjustment property.- Parameters:
value
- allowed object isCoalQualityAdjustments
-
getSo2QualityAdjustment
Gets the value of the so2QualityAdjustment property.- Returns:
- possible object is
CoalQualityAdjustments
-
setSo2QualityAdjustment
Sets the value of the so2QualityAdjustment property.- Parameters:
value
- allowed object isCoalQualityAdjustments
-