com.prowidesoftware.swift.model.mx.dic.ProprietaryFormatInvestigationV05 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
* The ProprietaryFormatInvestigation message type is used by financial institutions, with their own offices, and/or with other financial institutions with which they have established bilateral agreements.
* Usage
* The user should ensure that an existing standard message cannot be used before using the proprietary message.
* As defined in the scope, this ProprietaryFormatInvestigation message may only be used when bilaterally agreed.
* It is used as an envelope for a non standard message and provides means to manage an exception or investigation which falls outside the scope or capability of any other formatted message.
* The ProprietaryData element must contain a well formed XML document. This means XML special characters such as '<' must be used in a way that is consistent with XML well-formedness criteria.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProprietaryFormatInvestigationV05", propOrder = {
"assgnmt",
"_case",
"prtryData",
"splmtryData"
})
public class ProprietaryFormatInvestigationV05 {
@XmlElement(name = "Assgnmt", required = true)
protected CaseAssignment5 assgnmt;
@XmlElement(name = "Case")
protected Case5 _case;
@XmlElement(name = "PrtryData", required = true)
protected ProprietaryData7 prtryData;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the assgnmt property.
*
* @return
* possible object is
* {@link CaseAssignment5 }
*
*/
public CaseAssignment5 getAssgnmt() {
return assgnmt;
}
/**
* Sets the value of the assgnmt property.
*
* @param value
* allowed object is
* {@link CaseAssignment5 }
*
*/
public ProprietaryFormatInvestigationV05 setAssgnmt(CaseAssignment5 value) {
this.assgnmt = value;
return this;
}
/**
* Gets the value of the case property.
*
* @return
* possible object is
* {@link Case5 }
*
*/
public Case5 getCase() {
return _case;
}
/**
* Sets the value of the case property.
*
* @param value
* allowed object is
* {@link Case5 }
*
*/
public ProprietaryFormatInvestigationV05 setCase(Case5 value) {
this._case = value;
return this;
}
/**
* Gets the value of the prtryData property.
*
* @return
* possible object is
* {@link ProprietaryData7 }
*
*/
public ProprietaryData7 getPrtryData() {
return prtryData;
}
/**
* Sets the value of the prtryData property.
*
* @param value
* allowed object is
* {@link ProprietaryData7 }
*
*/
public ProprietaryFormatInvestigationV05 setPrtryData(ProprietaryData7 value) {
this.prtryData = 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 ProprietaryFormatInvestigationV05 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}