
com.prowidesoftware.swift.model.mx.dic.CaseStatusReportV04 Maven / Gradle / Ivy
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 Case Status Report message is sent by a case assignee to a case creator or case assigner.
* This message is used to report on the status of a case.
* Usage
* A Case Status Report message is sent in reply to a Case Status Report Request message. This message
* - covers one and only one case at a time. (If a case assignee needs to report on several cases, then multiple Case Status Report messages must be sent.)
* - may be forwarded to subsequent case assigner(s) until it reaches the end point
* - is able to indicate the fact that a case has been assigned to a party downstream in the payment processing chain
* - may not be used in place of a Resolution Of Investigation (except for the condition given in the next bullet point) or Notification Of Case Assignment message
* - may be skipped and replaced by a Resolution Of Investigation message when the request for a investigation status is received at the time the assigner has resolved the case. (In this case a Resolution Of Investigation message can be sent instead of a Case Status Report and the case may be closed.)
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CaseStatusReportV04", propOrder = {
"hdr",
"_case",
"sts",
"newAssgnmt",
"splmtryData"
})
public class CaseStatusReportV04 {
@XmlElement(name = "Hdr", required = true)
protected ReportHeader4 hdr;
@XmlElement(name = "Case", required = true)
protected Case3 _case;
@XmlElement(name = "Sts", required = true)
protected CaseStatus2 sts;
@XmlElement(name = "NewAssgnmt")
protected CaseAssignment3 newAssgnmt;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the hdr property.
*
* @return
* possible object is
* {@link ReportHeader4 }
*
*/
public ReportHeader4 getHdr() {
return hdr;
}
/**
* Sets the value of the hdr property.
*
* @param value
* allowed object is
* {@link ReportHeader4 }
*
*/
public CaseStatusReportV04 setHdr(ReportHeader4 value) {
this.hdr = value;
return this;
}
/**
* Gets the value of the case property.
*
* @return
* possible object is
* {@link Case3 }
*
*/
public Case3 getCase() {
return _case;
}
/**
* Sets the value of the case property.
*
* @param value
* allowed object is
* {@link Case3 }
*
*/
public CaseStatusReportV04 setCase(Case3 value) {
this._case = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link CaseStatus2 }
*
*/
public CaseStatus2 getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link CaseStatus2 }
*
*/
public CaseStatusReportV04 setSts(CaseStatus2 value) {
this.sts = value;
return this;
}
/**
* Gets the value of the newAssgnmt property.
*
* @return
* possible object is
* {@link CaseAssignment3 }
*
*/
public CaseAssignment3 getNewAssgnmt() {
return newAssgnmt;
}
/**
* Sets the value of the newAssgnmt property.
*
* @param value
* allowed object is
* {@link CaseAssignment3 }
*
*/
public CaseStatusReportV04 setNewAssgnmt(CaseAssignment3 value) {
this.newAssgnmt = 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 CaseStatusReportV04 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}