Class ElectricityProduct
java.lang.Object
net.finmath.smartcontract.product.xml.ElectricityProduct
The specification of the electricity to be delivered.
Java class for ElectricityProduct complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ElectricityProduct"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}ElectricityProductTypeEnum"/> <element name="voltage" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
Gets the value of the type property.Gets the value of the voltage property.void
Sets the value of the type property.void
setVoltage
(BigDecimal value) Sets the value of the voltage property.
-
Field Details
-
type
-
voltage
-
-
Constructor Details
-
ElectricityProduct
public ElectricityProduct()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
ElectricityProductTypeEnum
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isElectricityProductTypeEnum
-
getVoltage
Gets the value of the voltage property.- Returns:
- possible object is
BigDecimal
-
setVoltage
Sets the value of the voltage property.- Parameters:
value
- allowed object isBigDecimal
-