Class TradeUnderlyer2
java.lang.Object
net.finmath.smartcontract.product.xml.TradeUnderlyer2
The underlying asset/index/reference price etc. whose rate/price may be
observed to compute the value of the cashflow. It can be an index, fixed rate, listed security, quoted
currency pair, or a reference entity (for credit derivatives). For use with Generic products in
Transparency reporting. Generic products define a product that represents an OTC derivative transaction
whose economics are not fully described using an FpML schema. In other views, generic products are
present for convenience to support internal messaging and workflows that are cross-product. Generic
products are not full trade representations as such they are not intended to be used for confirming
trades.
Java class for TradeUnderlyer2 complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeUnderlyer2"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="floatingRate" type="{http://www.fpml.org/FpML-5/confirmation}FloatingRate"/> <element name="fixedRate" type="{http://www.fpml.org/FpML-5/confirmation}Schedule"/> <element name="exchangeRate" type="{http://www.fpml.org/FpML-5/confirmation}GenericProductExchangeRate"/> <element ref="{http://www.fpml.org/FpML-5/confirmation}underlyingAsset"/> <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/> <element name="referenceEntity" type="{http://www.fpml.org/FpML-5/confirmation}LegalEntity"/> </choice> <element name="averagingMethod" type="{http://www.fpml.org/FpML-5/confirmation}AveragingMethodEnum" minOccurs="0"/> <choice minOccurs="0"> <group ref="{http://www.fpml.org/FpML-5/confirmation}PayerReceiver.model"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}BuyerSeller.model"/> </choice> <element name="dayCountFraction" type="{http://www.fpml.org/FpML-5/confirmation}DayCountFraction" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AveragingMethodEnum
protected AccountReference
protected PartyReference
protected DayCountFraction
protected GenericProductExchangeRate
protected Schedule
protected FloatingRate
protected String
protected AccountReference
protected PartyReference
protected QuotedCurrencyPair
protected AccountReference
protected PartyReference
protected LegalEntity
protected AccountReference
protected PartyReference
protected jakarta.xml.bind.JAXBElement
<? extends Asset> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averagingMethod property.Gets the value of the buyerAccountReference property.Gets the value of the buyerPartyReference property.Gets the value of the dayCountFraction property.Gets the value of the exchangeRate property.Gets the value of the fixedRate property.Gets the value of the floatingRate property.getId()
Gets the value of the id property.Gets the value of the payerAccountReference property.Gets the value of the payerPartyReference property.Gets the value of the quotedCurrencyPair property.Gets the value of the receiverAccountReference property.Gets the value of the receiverPartyReference property.Gets the value of the referenceEntity property.Gets the value of the sellerAccountReference property.Gets the value of the sellerPartyReference property.jakarta.xml.bind.JAXBElement
<? extends Asset> Define the underlying asset, either a listed security or other instrument.void
Sets the value of the averagingMethod property.void
Sets the value of the buyerAccountReference property.void
Sets the value of the buyerPartyReference property.void
Sets the value of the dayCountFraction property.void
Sets the value of the exchangeRate property.void
setFixedRate
(Schedule value) Sets the value of the fixedRate property.void
setFloatingRate
(FloatingRate value) Sets the value of the floatingRate property.void
Sets the value of the id property.void
Sets the value of the payerAccountReference property.void
Sets the value of the payerPartyReference property.void
Sets the value of the quotedCurrencyPair property.void
Sets the value of the receiverAccountReference property.void
Sets the value of the receiverPartyReference property.void
setReferenceEntity
(LegalEntity value) Sets the value of the referenceEntity property.void
Sets the value of the sellerAccountReference property.void
Sets the value of the sellerPartyReference property.void
setUnderlyingAsset
(jakarta.xml.bind.JAXBElement<? extends Asset> value) Sets the value of the underlyingAsset property.
-
Field Details
-
floatingRate
-
fixedRate
-
exchangeRate
-
underlyingAsset
-
quotedCurrencyPair
-
referenceEntity
-
averagingMethod
-
payerPartyReference
-
payerAccountReference
-
receiverPartyReference
-
receiverAccountReference
-
buyerPartyReference
-
buyerAccountReference
-
sellerPartyReference
-
sellerAccountReference
-
dayCountFraction
-
id
-
-
Constructor Details
-
TradeUnderlyer2
public TradeUnderlyer2()
-
-
Method Details
-
getFloatingRate
Gets the value of the floatingRate property.- Returns:
- possible object is
FloatingRate
-
setFloatingRate
Sets the value of the floatingRate property.- Parameters:
value
- allowed object isFloatingRate
-
getFixedRate
-
setFixedRate
-
getExchangeRate
Gets the value of the exchangeRate property.- Returns:
- possible object is
GenericProductExchangeRate
-
setExchangeRate
Sets the value of the exchangeRate property.- Parameters:
value
- allowed object isGenericProductExchangeRate
-
getUnderlyingAsset
Define the underlying asset, either a listed security or other instrument.- Returns:
- possible object is
JAXBElement
<
Index
>
JAXBElement
<
Mortgage
>
JAXBElement
<
Cash
>
JAXBElement
<
EquityAsset
>
JAXBElement
<
Future
>
JAXBElement
<
Bond
>
JAXBElement
<
ConvertibleBond
>
JAXBElement
<
Basket
>
JAXBElement
<
ExchangeTradedFund
>
JAXBElement
<
Loan
>
JAXBElement
<
MutualFund
>
JAXBElement
<
ExchangeTradedOption
>
JAXBElement
<
Commodity
>
JAXBElement
<
Asset
>
-
setUnderlyingAsset
Sets the value of the underlyingAsset property.- Parameters:
value
- allowed object isJAXBElement
<
Index
>
JAXBElement
<
Mortgage
>
JAXBElement
<
Cash
>
JAXBElement
<
EquityAsset
>
JAXBElement
<
Future
>
JAXBElement
<
Bond
>
JAXBElement
<
ConvertibleBond
>
JAXBElement
<
Basket
>
JAXBElement
<
ExchangeTradedFund
>
JAXBElement
<
Loan
>
JAXBElement
<
MutualFund
>
JAXBElement
<
ExchangeTradedOption
>
JAXBElement
<
Commodity
>
JAXBElement
<
Asset
>
-
getQuotedCurrencyPair
Gets the value of the quotedCurrencyPair property.- Returns:
- possible object is
QuotedCurrencyPair
-
setQuotedCurrencyPair
Sets the value of the quotedCurrencyPair property.- Parameters:
value
- allowed object isQuotedCurrencyPair
-
getReferenceEntity
Gets the value of the referenceEntity property.- Returns:
- possible object is
LegalEntity
-
setReferenceEntity
Sets the value of the referenceEntity property.- Parameters:
value
- allowed object isLegalEntity
-
getAveragingMethod
Gets the value of the averagingMethod property.- Returns:
- possible object is
AveragingMethodEnum
-
setAveragingMethod
Sets the value of the averagingMethod property.- Parameters:
value
- allowed object isAveragingMethodEnum
-
getPayerPartyReference
Gets the value of the payerPartyReference property.- Returns:
- possible object is
PartyReference
-
setPayerPartyReference
Sets the value of the payerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getPayerAccountReference
Gets the value of the payerAccountReference property.- Returns:
- possible object is
AccountReference
-
setPayerAccountReference
Sets the value of the payerAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getReceiverPartyReference
Gets the value of the receiverPartyReference property.- Returns:
- possible object is
PartyReference
-
setReceiverPartyReference
Sets the value of the receiverPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getReceiverAccountReference
Gets the value of the receiverAccountReference property.- Returns:
- possible object is
AccountReference
-
setReceiverAccountReference
Sets the value of the receiverAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
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
-
getDayCountFraction
Gets the value of the dayCountFraction property.- Returns:
- possible object is
DayCountFraction
-
setDayCountFraction
Sets the value of the dayCountFraction property.- Parameters:
value
- allowed object isDayCountFraction
-
getId
-
setId
-