com.prowidesoftware.swift.model.mx.dic.SecurityMaintenanceStatusAdviceV01 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.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 executing/servicing party sends a SecurityMaintenanceStatusAdvice message to an instructing party to report the status of a SecurityMaintencanceRequest message previously sent by the instructing party.
*
* The SecurityMaintenanceStatusAdvice message may be sent as a response to the request of the instructing party or not.
*
* The instructing party - executing/servicing party relationship may be:
* - Central Securities Depositories (CSD) who would like to publish security static data, or
* - a Corporate, or
* - a Bank, or
* - a Market Infrastructure, or
* - a Market Data Provider.
*
* USAGE
* Initiator: executing/servicing party.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecurityMaintenanceStatusAdviceV01", propOrder = {
"msgHdr",
"finInstrmId",
"prcgSts",
"splmtryData"
})
public class SecurityMaintenanceStatusAdviceV01 {
@XmlElement(name = "MsgHdr")
protected MessageHeader12 msgHdr;
@XmlElement(name = "FinInstrmId")
protected SecurityIdentification39 finInstrmId;
@XmlElement(name = "PrcgSts", required = true)
protected ProcessingStatus72Choice prcgSts;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the msgHdr property.
*
* @return
* possible object is
* {@link MessageHeader12 }
*
*/
public MessageHeader12 getMsgHdr() {
return msgHdr;
}
/**
* Sets the value of the msgHdr property.
*
* @param value
* allowed object is
* {@link MessageHeader12 }
*
*/
public SecurityMaintenanceStatusAdviceV01 setMsgHdr(MessageHeader12 value) {
this.msgHdr = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification39 }
*
*/
public SecurityIdentification39 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification39 }
*
*/
public SecurityMaintenanceStatusAdviceV01 setFinInstrmId(SecurityIdentification39 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the prcgSts property.
*
* @return
* possible object is
* {@link ProcessingStatus72Choice }
*
*/
public ProcessingStatus72Choice getPrcgSts() {
return prcgSts;
}
/**
* Sets the value of the prcgSts property.
*
* @param value
* allowed object is
* {@link ProcessingStatus72Choice }
*
*/
public SecurityMaintenanceStatusAdviceV01 setPrcgSts(ProcessingStatus72Choice value) {
this.prcgSts = value;
return this;
}
/**
* Gets the value of the splmtryData 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 {@code set} method for the splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
* @return
* The value of the splmtryData property.
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList<>();
}
return this.splmtryData;
}
@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 splmtryData list.
* @see #getSplmtryData()
*
*/
public SecurityMaintenanceStatusAdviceV01 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}