com.prowidesoftware.swift.model.mx.dic.Location2 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
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;
/**
* Location information.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Location2", propOrder = {
"ctry",
"ctrySubDvsn",
"txt"
})
public class Location2 {
@XmlElement(name = "Ctry")
protected String ctry;
@XmlElement(name = "CtrySubDvsn")
protected CountrySubdivision1Choice ctrySubDvsn;
@XmlElement(name = "Txt")
protected String txt;
/**
* Gets the value of the ctry property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtry() {
return ctry;
}
/**
* Sets the value of the ctry property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Location2 setCtry(String value) {
this.ctry = value;
return this;
}
/**
* Gets the value of the ctrySubDvsn property.
*
* @return
* possible object is
* {@link CountrySubdivision1Choice }
*
*/
public CountrySubdivision1Choice getCtrySubDvsn() {
return ctrySubDvsn;
}
/**
* Sets the value of the ctrySubDvsn property.
*
* @param value
* allowed object is
* {@link CountrySubdivision1Choice }
*
*/
public Location2 setCtrySubDvsn(CountrySubdivision1Choice value) {
this.ctrySubDvsn = value;
return this;
}
/**
* Gets the value of the txt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxt() {
return txt;
}
/**
* Sets the value of the txt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Location2 setTxt(String value) {
this.txt = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy