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

com.prowidesoftware.swift.model.mx.dic.TradeLeg1 Maven / Gradle / Ivy

There is a newer version: SRU2024-10.2.6
Show newest version

package com.prowidesoftware.swift.model.mx.dic;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * Provides the trade leg details.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeLeg1", propOrder = {
    "tradDt",
    "sttlmDt",
    "dealPric",
    "tradgCcy",
    "tradTp",
    "tradgCpcty",
    "buySellInd",
    "finInstrmId",
    "plcOfTrad",
    "tradQty",
    "plcOfListg",
    "tradgPty",
    "acrdIntrstAmt"
})
public class TradeLeg1 {

    @XmlElement(name = "TradDt", required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar tradDt;
    @XmlElement(name = "SttlmDt", required = true)
    protected DateFormat15Choice sttlmDt;
    @XmlElement(name = "DealPric")
    protected List dealPric;
    @XmlElement(name = "TradgCcy")
    protected String tradgCcy;
    @XmlElement(name = "TradTp", required = true)
    @XmlSchemaType(name = "string")
    protected TradeType1Code tradTp;
    @XmlElement(name = "TradgCpcty", required = true)
    @XmlSchemaType(name = "string")
    protected TradingCapacity5Code tradgCpcty;
    @XmlElement(name = "BuySellInd", required = true)
    @XmlSchemaType(name = "string")
    protected Side1Code buySellInd;
    @XmlElement(name = "FinInstrmId", required = true)
    protected SecurityIdentification14 finInstrmId;
    @XmlElement(name = "PlcOfTrad", required = true)
    protected MarketIdentification20 plcOfTrad;
    @XmlElement(name = "TradQty", required = true)
    protected FinancialInstrumentQuantity1Choice tradQty;
    @XmlElement(name = "PlcOfListg")
    protected MarketIdentification21 plcOfListg;
    @XmlElement(name = "TradgPty")
    protected PartyIdentification35Choice tradgPty;
    @XmlElement(name = "AcrdIntrstAmt")
    protected AmountAndDirection21 acrdIntrstAmt;

    /**
     * Gets the value of the tradDt property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getTradDt() {
        return tradDt;
    }

    /**
     * Sets the value of the tradDt property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public TradeLeg1 setTradDt(XMLGregorianCalendar value) {
        this.tradDt = value;
        return this;
    }

    /**
     * Gets the value of the sttlmDt property.
     * 
     * @return
     *     possible object is
     *     {@link DateFormat15Choice }
     *     
     */
    public DateFormat15Choice getSttlmDt() {
        return sttlmDt;
    }

    /**
     * Sets the value of the sttlmDt property.
     * 
     * @param value
     *     allowed object is
     *     {@link DateFormat15Choice }
     *     
     */
    public TradeLeg1 setSttlmDt(DateFormat15Choice value) {
        this.sttlmDt = value;
        return this;
    }

    /**
     * Gets the value of the dealPric 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 JAXB object. * This is why there is not a set method for the dealPric property. * *

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

     *    getDealPric().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Price4 } * * */ public List getDealPric() { if (dealPric == null) { dealPric = new ArrayList(); } return this.dealPric; } /** * Gets the value of the tradgCcy property. * * @return * possible object is * {@link String } * */ public String getTradgCcy() { return tradgCcy; } /** * Sets the value of the tradgCcy property. * * @param value * allowed object is * {@link String } * */ public TradeLeg1 setTradgCcy(String value) { this.tradgCcy = value; return this; } /** * Gets the value of the tradTp property. * * @return * possible object is * {@link TradeType1Code } * */ public TradeType1Code getTradTp() { return tradTp; } /** * Sets the value of the tradTp property. * * @param value * allowed object is * {@link TradeType1Code } * */ public TradeLeg1 setTradTp(TradeType1Code value) { this.tradTp = value; return this; } /** * Gets the value of the tradgCpcty property. * * @return * possible object is * {@link TradingCapacity5Code } * */ public TradingCapacity5Code getTradgCpcty() { return tradgCpcty; } /** * Sets the value of the tradgCpcty property. * * @param value * allowed object is * {@link TradingCapacity5Code } * */ public TradeLeg1 setTradgCpcty(TradingCapacity5Code value) { this.tradgCpcty = value; return this; } /** * Gets the value of the buySellInd property. * * @return * possible object is * {@link Side1Code } * */ public Side1Code getBuySellInd() { return buySellInd; } /** * Sets the value of the buySellInd property. * * @param value * allowed object is * {@link Side1Code } * */ public TradeLeg1 setBuySellInd(Side1Code value) { this.buySellInd = value; return this; } /** * Gets the value of the finInstrmId property. * * @return * possible object is * {@link SecurityIdentification14 } * */ public SecurityIdentification14 getFinInstrmId() { return finInstrmId; } /** * Sets the value of the finInstrmId property. * * @param value * allowed object is * {@link SecurityIdentification14 } * */ public TradeLeg1 setFinInstrmId(SecurityIdentification14 value) { this.finInstrmId = value; return this; } /** * Gets the value of the plcOfTrad property. * * @return * possible object is * {@link MarketIdentification20 } * */ public MarketIdentification20 getPlcOfTrad() { return plcOfTrad; } /** * Sets the value of the plcOfTrad property. * * @param value * allowed object is * {@link MarketIdentification20 } * */ public TradeLeg1 setPlcOfTrad(MarketIdentification20 value) { this.plcOfTrad = value; return this; } /** * Gets the value of the tradQty property. * * @return * possible object is * {@link FinancialInstrumentQuantity1Choice } * */ public FinancialInstrumentQuantity1Choice getTradQty() { return tradQty; } /** * Sets the value of the tradQty property. * * @param value * allowed object is * {@link FinancialInstrumentQuantity1Choice } * */ public TradeLeg1 setTradQty(FinancialInstrumentQuantity1Choice value) { this.tradQty = value; return this; } /** * Gets the value of the plcOfListg property. * * @return * possible object is * {@link MarketIdentification21 } * */ public MarketIdentification21 getPlcOfListg() { return plcOfListg; } /** * Sets the value of the plcOfListg property. * * @param value * allowed object is * {@link MarketIdentification21 } * */ public TradeLeg1 setPlcOfListg(MarketIdentification21 value) { this.plcOfListg = value; return this; } /** * Gets the value of the tradgPty property. * * @return * possible object is * {@link PartyIdentification35Choice } * */ public PartyIdentification35Choice getTradgPty() { return tradgPty; } /** * Sets the value of the tradgPty property. * * @param value * allowed object is * {@link PartyIdentification35Choice } * */ public TradeLeg1 setTradgPty(PartyIdentification35Choice value) { this.tradgPty = value; return this; } /** * Gets the value of the acrdIntrstAmt property. * * @return * possible object is * {@link AmountAndDirection21 } * */ public AmountAndDirection21 getAcrdIntrstAmt() { return acrdIntrstAmt; } /** * Sets the value of the acrdIntrstAmt property. * * @param value * allowed object is * {@link AmountAndDirection21 } * */ public TradeLeg1 setAcrdIntrstAmt(AmountAndDirection21 value) { this.acrdIntrstAmt = value; return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } /** * Adds a new item to the dealPric list. * @see #getDealPric() * */ public TradeLeg1 addDealPric(Price4 dealPric) { getDealPric().add(dealPric); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy