com.prowidesoftware.swift.model.mx.dic.AdditionalInformation21 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.XmlSchemaType;
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;
/**
* Additional information relevant to the destination.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AdditionalInformation21", propOrder = {
"rcpt",
"trgt",
"frmt",
"val"
})
public class AdditionalInformation21 {
@XmlElement(name = "Rcpt")
@XmlSchemaType(name = "string")
protected PartyType23Code rcpt;
@XmlElement(name = "Trgt")
@XmlSchemaType(name = "string")
protected List trgt;
@XmlElement(name = "Frmt")
@XmlSchemaType(name = "string")
protected OutputFormat4Code frmt;
@XmlElement(name = "Val", required = true)
protected String val;
/**
* Gets the value of the rcpt property.
*
* @return
* possible object is
* {@link PartyType23Code }
*
*/
public PartyType23Code getRcpt() {
return rcpt;
}
/**
* Sets the value of the rcpt property.
*
* @param value
* allowed object is
* {@link PartyType23Code }
*
*/
public AdditionalInformation21 setRcpt(PartyType23Code value) {
this.rcpt = value;
return this;
}
/**
* Gets the value of the trgt 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 trgt property.
*
*
* For example, to add a new item, do as follows:
*
* getTrgt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UserInterface7Code }
*
*
* @return
* The value of the trgt property.
*/
public List getTrgt() {
if (trgt == null) {
trgt = new ArrayList<>();
}
return this.trgt;
}
/**
* Gets the value of the frmt property.
*
* @return
* possible object is
* {@link OutputFormat4Code }
*
*/
public OutputFormat4Code getFrmt() {
return frmt;
}
/**
* Sets the value of the frmt property.
*
* @param value
* allowed object is
* {@link OutputFormat4Code }
*
*/
public AdditionalInformation21 setFrmt(OutputFormat4Code value) {
this.frmt = value;
return this;
}
/**
* Gets the value of the val property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVal() {
return val;
}
/**
* Sets the value of the val property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public AdditionalInformation21 setVal(String value) {
this.val = 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 trgt list.
* @see #getTrgt()
*
*/
public AdditionalInformation21 addTrgt(UserInterface7Code trgt) {
getTrgt().add(trgt);
return this;
}
}