Class MetalPhysicalLeg
java.lang.Object
net.finmath.smartcontract.product.xml.Leg
net.finmath.smartcontract.product.xml.CommodityForwardLeg
net.finmath.smartcontract.product.xml.PhysicalForwardLeg
net.finmath.smartcontract.product.xml.MetalPhysicalLeg
Physically settled leg of a physically settled Metal transaction.
Java class for MetalPhysicalLeg complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetalPhysicalLeg"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}PhysicalForwardLeg"> <sequence> <element name="metal" type="{http://www.fpml.org/FpML-5/confirmation}Metal"/> <element name="deliveryPeriods" type="{http://www.fpml.org/FpML-5/confirmation}CommodityDeliveryPeriods"/> <element name="deliveryConditions" type="{http://www.fpml.org/FpML-5/confirmation}MetalDelivery"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityFixedPhysicalQuantity.model"/> <element name="conversionFactor" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimal
protected MetalDelivery
protected CommodityDeliveryPeriods
protected Metal
protected CommodityNotionalQuantity
protected CommodityPhysicalQuantitySchedule
protected UnitQuantity
Fields inherited from class net.finmath.smartcontract.product.xml.PhysicalForwardLeg
payerAccountReference, payerPartyReference, receiverAccountReference, receiverPartyReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the conversionFactor property.Gets the value of the deliveryConditions property.Gets the value of the deliveryPeriods property.getMetal()
Gets the value of the metal property.Gets the value of the physicalQuantity property.Gets the value of the physicalQuantitySchedule property.Gets the value of the totalPhysicalQuantity property.void
setConversionFactor
(BigDecimal value) Sets the value of the conversionFactor property.void
Sets the value of the deliveryConditions property.void
Sets the value of the deliveryPeriods property.void
Sets the value of the metal property.void
Sets the value of the physicalQuantity property.void
Sets the value of the physicalQuantitySchedule property.void
Sets the value of the totalPhysicalQuantity property.Methods inherited from class net.finmath.smartcontract.product.xml.PhysicalForwardLeg
getPayerAccountReference, getPayerPartyReference, getReceiverAccountReference, getReceiverPartyReference, setPayerAccountReference, setPayerPartyReference, setReceiverAccountReference, setReceiverPartyReference
-
Field Details
-
metal
-
deliveryPeriods
-
deliveryConditions
-
physicalQuantity
-
physicalQuantitySchedule
-
totalPhysicalQuantity
-
conversionFactor
-
-
Constructor Details
-
MetalPhysicalLeg
public MetalPhysicalLeg()
-
-
Method Details
-
getMetal
-
setMetal
-
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
-
getDeliveryConditions
Gets the value of the deliveryConditions property.- Returns:
- possible object is
MetalDelivery
-
setDeliveryConditions
Sets the value of the deliveryConditions property.- Parameters:
value
- allowed object isMetalDelivery
-
getPhysicalQuantity
Gets the value of the physicalQuantity property.- Returns:
- possible object is
CommodityNotionalQuantity
-
setPhysicalQuantity
Sets the value of the physicalQuantity property.- Parameters:
value
- allowed object isCommodityNotionalQuantity
-
getPhysicalQuantitySchedule
Gets the value of the physicalQuantitySchedule property.- Returns:
- possible object is
CommodityPhysicalQuantitySchedule
-
setPhysicalQuantitySchedule
Sets the value of the physicalQuantitySchedule property.- Parameters:
value
- allowed object isCommodityPhysicalQuantitySchedule
-
getTotalPhysicalQuantity
Gets the value of the totalPhysicalQuantity property.- Returns:
- possible object is
UnitQuantity
-
setTotalPhysicalQuantity
Sets the value of the totalPhysicalQuantity property.- Parameters:
value
- allowed object isUnitQuantity
-
getConversionFactor
Gets the value of the conversionFactor property.- Returns:
- possible object is
BigDecimal
-
setConversionFactor
Sets the value of the conversionFactor property.- Parameters:
value
- allowed object isBigDecimal
-