Class GenericProduct
Java class for GenericProduct complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GenericProduct"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Product"> <sequence> <element name="multiLeg" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <choice minOccurs="0"> <group ref="{http://www.fpml.org/FpML-5/confirmation}BuyerSeller.model"/> <element name="counterpartyReference" type="{http://www.fpml.org/FpML-5/confirmation}PartyReference" maxOccurs="2" minOccurs="0"/> </choice> <element name="premium" type="{http://www.fpml.org/FpML-5/confirmation}SimplePayment" minOccurs="0"/> <element name="effectiveDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate2"/> <element name="expirationDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate2" minOccurs="0"/> <element name="terminationDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableDate2"/> <element name="underlyer" type="{http://www.fpml.org/FpML-5/confirmation}TradeUnderlyer2" maxOccurs="unbounded" minOccurs="0"/> <element name="notional" type="{http://www.fpml.org/FpML-5/confirmation}CashflowNotional" maxOccurs="unbounded" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}GenericCommodityAttributes.model" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}GenericEquityAttributes.model" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}GenericOptionAttributes.model" minOccurs="0"/> <element name="paymentFrequency" type="{http://www.fpml.org/FpML-5/confirmation}GenericFrequency" maxOccurs="unbounded" minOccurs="0"/> <element name="resetFrequency" type="{http://www.fpml.org/FpML-5/confirmation}GenericResetFrequency" maxOccurs="unbounded" minOccurs="0"/> <element name="settlementCurrency" type="{http://www.fpml.org/FpML-5/confirmation}IdentifiedCurrency" maxOccurs="unbounded" minOccurs="0"/> <element name="settlementType" type="{http://www.fpml.org/FpML-5/confirmation}SettlementTypeEnum" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccountReference
protected PartyReference
protected AdjustableDate2
protected List
<PartyReference> protected AdjustableDate2
protected GenericExerciseStyle
protected AdjustableDate2
protected List
<GenericProductFeature> protected FixedPrice
protected List
<GenericCommodityGrade> protected InterconnectionPoint
protected LoadTypeEnum
protected Boolean
protected List
<CashflowNotional> protected BigDecimal
protected BigDecimal
protected OptionType
protected List
<GenericFrequency> protected SimplePayment
protected BigDecimal
protected CommodityQuantityFrequency
protected List
<GenericResetFrequency> protected AccountReference
protected PartyReference
protected List
<IdentifiedCurrency> protected List
<GenericCommodityDeliveryPeriod> protected SettlementTypeEnum
protected List
<GenericOptionStrike> protected AdjustableDate2
protected List
<TradeUnderlyer2> Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the buyerAccountReference property.Gets the value of the buyerPartyReference property.Gets the value of the commencementDate property.Gets the value of the counterpartyReference property.Gets the value of the effectiveDate property.Gets the value of the exerciseStyle property.Gets the value of the expirationDate property.Gets the value of the feature property.Gets the value of the fixedPrice property.getGrade()
Gets the value of the grade property.Gets the value of the interconnectionPoint property.Gets the value of the loadType property.Gets the value of the notional property.Gets the value of the numberOfOptions property.Gets the value of the optionEntitlement property.Gets the value of the optionType property.Gets the value of the paymentFrequency property.Gets the value of the premium property.Gets the value of the quantity property.Gets the value of the quantityFrequency property.Gets the value of the resetFrequency property.Gets the value of the sellerAccountReference property.Gets the value of the sellerPartyReference property.Gets the value of the settlementCurrency property.Gets the value of the settlementPeriods property.Gets the value of the settlementType property.Gets the value of the strike property.Gets the value of the terminationDate property.Gets the value of the underlyer property.Gets the value of the multiLeg property.void
Sets the value of the buyerAccountReference property.void
Sets the value of the buyerPartyReference property.void
Sets the value of the commencementDate property.void
setEffectiveDate
(AdjustableDate2 value) Sets the value of the effectiveDate property.void
Sets the value of the exerciseStyle property.void
setExpirationDate
(AdjustableDate2 value) Sets the value of the expirationDate property.void
setFixedPrice
(FixedPrice value) Sets the value of the fixedPrice property.void
Sets the value of the interconnectionPoint property.void
setLoadType
(LoadTypeEnum value) Sets the value of the loadType property.void
setMultiLeg
(Boolean value) Sets the value of the multiLeg property.void
setNumberOfOptions
(BigDecimal value) Sets the value of the numberOfOptions property.void
setOptionEntitlement
(BigDecimal value) Sets the value of the optionEntitlement property.void
setOptionType
(OptionType value) Sets the value of the optionType property.void
setPremium
(SimplePayment value) Sets the value of the premium property.void
setQuantity
(BigDecimal value) Sets the value of the quantity property.void
Sets the value of the quantityFrequency property.void
Sets the value of the sellerAccountReference property.void
Sets the value of the sellerPartyReference property.void
Sets the value of the settlementType property.void
Sets the value of the terminationDate property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
multiLeg
-
buyerPartyReference
-
buyerAccountReference
-
sellerPartyReference
-
sellerAccountReference
-
counterpartyReference
-
effectiveDate
-
expirationDate
-
terminationDate
-
underlyer
-
notional
-
grade
-
settlementPeriods
-
loadType
-
quantity
-
quantityFrequency
-
fixedPrice
-
interconnectionPoint
-
optionEntitlement
-
numberOfOptions
-
optionType
-
commencementDate
-
exerciseStyle
-
strike
-
feature
-
paymentFrequency
-
resetFrequency
-
settlementCurrency
-
settlementType
-
-
Constructor Details
-
GenericProduct
public GenericProduct()
-
-
Method Details
-
isMultiLeg
-
setMultiLeg
-
getBuyerPartyReference
Gets the value of the buyerPartyReference property.- Returns:
- possible object is
PartyReference
-
setBuyerPartyReference
Sets the value of the buyerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getBuyerAccountReference
Gets the value of the buyerAccountReference property.- Returns:
- possible object is
AccountReference
-
setBuyerAccountReference
Sets the value of the buyerAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getSellerPartyReference
Gets the value of the sellerPartyReference property.- Returns:
- possible object is
PartyReference
-
setSellerPartyReference
Sets the value of the sellerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getSellerAccountReference
Gets the value of the sellerAccountReference property.- Returns:
- possible object is
AccountReference
-
setSellerAccountReference
Sets the value of the sellerAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getCounterpartyReference
Gets the value of the counterpartyReference 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 counterpartyReference property.For example, to add a new item, do as follows:
getCounterpartyReference().add(newItem);
Objects of the following type(s) are allowed in the list
PartyReference
-
getPremium
Gets the value of the premium property.- Returns:
- possible object is
SimplePayment
-
setPremium
Sets the value of the premium property.- Parameters:
value
- allowed object isSimplePayment
-
getEffectiveDate
Gets the value of the effectiveDate property.- Returns:
- possible object is
AdjustableDate2
-
setEffectiveDate
Sets the value of the effectiveDate property.- Parameters:
value
- allowed object isAdjustableDate2
-
getExpirationDate
Gets the value of the expirationDate property.- Returns:
- possible object is
AdjustableDate2
-
setExpirationDate
Sets the value of the expirationDate property.- Parameters:
value
- allowed object isAdjustableDate2
-
getTerminationDate
Gets the value of the terminationDate property.- Returns:
- possible object is
AdjustableDate2
-
setTerminationDate
Sets the value of the terminationDate property.- Parameters:
value
- allowed object isAdjustableDate2
-
getUnderlyer
Gets the value of the underlyer 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 underlyer property.For example, to add a new item, do as follows:
getUnderlyer().add(newItem);
Objects of the following type(s) are allowed in the list
TradeUnderlyer2
-
getNotional
Gets the value of the notional 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 notional property.For example, to add a new item, do as follows:
getNotional().add(newItem);
Objects of the following type(s) are allowed in the list
CashflowNotional
-
getGrade
Gets the value of the grade 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 grade property.For example, to add a new item, do as follows:
getGrade().add(newItem);
Objects of the following type(s) are allowed in the list
GenericCommodityGrade
-
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
GenericCommodityDeliveryPeriod
-
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
-
getQuantity
Gets the value of the quantity property.- Returns:
- possible object is
BigDecimal
-
setQuantity
Sets the value of the quantity property.- Parameters:
value
- allowed object isBigDecimal
-
getQuantityFrequency
Gets the value of the quantityFrequency property.- Returns:
- possible object is
CommodityQuantityFrequency
-
setQuantityFrequency
Sets the value of the quantityFrequency property.- Parameters:
value
- allowed object isCommodityQuantityFrequency
-
getFixedPrice
Gets the value of the fixedPrice property.- Returns:
- possible object is
FixedPrice
-
setFixedPrice
Sets the value of the fixedPrice property.- Parameters:
value
- allowed object isFixedPrice
-
getInterconnectionPoint
Gets the value of the interconnectionPoint property.- Returns:
- possible object is
InterconnectionPoint
-
setInterconnectionPoint
Sets the value of the interconnectionPoint property.- Parameters:
value
- allowed object isInterconnectionPoint
-
getOptionEntitlement
Gets the value of the optionEntitlement property.- Returns:
- possible object is
BigDecimal
-
setOptionEntitlement
Sets the value of the optionEntitlement property.- Parameters:
value
- allowed object isBigDecimal
-
getNumberOfOptions
Gets the value of the numberOfOptions property.- Returns:
- possible object is
BigDecimal
-
setNumberOfOptions
Sets the value of the numberOfOptions property.- Parameters:
value
- allowed object isBigDecimal
-
getOptionType
Gets the value of the optionType property.- Returns:
- possible object is
OptionType
-
setOptionType
Sets the value of the optionType property.- Parameters:
value
- allowed object isOptionType
-
getCommencementDate
Gets the value of the commencementDate property.- Returns:
- possible object is
AdjustableDate2
-
setCommencementDate
Sets the value of the commencementDate property.- Parameters:
value
- allowed object isAdjustableDate2
-
getExerciseStyle
Gets the value of the exerciseStyle property.- Returns:
- possible object is
GenericExerciseStyle
-
setExerciseStyle
Sets the value of the exerciseStyle property.- Parameters:
value
- allowed object isGenericExerciseStyle
-
getStrike
Gets the value of the strike 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 strike property.For example, to add a new item, do as follows:
getStrike().add(newItem);
Objects of the following type(s) are allowed in the list
GenericOptionStrike
-
getFeature
Gets the value of the feature 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 feature property.For example, to add a new item, do as follows:
getFeature().add(newItem);
Objects of the following type(s) are allowed in the list
GenericProductFeature
-
getPaymentFrequency
Gets the value of the paymentFrequency 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 paymentFrequency property.For example, to add a new item, do as follows:
getPaymentFrequency().add(newItem);
Objects of the following type(s) are allowed in the list
GenericFrequency
-
getResetFrequency
Gets the value of the resetFrequency 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 resetFrequency property.For example, to add a new item, do as follows:
getResetFrequency().add(newItem);
Objects of the following type(s) are allowed in the list
GenericResetFrequency
-
getSettlementCurrency
Gets the value of the settlementCurrency 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 settlementCurrency property.For example, to add a new item, do as follows:
getSettlementCurrency().add(newItem);
Objects of the following type(s) are allowed in the list
IdentifiedCurrency
-
getSettlementType
Gets the value of the settlementType property.- Returns:
- possible object is
SettlementTypeEnum
-
setSettlementType
Sets the value of the settlementType property.- Parameters:
value
- allowed object isSettlementTypeEnum
-