net.finmath.smartcontract.product.xml.InstrumentTradeDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-smart-derivative-contract Show documentation
Show all versions of finmath-smart-derivative-contract Show documentation
Project to support the implementation a of smart derivative contract.
//
// 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.XmlElement;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlType;
/**
* The economics of a trade of a multiply traded instrument.
*
*
* Java class for InstrumentTradeDetails complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="InstrumentTradeDetails">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
* <sequence>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}BuyerSeller.model"/>
* <element ref="{http://www.fpml.org/FpML-5/confirmation}underlyingAsset"/>
* <element name="quantity" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentTradeQuantity" minOccurs="0"/>
* <element name="pricing" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentTradePricing" minOccurs="0"/>
* <element name="principal" type="{http://www.fpml.org/FpML-5/confirmation}InstrumentTradePrincipal" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InstrumentTradeDetails", propOrder = {
"buyerPartyReference",
"buyerAccountReference",
"sellerPartyReference",
"sellerAccountReference",
"underlyingAsset",
"quantity",
"pricing",
"principal"
})
public class InstrumentTradeDetails
extends Product
{
@XmlElement(required = true)
protected PartyReference buyerPartyReference;
protected AccountReference buyerAccountReference;
@XmlElement(required = true)
protected PartyReference sellerPartyReference;
protected AccountReference sellerAccountReference;
@XmlElementRef(name = "underlyingAsset", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class)
protected JAXBElement extends Asset> underlyingAsset;
protected InstrumentTradeQuantity quantity;
protected InstrumentTradePricing pricing;
protected InstrumentTradePrincipal principal;
/**
* 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;
}
/**
* The FpML asset description for the asset.
*
*
* @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 extends Asset> 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 extends Asset> value) {
this.underlyingAsset = value;
}
/**
* Gets the value of the quantity property.
*
* @return
* possible object is
* {@link InstrumentTradeQuantity }
*
*/
public InstrumentTradeQuantity getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is
* {@link InstrumentTradeQuantity }
*
*/
public void setQuantity(InstrumentTradeQuantity value) {
this.quantity = value;
}
/**
* Gets the value of the pricing property.
*
* @return
* possible object is
* {@link InstrumentTradePricing }
*
*/
public InstrumentTradePricing getPricing() {
return pricing;
}
/**
* Sets the value of the pricing property.
*
* @param value
* allowed object is
* {@link InstrumentTradePricing }
*
*/
public void setPricing(InstrumentTradePricing value) {
this.pricing = value;
}
/**
* Gets the value of the principal property.
*
* @return
* possible object is
* {@link InstrumentTradePrincipal }
*
*/
public InstrumentTradePrincipal getPrincipal() {
return principal;
}
/**
* Sets the value of the principal property.
*
* @param value
* allowed object is
* {@link InstrumentTradePrincipal }
*
*/
public void setPrincipal(InstrumentTradePrincipal value) {
this.principal = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy