com.prowidesoftware.swift.model.mx.dic.BaselineAmendmentRequestV03 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
* The BaselineAmendmentRequest message is sent by a primary party involved in a transaction to the matching application.
* The message is used to request the amendment of an established baseline.
* Usage
* The BaselineAmendmentRequest message may only be sent if the transaction is in the state Established or Active.
* The BaselineAmendmentRequest message can be sent to the matching application by one of the primary parties involved in a transaction established in the push-through mode to request the amendment of an established baseline.
* The matching application acknowledges the receipt of the amendment request by sending a DeltaReport message to the submitter of the BaselineAmendmentRequest message. It passes on the newly proposed baseline to the counterparty by sending a FullPushThroughReport message, a DeltaReport message and a pre-calculated BaselineReport message.
* The counterparty is expected to either accept or reject the amendment request by submitting an AmendmentAcceptance or AmendmentRejection message.
* or
* The BaselineAmendmentRequest message can be sent by the party involved in a transaction established in the lodge mode to the matching application to amend an established baseline.
* The matching application amends the baseline according to the BaselineAmendmentRequest message and confirms the execution of the request by sending a DeltaReport and calculated BaselineReport message to the requester of the amendment.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BaselineAmendmentRequestV03", propOrder = {
"reqId",
"txId",
"submitrTxRef",
"baseln",
"buyrCtctPrsn",
"sellrCtctPrsn",
"buyrBkCtctPrsn",
"sellrBkCtctPrsn",
"othrBkCtctPrsn"
})
public class BaselineAmendmentRequestV03 {
@XmlElement(name = "ReqId", required = true)
protected MessageIdentification1 reqId;
@XmlElement(name = "TxId", required = true)
protected SimpleIdentificationInformation txId;
@XmlElement(name = "SubmitrTxRef")
protected SimpleIdentificationInformation submitrTxRef;
@XmlElement(name = "Baseln", required = true)
protected Baseline3 baseln;
@XmlElement(name = "BuyrCtctPrsn")
protected List buyrCtctPrsn;
@XmlElement(name = "SellrCtctPrsn")
protected List sellrCtctPrsn;
@XmlElement(name = "BuyrBkCtctPrsn")
protected List buyrBkCtctPrsn;
@XmlElement(name = "SellrBkCtctPrsn")
protected List sellrBkCtctPrsn;
@XmlElement(name = "OthrBkCtctPrsn")
protected List othrBkCtctPrsn;
/**
* Gets the value of the reqId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getReqId() {
return reqId;
}
/**
* Sets the value of the reqId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public BaselineAmendmentRequestV03 setReqId(MessageIdentification1 value) {
this.reqId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link SimpleIdentificationInformation }
*
*/
public SimpleIdentificationInformation getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link SimpleIdentificationInformation }
*
*/
public BaselineAmendmentRequestV03 setTxId(SimpleIdentificationInformation value) {
this.txId = value;
return this;
}
/**
* Gets the value of the submitrTxRef property.
*
* @return
* possible object is
* {@link SimpleIdentificationInformation }
*
*/
public SimpleIdentificationInformation getSubmitrTxRef() {
return submitrTxRef;
}
/**
* Sets the value of the submitrTxRef property.
*
* @param value
* allowed object is
* {@link SimpleIdentificationInformation }
*
*/
public BaselineAmendmentRequestV03 setSubmitrTxRef(SimpleIdentificationInformation value) {
this.submitrTxRef = value;
return this;
}
/**
* Gets the value of the baseln property.
*
* @return
* possible object is
* {@link Baseline3 }
*
*/
public Baseline3 getBaseln() {
return baseln;
}
/**
* Sets the value of the baseln property.
*
* @param value
* allowed object is
* {@link Baseline3 }
*
*/
public BaselineAmendmentRequestV03 setBaseln(Baseline3 value) {
this.baseln = value;
return this;
}
/**
* Gets the value of the buyrCtctPrsn 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 buyrCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getBuyrCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification1 }
*
*
*/
public List getBuyrCtctPrsn() {
if (buyrCtctPrsn == null) {
buyrCtctPrsn = new ArrayList();
}
return this.buyrCtctPrsn;
}
/**
* Gets the value of the sellrCtctPrsn 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 sellrCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getSellrCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification1 }
*
*
*/
public List getSellrCtctPrsn() {
if (sellrCtctPrsn == null) {
sellrCtctPrsn = new ArrayList();
}
return this.sellrCtctPrsn;
}
/**
* Gets the value of the buyrBkCtctPrsn 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 buyrBkCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getBuyrBkCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification1 }
*
*
*/
public List getBuyrBkCtctPrsn() {
if (buyrBkCtctPrsn == null) {
buyrBkCtctPrsn = new ArrayList();
}
return this.buyrBkCtctPrsn;
}
/**
* Gets the value of the sellrBkCtctPrsn 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 sellrBkCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getSellrBkCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification1 }
*
*
*/
public List getSellrBkCtctPrsn() {
if (sellrBkCtctPrsn == null) {
sellrBkCtctPrsn = new ArrayList();
}
return this.sellrBkCtctPrsn;
}
/**
* Gets the value of the othrBkCtctPrsn 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 othrBkCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrBkCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification3 }
*
*
*/
public List getOthrBkCtctPrsn() {
if (othrBkCtctPrsn == null) {
othrBkCtctPrsn = new ArrayList();
}
return this.othrBkCtctPrsn;
}
@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 buyrCtctPrsn list.
* @see #getBuyrCtctPrsn()
*
*/
public BaselineAmendmentRequestV03 addBuyrCtctPrsn(ContactIdentification1 buyrCtctPrsn) {
getBuyrCtctPrsn().add(buyrCtctPrsn);
return this;
}
/**
* Adds a new item to the sellrCtctPrsn list.
* @see #getSellrCtctPrsn()
*
*/
public BaselineAmendmentRequestV03 addSellrCtctPrsn(ContactIdentification1 sellrCtctPrsn) {
getSellrCtctPrsn().add(sellrCtctPrsn);
return this;
}
/**
* Adds a new item to the buyrBkCtctPrsn list.
* @see #getBuyrBkCtctPrsn()
*
*/
public BaselineAmendmentRequestV03 addBuyrBkCtctPrsn(ContactIdentification1 buyrBkCtctPrsn) {
getBuyrBkCtctPrsn().add(buyrBkCtctPrsn);
return this;
}
/**
* Adds a new item to the sellrBkCtctPrsn list.
* @see #getSellrBkCtctPrsn()
*
*/
public BaselineAmendmentRequestV03 addSellrBkCtctPrsn(ContactIdentification1 sellrBkCtctPrsn) {
getSellrBkCtctPrsn().add(sellrBkCtctPrsn);
return this;
}
/**
* Adds a new item to the othrBkCtctPrsn list.
* @see #getOthrBkCtctPrsn()
*
*/
public BaselineAmendmentRequestV03 addOthrBkCtctPrsn(ContactIdentification3 othrBkCtctPrsn) {
getOthrBkCtctPrsn().add(othrBkCtctPrsn);
return this;
}
}