Tree
+- root: StateLocalTaxGrpType
| +- stateAbbreviationCd: StateType
| +- stateTaxGrp: StateTaxGrpType
| | +- stateIdNum: String
| | +- stateTaxWithheldAmt: BigInteger
| | +- stateIncomeAmt: BigInteger
| | +- stateDistributionAmt: BigInteger
| +- localTaxGrp: LocalTaxGrpType
| | +- localTaxWithheldAmt: BigInteger
| | +- localIncomeAmt: BigInteger
| | +- localityNm: String
| | +- localAbbreviationCd: String
| | +- localDistributionAmt: BigInteger
| +- specialDataEntriesTxt: String
Flattened
StateLocalTaxGrpType.stateAbbreviationCd
StateLocalTaxGrpType.stateTaxGrp.stateIdNum
StateLocalTaxGrpType.stateTaxGrp.stateTaxWithheldAmt
StateLocalTaxGrpType.stateTaxGrp.stateIncomeAmt
StateLocalTaxGrpType.stateTaxGrp.stateDistributionAmt
StateLocalTaxGrpType.localTaxGrp.localTaxWithheldAmt
StateLocalTaxGrpType.localTaxGrp.localIncomeAmt
StateLocalTaxGrpType.localTaxGrp.localityNm
StateLocalTaxGrpType.localTaxGrp.localAbbreviationCd
StateLocalTaxGrpType.localTaxGrp.localDistributionAmt
StateLocalTaxGrpType.specialDataEntriesTxt
Java Code
package modelsiris;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
*
* <pre>
* <?xml version="1.0" encoding="UTF-8"?><Description xmlns="urn:us:gov:treasury:irs:ir" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsd="http://www.w3.org/2001/XMLSchema">A group that wraps the data regarding state and local tax information</Description>
* </pre>
*
*
* <p>Java class for StateLocalTaxGrpType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="StateLocalTaxGrpType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StateAbbreviationCd" type="{urn:us:gov:treasury:irs:ir}StateType"/>
* <element name="StateTaxGrp" type="{urn:us:gov:treasury:irs:ir}StateTaxGrpType" minOccurs="0"/>
* <element name="LocalTaxGrp" type="{urn:us:gov:treasury:irs:ir}LocalTaxGrpType" minOccurs="0"/>
* <element name="SpecialDataEntriesTxt" minOccurs="0">
* <simpleType>
* <restriction base="{urn:us:gov:treasury:irs:ir}TextType">
* <maxLength value="60"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StateLocalTaxGrpType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
"stateAbbreviationCd",
"stateTaxGrp",
"localTaxGrp",
"specialDataEntriesTxt"
})
public class StateLocalTaxGrpType implements Equals2, ToString2
{
@XmlElement(name = "StateAbbreviationCd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
@XmlSchemaType(name = "string")
protected StateType stateAbbreviationCd;
@XmlElement(name = "StateTaxGrp", namespace = "urn:us:gov:treasury:irs:ir")
protected StateTaxGrpType stateTaxGrp;
@XmlElement(name = "LocalTaxGrp", namespace = "urn:us:gov:treasury:irs:ir")
protected LocalTaxGrpType localTaxGrp;
@XmlElement(name = "SpecialDataEntriesTxt", namespace = "urn:us:gov:treasury:irs:ir")
protected String specialDataEntriesTxt;
/**
* Gets the value of the stateAbbreviationCd property.
*
* @return
* possible object is
* {@link StateType }
*
*/
public StateType getStateAbbreviationCd() {
return stateAbbreviationCd;
}
/**
* Sets the value of the stateAbbreviationCd property.
*
* @param value
* allowed object is
* {@link StateType }
*
*/
public void setStateAbbreviationCd(StateType value) {
this.stateAbbreviationCd = value;
}
/**
* Gets the value of the stateTaxGrp property.
*
* @return
* possible object is
* {@link StateTaxGrpType }
*
*/
public StateTaxGrpType getStateTaxGrp() {
return stateTaxGrp;
}
/**
* Sets the value of the stateTaxGrp property.
*
* @param value
* allowed object is
* {@link StateTaxGrpType }
*
*/
public void setStateTaxGrp(StateTaxGrpType value) {
this.stateTaxGrp = value;
}
/**
* Gets the value of the localTaxGrp property.
*
* @return
* possible object is
* {@link LocalTaxGrpType }
*
*/
public LocalTaxGrpType getLocalTaxGrp() {
return localTaxGrp;
}
/**
* Sets the value of the localTaxGrp property.
*
* @param value
* allowed object is
* {@link LocalTaxGrpType }
*
*/
public void setLocalTaxGrp(LocalTaxGrpType value) {
this.localTaxGrp = value;
}
/**
* Gets the value of the specialDataEntriesTxt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpecialDataEntriesTxt() {
return specialDataEntriesTxt;
}
/**
* Sets the value of the specialDataEntriesTxt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpecialDataEntriesTxt(String value) {
this.specialDataEntriesTxt = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
StateType theStateAbbreviationCd;
theStateAbbreviationCd = this.getStateAbbreviationCd();
strategy.appendField(locator, this, "stateAbbreviationCd", buffer, theStateAbbreviationCd, (this.stateAbbreviationCd!= null));
}
{
StateTaxGrpType theStateTaxGrp;
theStateTaxGrp = this.getStateTaxGrp();
strategy.appendField(locator, this, "stateTaxGrp", buffer, theStateTaxGrp, (this.stateTaxGrp!= null));
}
{
LocalTaxGrpType theLocalTaxGrp;
theLocalTaxGrp = this.getLocalTaxGrp();
strategy.appendField(locator, this, "localTaxGrp", buffer, theLocalTaxGrp, (this.localTaxGrp!= null));
}
{
String theSpecialDataEntriesTxt;
theSpecialDataEntriesTxt = this.getSpecialDataEntriesTxt();
strategy.appendField(locator, this, "specialDataEntriesTxt", buffer, theSpecialDataEntriesTxt, (this.specialDataEntriesTxt!= null));
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final StateLocalTaxGrpType that = ((StateLocalTaxGrpType) object);
{
StateType lhsStateAbbreviationCd;
lhsStateAbbreviationCd = this.getStateAbbreviationCd();
StateType rhsStateAbbreviationCd;
rhsStateAbbreviationCd = that.getStateAbbreviationCd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "stateAbbreviationCd", lhsStateAbbreviationCd), LocatorUtils.property(thatLocator, "stateAbbreviationCd", rhsStateAbbreviationCd), lhsStateAbbreviationCd, rhsStateAbbreviationCd, (this.stateAbbreviationCd!= null), (that.stateAbbreviationCd!= null))) {
return false;
}
}
{
StateTaxGrpType lhsStateTaxGrp;
lhsStateTaxGrp = this.getStateTaxGrp();
StateTaxGrpType rhsStateTaxGrp;
rhsStateTaxGrp = that.getStateTaxGrp();
if (!strategy.equals(LocatorUtils.property(thisLocator, "stateTaxGrp", lhsStateTaxGrp), LocatorUtils.property(thatLocator, "stateTaxGrp", rhsStateTaxGrp), lhsStateTaxGrp, rhsStateTaxGrp, (this.stateTaxGrp!= null), (that.stateTaxGrp!= null))) {
return false;
}
}
{
LocalTaxGrpType lhsLocalTaxGrp;
lhsLocalTaxGrp = this.getLocalTaxGrp();
LocalTaxGrpType rhsLocalTaxGrp;
rhsLocalTaxGrp = that.getLocalTaxGrp();
if (!strategy.equals(LocatorUtils.property(thisLocator, "localTaxGrp", lhsLocalTaxGrp), LocatorUtils.property(thatLocator, "localTaxGrp", rhsLocalTaxGrp), lhsLocalTaxGrp, rhsLocalTaxGrp, (this.localTaxGrp!= null), (that.localTaxGrp!= null))) {
return false;
}
}
{
String lhsSpecialDataEntriesTxt;
lhsSpecialDataEntriesTxt = this.getSpecialDataEntriesTxt();
String rhsSpecialDataEntriesTxt;
rhsSpecialDataEntriesTxt = that.getSpecialDataEntriesTxt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "specialDataEntriesTxt", lhsSpecialDataEntriesTxt), LocatorUtils.property(thatLocator, "specialDataEntriesTxt", rhsSpecialDataEntriesTxt), lhsSpecialDataEntriesTxt, rhsSpecialDataEntriesTxt, (this.specialDataEntriesTxt!= null), (that.specialDataEntriesTxt!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
}