net.finmath.smartcontract.product.xml.TradeReferenceInformation Maven / Gradle / Ivy
Show all versions of finmath-smart-derivative-contract Show documentation
//
// 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 java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Defines a type that allows trade identifiers and/or trade information to be
* represented for a trade.
*
*
* Java class for TradeReferenceInformation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TradeReferenceInformation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice minOccurs="0">
* <element name="originatingEvent" type="{http://www.fpml.org/FpML-5/confirmation}OriginatingEvent"/>
* <element name="terminatingEvent" type="{http://www.fpml.org/FpML-5/confirmation}TerminatingEvent"/>
* </choice>
* <element name="partyTradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeIdentifier" maxOccurs="unbounded"/>
* <element name="partyTradeInformation" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeInformation" maxOccurs="unbounded" minOccurs="0"/>
* <element name="productType" type="{http://www.fpml.org/FpML-5/confirmation}ProductType" minOccurs="0"/>
* <element name="productId" type="{http://www.fpml.org/FpML-5/confirmation}ProductId" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeReferenceInformation", propOrder = {
"originatingEvent",
"terminatingEvent",
"partyTradeIdentifier",
"partyTradeInformation",
"productType",
"productId"
})
public class TradeReferenceInformation {
protected OriginatingEvent originatingEvent;
protected TerminatingEvent terminatingEvent;
@XmlElement(required = true)
protected List partyTradeIdentifier;
protected List partyTradeInformation;
protected ProductType productType;
protected ProductId productId;
/**
* Gets the value of the originatingEvent property.
*
* @return
* possible object is
* {@link OriginatingEvent }
*
*/
public OriginatingEvent getOriginatingEvent() {
return originatingEvent;
}
/**
* Sets the value of the originatingEvent property.
*
* @param value
* allowed object is
* {@link OriginatingEvent }
*
*/
public void setOriginatingEvent(OriginatingEvent value) {
this.originatingEvent = value;
}
/**
* Gets the value of the terminatingEvent property.
*
* @return
* possible object is
* {@link TerminatingEvent }
*
*/
public TerminatingEvent getTerminatingEvent() {
return terminatingEvent;
}
/**
* Sets the value of the terminatingEvent property.
*
* @param value
* allowed object is
* {@link TerminatingEvent }
*
*/
public void setTerminatingEvent(TerminatingEvent value) {
this.terminatingEvent = value;
}
/**
* Gets the value of the partyTradeIdentifier 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 partyTradeIdentifier property.
*
*
* For example, to add a new item, do as follows:
*
* getPartyTradeIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyTradeIdentifier }
*
*
*/
public List getPartyTradeIdentifier() {
if (partyTradeIdentifier == null) {
partyTradeIdentifier = new ArrayList();
}
return this.partyTradeIdentifier;
}
/**
* Gets the value of the partyTradeInformation 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 partyTradeInformation property.
*
*
* For example, to add a new item, do as follows:
*
* getPartyTradeInformation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyTradeInformation }
*
*
*/
public List getPartyTradeInformation() {
if (partyTradeInformation == null) {
partyTradeInformation = new ArrayList();
}
return this.partyTradeInformation;
}
/**
* Gets the value of the productType property.
*
* @return
* possible object is
* {@link ProductType }
*
*/
public ProductType getProductType() {
return productType;
}
/**
* Sets the value of the productType property.
*
* @param value
* allowed object is
* {@link ProductType }
*
*/
public void setProductType(ProductType value) {
this.productType = value;
}
/**
* Gets the value of the productId property.
*
* @return
* possible object is
* {@link ProductId }
*
*/
public ProductId getProductId() {
return productId;
}
/**
* Sets the value of the productId property.
*
* @param value
* allowed object is
* {@link ProductId }
*
*/
public void setProductId(ProductId value) {
this.productId = value;
}
}