Class ElectricityPhysicalLeg
java.lang.Object
net.finmath.smartcontract.product.xml.Leg
net.finmath.smartcontract.product.xml.CommoditySwapLeg
net.finmath.smartcontract.product.xml.PhysicalSwapLeg
net.finmath.smartcontract.product.xml.ElectricityPhysicalLeg
Physically settled leg of a physically settled electricity transaction.
Java class for ElectricityPhysicalLeg complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ElectricityPhysicalLeg"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}PhysicalSwapLeg"> <sequence> <element name="deliveryPeriods" type="{http://www.fpml.org/FpML-5/confirmation}CommodityDeliveryPeriods"/> <element name="settlementPeriods" type="{http://www.fpml.org/FpML-5/confirmation}SettlementPeriods" maxOccurs="unbounded"/> <element name="settlementPeriodsSchedule" type="{http://www.fpml.org/FpML-5/confirmation}SettlementPeriodsSchedule" minOccurs="0"/> <element name="loadType" type="{http://www.fpml.org/FpML-5/confirmation}LoadTypeEnum" minOccurs="0"/> <element name="electricity" type="{http://www.fpml.org/FpML-5/confirmation}ElectricityProduct"/> <element name="deliveryConditions" type="{http://www.fpml.org/FpML-5/confirmation}ElectricityDelivery"/> <element name="deliveryQuantity" type="{http://www.fpml.org/FpML-5/confirmation}ElectricityPhysicalQuantity"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected ElectricityDelivery
protected CommodityDeliveryPeriods
protected ElectricityPhysicalQuantity
protected ElectricityProduct
protected LoadTypeEnum
protected List
<SettlementPeriods> protected SettlementPeriodsSchedule
Fields inherited from class net.finmath.smartcontract.product.xml.PhysicalSwapLeg
payerAccountReference, payerPartyReference, receiverAccountReference, receiverPartyReference
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the deliveryConditions property.Gets the value of the deliveryPeriods property.Gets the value of the deliveryQuantity property.Gets the value of the electricity property.Gets the value of the loadType property.Gets the value of the settlementPeriods property.Gets the value of the settlementPeriodsSchedule property.void
Sets the value of the deliveryConditions property.void
Sets the value of the deliveryPeriods property.void
Sets the value of the deliveryQuantity property.void
setElectricity
(ElectricityProduct value) Sets the value of the electricity property.void
setLoadType
(LoadTypeEnum value) Sets the value of the loadType property.void
Sets the value of the settlementPeriodsSchedule property.Methods inherited from class net.finmath.smartcontract.product.xml.PhysicalSwapLeg
getPayerAccountReference, getPayerPartyReference, getReceiverAccountReference, getReceiverPartyReference, setPayerAccountReference, setPayerPartyReference, setReceiverAccountReference, setReceiverPartyReference
-
Field Details
-
deliveryPeriods
-
settlementPeriods
-
settlementPeriodsSchedule
-
loadType
-
electricity
-
deliveryConditions
-
deliveryQuantity
-
-
Constructor Details
-
ElectricityPhysicalLeg
public ElectricityPhysicalLeg()
-
-
Method Details
-
getDeliveryPeriods
Gets the value of the deliveryPeriods property.- Returns:
- possible object is
CommodityDeliveryPeriods
-
setDeliveryPeriods
Sets the value of the deliveryPeriods property.- Parameters:
value
- allowed object isCommodityDeliveryPeriods
-
getSettlementPeriods
Gets the value of the settlementPeriods 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 settlementPeriods property.For example, to add a new item, do as follows:
getSettlementPeriods().add(newItem);
Objects of the following type(s) are allowed in the list
SettlementPeriods
-
getSettlementPeriodsSchedule
Gets the value of the settlementPeriodsSchedule property.- Returns:
- possible object is
SettlementPeriodsSchedule
-
setSettlementPeriodsSchedule
Sets the value of the settlementPeriodsSchedule property.- Parameters:
value
- allowed object isSettlementPeriodsSchedule
-
getLoadType
Gets the value of the loadType property.- Returns:
- possible object is
LoadTypeEnum
-
setLoadType
Sets the value of the loadType property.- Parameters:
value
- allowed object isLoadTypeEnum
-
getElectricity
Gets the value of the electricity property.- Returns:
- possible object is
ElectricityProduct
-
setElectricity
Sets the value of the electricity property.- Parameters:
value
- allowed object isElectricityProduct
-
getDeliveryConditions
Gets the value of the deliveryConditions property.- Returns:
- possible object is
ElectricityDelivery
-
setDeliveryConditions
Sets the value of the deliveryConditions property.- Parameters:
value
- allowed object isElectricityDelivery
-
getDeliveryQuantity
Gets the value of the deliveryQuantity property.- Returns:
- possible object is
ElectricityPhysicalQuantity
-
setDeliveryQuantity
Sets the value of the deliveryQuantity property.- Parameters:
value
- allowed object isElectricityPhysicalQuantity
-