com.prowidesoftware.swift.model.mx.dic.BaselineReportV03 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 BaselineReport message is sent by the matching application to the parties involved in an amendment request or to the parties involved in a data set match.
* The message is used to report either a pre-calculation or final calculation of the dynamic part of an established baseline.
* Usage
* The BaselineReport message can be sent by the matching application to the parties involved in an amendment request for a transaction established in the push-through mode. In the outlined scenario, the message is sent
* - to the party requested to accept or reject an amendment request after the matching application has received a BaselineAmendmentRequest message. The message informs about the provisional status of the dynamic part of the baseline.
* - to the requester and the accepter of an amendment request after the matching application has received an AmendmentAcceptance message conveying the acceptance of the amendment request. The message informs about the actual status of the dynamic part of the baseline.
* or
* The BaselineReport message can be sent by the matching application to the party which has sent an amendment request for a transaction established in the lodge mode. In the outlined scenario the message is used to inform about the actual status of the dynamic part of the baseline.
* or
* The BaselineReport message can be sent by the matching application to the parties involved in a data set match. In the outlined scenario, the message is sent
* - to the submitter of the data set(s) in the case of a data set match for a transaction established in the lodge mode.
* - to the submitter of the data set(s) and to the counterparty in case of a data set match for a transaction established in the push-through mode.The message can be sent after a successful data-set match or after the acceptance of mis-matched data sets to inform about the actual status of the dynamic part of the baseline.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BaselineReportV03", propOrder = {
"rptId",
"rltdMsgRef",
"rptTp",
"txId",
"estblishdBaselnId",
"txSts",
"usrTxRef",
"buyr",
"sellr",
"buyrBk",
"sellrBk",
"rptdLineItm",
"reqForActn"
})
public class BaselineReportV03 {
@XmlElement(name = "RptId", required = true)
protected MessageIdentification1 rptId;
@XmlElement(name = "RltdMsgRef")
protected MessageIdentification1 rltdMsgRef;
@XmlElement(name = "RptTp", required = true)
protected ReportType2 rptTp;
@XmlElement(name = "TxId", required = true)
protected SimpleIdentificationInformation txId;
@XmlElement(name = "EstblishdBaselnId", required = true)
protected DocumentIdentification6 estblishdBaselnId;
@XmlElement(name = "TxSts", required = true)
protected TransactionStatus4 txSts;
@XmlElement(name = "UsrTxRef")
protected List usrTxRef;
@XmlElement(name = "Buyr", required = true)
protected PartyIdentification26 buyr;
@XmlElement(name = "Sellr", required = true)
protected PartyIdentification26 sellr;
@XmlElement(name = "BuyrBk", required = true)
protected BICIdentification1 buyrBk;
@XmlElement(name = "SellrBk", required = true)
protected BICIdentification1 sellrBk;
@XmlElement(name = "RptdLineItm", required = true)
protected LineItem8 rptdLineItm;
@XmlElement(name = "ReqForActn")
protected PendingActivity2 reqForActn;
/**
* Gets the value of the rptId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getRptId() {
return rptId;
}
/**
* Sets the value of the rptId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public BaselineReportV03 setRptId(MessageIdentification1 value) {
this.rptId = value;
return this;
}
/**
* Gets the value of the rltdMsgRef property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getRltdMsgRef() {
return rltdMsgRef;
}
/**
* Sets the value of the rltdMsgRef property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public BaselineReportV03 setRltdMsgRef(MessageIdentification1 value) {
this.rltdMsgRef = value;
return this;
}
/**
* Gets the value of the rptTp property.
*
* @return
* possible object is
* {@link ReportType2 }
*
*/
public ReportType2 getRptTp() {
return rptTp;
}
/**
* Sets the value of the rptTp property.
*
* @param value
* allowed object is
* {@link ReportType2 }
*
*/
public BaselineReportV03 setRptTp(ReportType2 value) {
this.rptTp = 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 BaselineReportV03 setTxId(SimpleIdentificationInformation value) {
this.txId = value;
return this;
}
/**
* Gets the value of the estblishdBaselnId property.
*
* @return
* possible object is
* {@link DocumentIdentification6 }
*
*/
public DocumentIdentification6 getEstblishdBaselnId() {
return estblishdBaselnId;
}
/**
* Sets the value of the estblishdBaselnId property.
*
* @param value
* allowed object is
* {@link DocumentIdentification6 }
*
*/
public BaselineReportV03 setEstblishdBaselnId(DocumentIdentification6 value) {
this.estblishdBaselnId = value;
return this;
}
/**
* Gets the value of the txSts property.
*
* @return
* possible object is
* {@link TransactionStatus4 }
*
*/
public TransactionStatus4 getTxSts() {
return txSts;
}
/**
* Sets the value of the txSts property.
*
* @param value
* allowed object is
* {@link TransactionStatus4 }
*
*/
public BaselineReportV03 setTxSts(TransactionStatus4 value) {
this.txSts = value;
return this;
}
/**
* Gets the value of the usrTxRef 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 usrTxRef property.
*
*
* For example, to add a new item, do as follows:
*
* getUsrTxRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentIdentification5 }
*
*
*/
public List getUsrTxRef() {
if (usrTxRef == null) {
usrTxRef = new ArrayList();
}
return this.usrTxRef;
}
/**
* Gets the value of the buyr property.
*
* @return
* possible object is
* {@link PartyIdentification26 }
*
*/
public PartyIdentification26 getBuyr() {
return buyr;
}
/**
* Sets the value of the buyr property.
*
* @param value
* allowed object is
* {@link PartyIdentification26 }
*
*/
public BaselineReportV03 setBuyr(PartyIdentification26 value) {
this.buyr = value;
return this;
}
/**
* Gets the value of the sellr property.
*
* @return
* possible object is
* {@link PartyIdentification26 }
*
*/
public PartyIdentification26 getSellr() {
return sellr;
}
/**
* Sets the value of the sellr property.
*
* @param value
* allowed object is
* {@link PartyIdentification26 }
*
*/
public BaselineReportV03 setSellr(PartyIdentification26 value) {
this.sellr = value;
return this;
}
/**
* Gets the value of the buyrBk property.
*
* @return
* possible object is
* {@link BICIdentification1 }
*
*/
public BICIdentification1 getBuyrBk() {
return buyrBk;
}
/**
* Sets the value of the buyrBk property.
*
* @param value
* allowed object is
* {@link BICIdentification1 }
*
*/
public BaselineReportV03 setBuyrBk(BICIdentification1 value) {
this.buyrBk = value;
return this;
}
/**
* Gets the value of the sellrBk property.
*
* @return
* possible object is
* {@link BICIdentification1 }
*
*/
public BICIdentification1 getSellrBk() {
return sellrBk;
}
/**
* Sets the value of the sellrBk property.
*
* @param value
* allowed object is
* {@link BICIdentification1 }
*
*/
public BaselineReportV03 setSellrBk(BICIdentification1 value) {
this.sellrBk = value;
return this;
}
/**
* Gets the value of the rptdLineItm property.
*
* @return
* possible object is
* {@link LineItem8 }
*
*/
public LineItem8 getRptdLineItm() {
return rptdLineItm;
}
/**
* Sets the value of the rptdLineItm property.
*
* @param value
* allowed object is
* {@link LineItem8 }
*
*/
public BaselineReportV03 setRptdLineItm(LineItem8 value) {
this.rptdLineItm = value;
return this;
}
/**
* Gets the value of the reqForActn property.
*
* @return
* possible object is
* {@link PendingActivity2 }
*
*/
public PendingActivity2 getReqForActn() {
return reqForActn;
}
/**
* Sets the value of the reqForActn property.
*
* @param value
* allowed object is
* {@link PendingActivity2 }
*
*/
public BaselineReportV03 setReqForActn(PendingActivity2 value) {
this.reqForActn = 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 usrTxRef list.
* @see #getUsrTxRef()
*
*/
public BaselineReportV03 addUsrTxRef(DocumentIdentification5 usrTxRef) {
getUsrTxRef().add(usrTxRef);
return this;
}
}