Class Commodity
java.lang.Object
net.finmath.smartcontract.product.xml.Asset
net.finmath.smartcontract.product.xml.IdentifiedAsset
net.finmath.smartcontract.product.xml.Commodity
A type describing a commodity underlying asset.
Java class for Commodity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Commodity"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}IdentifiedAsset"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityProduct.model"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommodityBase
protected CommodityDetails
protected Currency
protected AdjustableDate
protected Offset
protected Offset
protected DeliveryDatesEnum
protected XMLGregorianCalendar
protected DeliveryNearby
protected ExchangeId
protected BigDecimal
protected CommodityInformationSource
protected SpecifiedPriceEnum
protected QuantityUnit
Fields inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
description, instrumentId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the commodityBase property.Gets the value of the commodityDetails property.Gets the value of the currency property.Gets the value of the deliveryDate property.Gets the value of the deliveryDateExpirationConvention property.Gets the value of the deliveryDateRollConvention property.Gets the value of the deliveryDates property.Gets the value of the deliveryDateYearMonth property.Gets the value of the deliveryNearby property.Gets the value of the exchangeId property.Gets the value of the multiplier property.Gets the value of the publication property.Gets the value of the specifiedPrice property.getUnit()
Gets the value of the unit property.void
setCommodityBase
(CommodityBase value) Sets the value of the commodityBase property.void
Sets the value of the commodityDetails property.void
setCurrency
(Currency value) Sets the value of the currency property.void
setDeliveryDate
(AdjustableDate value) Sets the value of the deliveryDate property.void
Sets the value of the deliveryDateExpirationConvention property.void
Sets the value of the deliveryDateRollConvention property.void
Sets the value of the deliveryDates property.void
Sets the value of the deliveryDateYearMonth property.void
setDeliveryNearby
(DeliveryNearby value) Sets the value of the deliveryNearby property.void
setExchangeId
(ExchangeId value) Sets the value of the exchangeId property.void
setMultiplier
(BigDecimal value) Sets the value of the multiplier property.void
Sets the value of the publication property.void
Sets the value of the specifiedPrice property.void
setUnit
(QuantityUnit value) Sets the value of the unit property.Methods inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
getDescription, getInstrumentId, setDescription
-
Field Details
-
commodityBase
-
commodityDetails
-
unit
-
currency
-
exchangeId
-
publication
-
specifiedPrice
-
deliveryDates
-
deliveryNearby
-
deliveryDate
-
deliveryDateYearMonth
-
deliveryDateRollConvention
-
deliveryDateExpirationConvention
-
multiplier
-
-
Constructor Details
-
Commodity
public Commodity()
-
-
Method Details
-
getCommodityBase
Gets the value of the commodityBase property.- Returns:
- possible object is
CommodityBase
-
setCommodityBase
Sets the value of the commodityBase property.- Parameters:
value
- allowed object isCommodityBase
-
getCommodityDetails
Gets the value of the commodityDetails property.- Returns:
- possible object is
CommodityDetails
-
setCommodityDetails
Sets the value of the commodityDetails property.- Parameters:
value
- allowed object isCommodityDetails
-
getUnit
Gets the value of the unit property.- Returns:
- possible object is
QuantityUnit
-
setUnit
Sets the value of the unit property.- Parameters:
value
- allowed object isQuantityUnit
-
getCurrency
-
setCurrency
-
getExchangeId
Gets the value of the exchangeId property.- Returns:
- possible object is
ExchangeId
-
setExchangeId
Sets the value of the exchangeId property.- Parameters:
value
- allowed object isExchangeId
-
getPublication
Gets the value of the publication property.- Returns:
- possible object is
CommodityInformationSource
-
setPublication
Sets the value of the publication property.- Parameters:
value
- allowed object isCommodityInformationSource
-
getSpecifiedPrice
Gets the value of the specifiedPrice property.- Returns:
- possible object is
SpecifiedPriceEnum
-
setSpecifiedPrice
Sets the value of the specifiedPrice property.- Parameters:
value
- allowed object isSpecifiedPriceEnum
-
getDeliveryDates
Gets the value of the deliveryDates property.- Returns:
- possible object is
DeliveryDatesEnum
-
setDeliveryDates
Sets the value of the deliveryDates property.- Parameters:
value
- allowed object isDeliveryDatesEnum
-
getDeliveryNearby
Gets the value of the deliveryNearby property.- Returns:
- possible object is
DeliveryNearby
-
setDeliveryNearby
Sets the value of the deliveryNearby property.- Parameters:
value
- allowed object isDeliveryNearby
-
getDeliveryDate
Gets the value of the deliveryDate property.- Returns:
- possible object is
AdjustableDate
-
setDeliveryDate
Sets the value of the deliveryDate property.- Parameters:
value
- allowed object isAdjustableDate
-
getDeliveryDateYearMonth
Gets the value of the deliveryDateYearMonth property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDeliveryDateYearMonth
Sets the value of the deliveryDateYearMonth property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getDeliveryDateRollConvention
-
setDeliveryDateRollConvention
-
getDeliveryDateExpirationConvention
-
setDeliveryDateExpirationConvention
-
getMultiplier
Gets the value of the multiplier property.- Returns:
- possible object is
BigDecimal
-
setMultiplier
Sets the value of the multiplier property.- Parameters:
value
- allowed object isBigDecimal
-