
com.prowidesoftware.swift.model.mx.dic.GeneralBusinessInformationSearchCriteria 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;
/**
* Defines the criteria used to search for business information.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GeneralBusinessInformationSearchCriteria", propOrder = {
"ref",
"sbjt",
"qlfr"
})
public class GeneralBusinessInformationSearchCriteria {
@XmlElement(name = "Ref")
protected List ref;
@XmlElement(name = "Sbjt")
protected List sbjt;
@XmlElement(name = "Qlfr")
protected List qlfr;
/**
* Gets the value of the ref 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 ref property.
*
*
* For example, to add a new item, do as follows:
*
* getRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getRef() {
if (ref == null) {
ref = new ArrayList();
}
return this.ref;
}
/**
* Gets the value of the sbjt 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 sbjt property.
*
*
* For example, to add a new item, do as follows:
*
* getSbjt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CharacterSearchChoice }
*
*
*/
public List getSbjt() {
if (sbjt == null) {
sbjt = new ArrayList();
}
return this.sbjt;
}
/**
* Gets the value of the qlfr 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 qlfr property.
*
*
* For example, to add a new item, do as follows:
*
* getQlfr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InformationQualifierType }
*
*
*/
public List getQlfr() {
if (qlfr == null) {
qlfr = new ArrayList();
}
return this.qlfr;
}
@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 ref list.
* @see #getRef()
*
*/
public GeneralBusinessInformationSearchCriteria addRef(String ref) {
getRef().add(ref);
return this;
}
/**
* Adds a new item to the sbjt list.
* @see #getSbjt()
*
*/
public GeneralBusinessInformationSearchCriteria addSbjt(CharacterSearchChoice sbjt) {
getSbjt().add(sbjt);
return this;
}
/**
* Adds a new item to the qlfr list.
* @see #getQlfr()
*
*/
public GeneralBusinessInformationSearchCriteria addQlfr(InformationQualifierType qlfr) {
getQlfr().add(qlfr);
return this;
}
}