Class OilProduct
java.lang.Object
net.finmath.smartcontract.product.xml.OilProduct
The specification of the oil product to be delivered.
Java class for OilProduct complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OilProduct"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}OilProductType"/> <element name="grade" type="{http://www.fpml.org/FpML-5/confirmation}CommodityProductGrade"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGrade()
Gets the value of the grade property.getType()
Gets the value of the type property.void
setGrade
(CommodityProductGrade value) Sets the value of the grade property.void
setType
(OilProductType value) Sets the value of the type property.
-
Field Details
-
type
-
grade
-
-
Constructor Details
-
OilProduct
public OilProduct()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
OilProductType
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isOilProductType
-
getGrade
Gets the value of the grade property.- Returns:
- possible object is
CommodityProductGrade
-
setGrade
Sets the value of the grade property.- Parameters:
value
- allowed object isCommodityProductGrade
-