All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.smartcontract.product.xml.TradeUnderlyer2 Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.12.05 at 10:53:57 AM CET 
//


package net.finmath.smartcontract.product.xml;

import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TradeUnderlyer2", propOrder = { "floatingRate", "fixedRate", "exchangeRate", "underlyingAsset", "quotedCurrencyPair", "referenceEntity", "averagingMethod", "payerPartyReference", "payerAccountReference", "receiverPartyReference", "receiverAccountReference", "buyerPartyReference", "buyerAccountReference", "sellerPartyReference", "sellerAccountReference", "dayCountFraction" }) public class TradeUnderlyer2 { protected FloatingRate floatingRate; protected Schedule fixedRate; protected GenericProductExchangeRate exchangeRate; @XmlElementRef(name = "underlyingAsset", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false) protected JAXBElement underlyingAsset; protected QuotedCurrencyPair quotedCurrencyPair; protected LegalEntity referenceEntity; @XmlSchemaType(name = "token") protected AveragingMethodEnum averagingMethod; protected PartyReference payerPartyReference; protected AccountReference payerAccountReference; protected PartyReference receiverPartyReference; protected AccountReference receiverAccountReference; protected PartyReference buyerPartyReference; protected AccountReference buyerAccountReference; protected PartyReference sellerPartyReference; protected AccountReference sellerAccountReference; protected DayCountFraction dayCountFraction; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * Gets the value of the floatingRate property. * * @return * possible object is * {@link FloatingRate } * */ public FloatingRate getFloatingRate() { return floatingRate; } /** * Sets the value of the floatingRate property. * * @param value * allowed object is * {@link FloatingRate } * */ public void setFloatingRate(FloatingRate value) { this.floatingRate = value; } /** * Gets the value of the fixedRate property. * * @return * possible object is * {@link Schedule } * */ public Schedule getFixedRate() { return fixedRate; } /** * Sets the value of the fixedRate property. * * @param value * allowed object is * {@link Schedule } * */ public void setFixedRate(Schedule value) { this.fixedRate = value; } /** * Gets the value of the exchangeRate property. * * @return * possible object is * {@link GenericProductExchangeRate } * */ public GenericProductExchangeRate getExchangeRate() { return exchangeRate; } /** * Sets the value of the exchangeRate property. * * @param value * allowed object is * {@link GenericProductExchangeRate } * */ public void setExchangeRate(GenericProductExchangeRate value) { this.exchangeRate = value; } /** * Define the underlying asset, either a listed security or other * instrument. * * * @return * possible object is * {@link JAXBElement }{@code <}{@link Index }{@code >} * {@link JAXBElement }{@code <}{@link Mortgage }{@code >} * {@link JAXBElement }{@code <}{@link Cash }{@code >} * {@link JAXBElement }{@code <}{@link EquityAsset }{@code >} * {@link JAXBElement }{@code <}{@link Future }{@code >} * {@link JAXBElement }{@code <}{@link Bond }{@code >} * {@link JAXBElement }{@code <}{@link ConvertibleBond }{@code >} * {@link JAXBElement }{@code <}{@link Basket }{@code >} * {@link JAXBElement }{@code <}{@link ExchangeTradedFund }{@code >} * {@link JAXBElement }{@code <}{@link Loan }{@code >} * {@link JAXBElement }{@code <}{@link MutualFund }{@code >} * {@link JAXBElement }{@code <}{@link ExchangeTradedOption }{@code >} * {@link JAXBElement }{@code <}{@link Commodity }{@code >} * {@link JAXBElement }{@code <}{@link Asset }{@code >} * */ public JAXBElement getUnderlyingAsset() { return underlyingAsset; } /** * Sets the value of the underlyingAsset property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link Index }{@code >} * {@link JAXBElement }{@code <}{@link Mortgage }{@code >} * {@link JAXBElement }{@code <}{@link Cash }{@code >} * {@link JAXBElement }{@code <}{@link EquityAsset }{@code >} * {@link JAXBElement }{@code <}{@link Future }{@code >} * {@link JAXBElement }{@code <}{@link Bond }{@code >} * {@link JAXBElement }{@code <}{@link ConvertibleBond }{@code >} * {@link JAXBElement }{@code <}{@link Basket }{@code >} * {@link JAXBElement }{@code <}{@link ExchangeTradedFund }{@code >} * {@link JAXBElement }{@code <}{@link Loan }{@code >} * {@link JAXBElement }{@code <}{@link MutualFund }{@code >} * {@link JAXBElement }{@code <}{@link ExchangeTradedOption }{@code >} * {@link JAXBElement }{@code <}{@link Commodity }{@code >} * {@link JAXBElement }{@code <}{@link Asset }{@code >} * */ public void setUnderlyingAsset(JAXBElement value) { this.underlyingAsset = value; } /** * Gets the value of the quotedCurrencyPair property. * * @return * possible object is * {@link QuotedCurrencyPair } * */ public QuotedCurrencyPair getQuotedCurrencyPair() { return quotedCurrencyPair; } /** * Sets the value of the quotedCurrencyPair property. * * @param value * allowed object is * {@link QuotedCurrencyPair } * */ public void setQuotedCurrencyPair(QuotedCurrencyPair value) { this.quotedCurrencyPair = value; } /** * Gets the value of the referenceEntity property. * * @return * possible object is * {@link LegalEntity } * */ public LegalEntity getReferenceEntity() { return referenceEntity; } /** * Sets the value of the referenceEntity property. * * @param value * allowed object is * {@link LegalEntity } * */ public void setReferenceEntity(LegalEntity value) { this.referenceEntity = value; } /** * Gets the value of the averagingMethod property. * * @return * possible object is * {@link AveragingMethodEnum } * */ public AveragingMethodEnum getAveragingMethod() { return averagingMethod; } /** * Sets the value of the averagingMethod property. * * @param value * allowed object is * {@link AveragingMethodEnum } * */ public void setAveragingMethod(AveragingMethodEnum value) { this.averagingMethod = value; } /** * Gets the value of the payerPartyReference property. * * @return * possible object is * {@link PartyReference } * */ public PartyReference getPayerPartyReference() { return payerPartyReference; } /** * Sets the value of the payerPartyReference property. * * @param value * allowed object is * {@link PartyReference } * */ public void setPayerPartyReference(PartyReference value) { this.payerPartyReference = value; } /** * Gets the value of the payerAccountReference property. * * @return * possible object is * {@link AccountReference } * */ public AccountReference getPayerAccountReference() { return payerAccountReference; } /** * Sets the value of the payerAccountReference property. * * @param value * allowed object is * {@link AccountReference } * */ public void setPayerAccountReference(AccountReference value) { this.payerAccountReference = value; } /** * Gets the value of the receiverPartyReference property. * * @return * possible object is * {@link PartyReference } * */ public PartyReference getReceiverPartyReference() { return receiverPartyReference; } /** * Sets the value of the receiverPartyReference property. * * @param value * allowed object is * {@link PartyReference } * */ public void setReceiverPartyReference(PartyReference value) { this.receiverPartyReference = value; } /** * Gets the value of the receiverAccountReference property. * * @return * possible object is * {@link AccountReference } * */ public AccountReference getReceiverAccountReference() { return receiverAccountReference; } /** * Sets the value of the receiverAccountReference property. * * @param value * allowed object is * {@link AccountReference } * */ public void setReceiverAccountReference(AccountReference value) { this.receiverAccountReference = value; } /** * Gets the value of the buyerPartyReference property. * * @return * possible object is * {@link PartyReference } * */ public PartyReference getBuyerPartyReference() { return buyerPartyReference; } /** * Sets the value of the buyerPartyReference property. * * @param value * allowed object is * {@link PartyReference } * */ public void setBuyerPartyReference(PartyReference value) { this.buyerPartyReference = value; } /** * Gets the value of the buyerAccountReference property. * * @return * possible object is * {@link AccountReference } * */ public AccountReference getBuyerAccountReference() { return buyerAccountReference; } /** * Sets the value of the buyerAccountReference property. * * @param value * allowed object is * {@link AccountReference } * */ public void setBuyerAccountReference(AccountReference value) { this.buyerAccountReference = value; } /** * Gets the value of the sellerPartyReference property. * * @return * possible object is * {@link PartyReference } * */ public PartyReference getSellerPartyReference() { return sellerPartyReference; } /** * Sets the value of the sellerPartyReference property. * * @param value * allowed object is * {@link PartyReference } * */ public void setSellerPartyReference(PartyReference value) { this.sellerPartyReference = value; } /** * Gets the value of the sellerAccountReference property. * * @return * possible object is * {@link AccountReference } * */ public AccountReference getSellerAccountReference() { return sellerAccountReference; } /** * Sets the value of the sellerAccountReference property. * * @param value * allowed object is * {@link AccountReference } * */ public void setSellerAccountReference(AccountReference value) { this.sellerAccountReference = value; } /** * Gets the value of the dayCountFraction property. * * @return * possible object is * {@link DayCountFraction } * */ public DayCountFraction getDayCountFraction() { return dayCountFraction; } /** * Sets the value of the dayCountFraction property. * * @param value * allowed object is * {@link DayCountFraction } * */ public void setDayCountFraction(DayCountFraction value) { this.dayCountFraction = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy