
com.prowidesoftware.swift.model.mx.dic.TopReasonsForRejections1 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;
/**
* Identification of the most common data field that has not passed the validation rule.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TopReasonsForRejections1", propOrder = {
"all",
"_new",
"mod"
})
public class TopReasonsForRejections1 {
@XmlElement(name = "All", required = true)
protected List all;
@XmlElement(name = "New", required = true)
protected List _new;
@XmlElement(name = "Mod", required = true)
protected List mod;
/**
* Gets the value of the all 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 all property.
*
*
* For example, to add a new item, do as follows:
*
* getAll().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAll() {
if (all == null) {
all = new ArrayList();
}
return this.all;
}
/**
* Gets the value of the new 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 new property.
*
*
* For example, to add a new item, do as follows:
*
* getNew().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNew() {
if (_new == null) {
_new = new ArrayList();
}
return this._new;
}
/**
* Gets the value of the mod 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 mod property.
*
*
* For example, to add a new item, do as follows:
*
* getMod().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getMod() {
if (mod == null) {
mod = new ArrayList();
}
return this.mod;
}
@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 all list.
* @see #getAll()
*
*/
public TopReasonsForRejections1 addAll(String all) {
getAll().add(all);
return this;
}
/**
* Adds a new item to the _new list.
* @see #getNew()
*
*/
public TopReasonsForRejections1 addNew(String _new) {
getNew().add(_new);
return this;
}
/**
* Adds a new item to the mod list.
* @see #getMod()
*
*/
public TopReasonsForRejections1 addMod(String mod) {
getMod().add(mod);
return this;
}
}