com.prowidesoftware.swift.model.mx.dic.ListOrderCancelRequest Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
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.XmlType;
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;
/**
* Scope
* An instructing party, eg, an investment manager, sends the ListOrderCancelRequest message to an executing party, eg, a broker, to request the cancellation of the previously sent ListOrder message.
* Usage
* This message must contain the reference of the message to be cancelled and it may also contain all the details of the message to be cancelled.
* This cancellation message is a request to cancel and there is no automatic acceptance of the cancellation instruction. The rejection or acceptance of a cancellation message instruction is made using a ListOrderStatus message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ListOrderCancelRequest", propOrder = {
"id",
"listCcl",
"tradgPties",
"cshPties",
"rcvgSttlmPties",
"dlvrgSttlmPties",
"dlvrgPties"
})
public class ListOrderCancelRequest {
@XmlElement(name = "Id", required = true)
protected DocumentIdentification11 id;
@XmlElement(name = "ListCcl", required = true)
protected List2 listCcl;
@XmlElement(name = "TradgPties")
protected List tradgPties;
@XmlElement(name = "CshPties")
protected CashParties1 cshPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties3 rcvgSttlmPties;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties3 dlvrgSttlmPties;
@XmlElement(name = "DlvrgPties")
protected OtherParties1 dlvrgPties;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link DocumentIdentification11 }
*
*/
public DocumentIdentification11 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link DocumentIdentification11 }
*
*/
public ListOrderCancelRequest setId(DocumentIdentification11 value) {
this.id = value;
return this;
}
/**
* Gets the value of the listCcl property.
*
* @return
* possible object is
* {@link List2 }
*
*/
public List2 getListCcl() {
return listCcl;
}
/**
* Sets the value of the listCcl property.
*
* @param value
* allowed object is
* {@link List2 }
*
*/
public ListOrderCancelRequest setListCcl(List2 value) {
this.listCcl = value;
return this;
}
/**
* Gets the value of the tradgPties 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 tradgPties property.
*
*
* For example, to add a new item, do as follows:
*
* getTradgPties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary14 }
*
*
*/
public List getTradgPties() {
if (tradgPties == null) {
tradgPties = new ArrayList();
}
return this.tradgPties;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties1 }
*
*/
public CashParties1 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties1 }
*
*/
public ListOrderCancelRequest setCshPties(CashParties1 value) {
this.cshPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties3 }
*
*/
public SettlementParties3 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties3 }
*
*/
public ListOrderCancelRequest setRcvgSttlmPties(SettlementParties3 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties3 }
*
*/
public SettlementParties3 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties3 }
*
*/
public ListOrderCancelRequest setDlvrgSttlmPties(SettlementParties3 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the dlvrgPties property.
*
* @return
* possible object is
* {@link OtherParties1 }
*
*/
public OtherParties1 getDlvrgPties() {
return dlvrgPties;
}
/**
* Sets the value of the dlvrgPties property.
*
* @param value
* allowed object is
* {@link OtherParties1 }
*
*/
public ListOrderCancelRequest setDlvrgPties(OtherParties1 value) {
this.dlvrgPties = 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 tradgPties list.
* @see #getTradgPties()
*
*/
public ListOrderCancelRequest addTradgPties(Intermediary14 tradgPties) {
getTradgPties().add(tradgPties);
return this;
}
}