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

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

There is a newer version: 1.0.6
Show newest version
//
// 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.XmlType;


/**
 * A type that shows how multiple trades have been combined into a result.
 *             
 * 
 * 

Java class for CompressionActivity complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="CompressionActivity">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="compressionType" type="{http://www.fpml.org/FpML-5/confirmation}CompressionType" minOccurs="0"/>
 *         <choice>
 *           <sequence>
 *             <element name="replacementTradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" minOccurs="0"/>
 *             <element name="originatingTradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" maxOccurs="unbounded" minOccurs="0"/>
 *           </sequence>
 *           <sequence>
 *             <element name="replacementTradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeId" minOccurs="0"/>
 *             <element name="originatingTradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeId" maxOccurs="unbounded" minOccurs="0"/>
 *           </sequence>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CompressionActivity", propOrder = { "compressionType", "replacementTradeIdentifier", "originatingTradeIdentifier", "replacementTradeId", "originatingTradeId" }) public class CompressionActivity { protected CompressionType compressionType; protected TradeIdentifier replacementTradeIdentifier; protected List originatingTradeIdentifier; protected TradeId replacementTradeId; protected List originatingTradeId; /** * Gets the value of the compressionType property. * * @return * possible object is * {@link CompressionType } * */ public CompressionType getCompressionType() { return compressionType; } /** * Sets the value of the compressionType property. * * @param value * allowed object is * {@link CompressionType } * */ public void setCompressionType(CompressionType value) { this.compressionType = value; } /** * Gets the value of the replacementTradeIdentifier property. * * @return * possible object is * {@link TradeIdentifier } * */ public TradeIdentifier getReplacementTradeIdentifier() { return replacementTradeIdentifier; } /** * Sets the value of the replacementTradeIdentifier property. * * @param value * allowed object is * {@link TradeIdentifier } * */ public void setReplacementTradeIdentifier(TradeIdentifier value) { this.replacementTradeIdentifier = value; } /** * Gets the value of the originatingTradeIdentifier 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 originatingTradeIdentifier property. * *

* For example, to add a new item, do as follows: *

     *    getOriginatingTradeIdentifier().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TradeIdentifier } * * */ public List getOriginatingTradeIdentifier() { if (originatingTradeIdentifier == null) { originatingTradeIdentifier = new ArrayList(); } return this.originatingTradeIdentifier; } /** * Gets the value of the replacementTradeId property. * * @return * possible object is * {@link TradeId } * */ public TradeId getReplacementTradeId() { return replacementTradeId; } /** * Sets the value of the replacementTradeId property. * * @param value * allowed object is * {@link TradeId } * */ public void setReplacementTradeId(TradeId value) { this.replacementTradeId = value; } /** * Gets the value of the originatingTradeId 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 originatingTradeId property. * *

* For example, to add a new item, do as follows: *

     *    getOriginatingTradeId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TradeId } * * */ public List getOriginatingTradeId() { if (originatingTradeId == null) { originatingTradeId = new ArrayList(); } return this.originatingTradeId; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy