Tree
+- root: Form1099NECTotalByStateGrpType
| +- stateAbbreviationCd: StateType
| +- totalReportedRcpntFormCnt: BigInteger
| +- federalIncomeTaxWithheldAmt: BigInteger
| +- stateTaxWithheldAmt: BigInteger
| +- localTaxWithheldAmt: BigInteger
| +- nonemployeeCompensationAmt: BigInteger
Flattened
Form1099NECTotalByStateGrpType.stateAbbreviationCd
Form1099NECTotalByStateGrpType.totalReportedRcpntFormCnt
Form1099NECTotalByStateGrpType.federalIncomeTaxWithheldAmt
Form1099NECTotalByStateGrpType.stateTaxWithheldAmt
Form1099NECTotalByStateGrpType.localTaxWithheldAmt
Form1099NECTotalByStateGrpType.nonemployeeCompensationAmt
Java Code
package modelsiris;
import java.math.BigInteger;
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"?><Component xmlns="urn:us:gov:treasury:irs:ir" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DictionaryEntryNm>Form 1099 NEC Total by State Group Type</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>0</MinorVersionNum><VersionEffectiveBeginDt>2021-10-21</VersionEffectiveBeginDt><VersionDescriptionTxt>Initial version</VersionDescriptionTxt><DescriptionTxt>The content model for the form 1099 NEC totals by state</DescriptionTxt></Component>
* </pre>
*
*
* <p>Java class for Form1099NECTotalByStateGrpType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Form1099NECTotalByStateGrpType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StateAbbreviationCd" type="{urn:us:gov:treasury:irs:ir}StateType"/>
* <element name="TotalReportedRcpntFormCnt" type="{urn:us:gov:treasury:irs:ir}TotalNumberNonNegativeType" minOccurs="0"/>
* <element name="FederalIncomeTaxWithheldAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
* <element name="StateTaxWithheldAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
* <element name="LocalTaxWithheldAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
* <element name="NonemployeeCompensationAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Form1099NECTotalByStateGrpType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
"stateAbbreviationCd",
"totalReportedRcpntFormCnt",
"federalIncomeTaxWithheldAmt",
"stateTaxWithheldAmt",
"localTaxWithheldAmt",
"nonemployeeCompensationAmt"
})
public class Form1099NECTotalByStateGrpType implements Equals2, ToString2
{
@XmlElement(name = "StateAbbreviationCd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
@XmlSchemaType(name = "string")
protected StateType stateAbbreviationCd;
@XmlElement(name = "TotalReportedRcpntFormCnt", namespace = "urn:us:gov:treasury:irs:ir")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger totalReportedRcpntFormCnt;
@XmlElement(name = "FederalIncomeTaxWithheldAmt", namespace = "urn:us:gov:treasury:irs:ir")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger federalIncomeTaxWithheldAmt;
@XmlElement(name = "StateTaxWithheldAmt", namespace = "urn:us:gov:treasury:irs:ir")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger stateTaxWithheldAmt;
@XmlElement(name = "LocalTaxWithheldAmt", namespace = "urn:us:gov:treasury:irs:ir")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger localTaxWithheldAmt;
@XmlElement(name = "NonemployeeCompensationAmt", namespace = "urn:us:gov:treasury:irs:ir")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger nonemployeeCompensationAmt;
/**
* 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 totalReportedRcpntFormCnt property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTotalReportedRcpntFormCnt() {
return totalReportedRcpntFormCnt;
}
/**
* Sets the value of the totalReportedRcpntFormCnt property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTotalReportedRcpntFormCnt(BigInteger value) {
this.totalReportedRcpntFormCnt = value;
}
/**
* Gets the value of the federalIncomeTaxWithheldAmt property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getFederalIncomeTaxWithheldAmt() {
return federalIncomeTaxWithheldAmt;
}
/**
* Sets the value of the federalIncomeTaxWithheldAmt property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setFederalIncomeTaxWithheldAmt(BigInteger value) {
this.federalIncomeTaxWithheldAmt = value;
}
/**
* Gets the value of the stateTaxWithheldAmt property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getStateTaxWithheldAmt() {
return stateTaxWithheldAmt;
}
/**
* Sets the value of the stateTaxWithheldAmt property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setStateTaxWithheldAmt(BigInteger value) {
this.stateTaxWithheldAmt = value;
}
/**
* Gets the value of the localTaxWithheldAmt property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getLocalTaxWithheldAmt() {
return localTaxWithheldAmt;
}
/**
* Sets the value of the localTaxWithheldAmt property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setLocalTaxWithheldAmt(BigInteger value) {
this.localTaxWithheldAmt = value;
}
/**
* Gets the value of the nonemployeeCompensationAmt property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNonemployeeCompensationAmt() {
return nonemployeeCompensationAmt;
}
/**
* Sets the value of the nonemployeeCompensationAmt property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNonemployeeCompensationAmt(BigInteger value) {
this.nonemployeeCompensationAmt = 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));
}
{
BigInteger theTotalReportedRcpntFormCnt;
theTotalReportedRcpntFormCnt = this.getTotalReportedRcpntFormCnt();
strategy.appendField(locator, this, "totalReportedRcpntFormCnt", buffer, theTotalReportedRcpntFormCnt, (this.totalReportedRcpntFormCnt!= null));
}
{
BigInteger theFederalIncomeTaxWithheldAmt;
theFederalIncomeTaxWithheldAmt = this.getFederalIncomeTaxWithheldAmt();
strategy.appendField(locator, this, "federalIncomeTaxWithheldAmt", buffer, theFederalIncomeTaxWithheldAmt, (this.federalIncomeTaxWithheldAmt!= null));
}
{
BigInteger theStateTaxWithheldAmt;
theStateTaxWithheldAmt = this.getStateTaxWithheldAmt();
strategy.appendField(locator, this, "stateTaxWithheldAmt", buffer, theStateTaxWithheldAmt, (this.stateTaxWithheldAmt!= null));
}
{
BigInteger theLocalTaxWithheldAmt;
theLocalTaxWithheldAmt = this.getLocalTaxWithheldAmt();
strategy.appendField(locator, this, "localTaxWithheldAmt", buffer, theLocalTaxWithheldAmt, (this.localTaxWithheldAmt!= null));
}
{
BigInteger theNonemployeeCompensationAmt;
theNonemployeeCompensationAmt = this.getNonemployeeCompensationAmt();
strategy.appendField(locator, this, "nonemployeeCompensationAmt", buffer, theNonemployeeCompensationAmt, (this.nonemployeeCompensationAmt!= 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 Form1099NECTotalByStateGrpType that = ((Form1099NECTotalByStateGrpType) 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;
}
}
{
BigInteger lhsTotalReportedRcpntFormCnt;
lhsTotalReportedRcpntFormCnt = this.getTotalReportedRcpntFormCnt();
BigInteger rhsTotalReportedRcpntFormCnt;
rhsTotalReportedRcpntFormCnt = that.getTotalReportedRcpntFormCnt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "totalReportedRcpntFormCnt", lhsTotalReportedRcpntFormCnt), LocatorUtils.property(thatLocator, "totalReportedRcpntFormCnt", rhsTotalReportedRcpntFormCnt), lhsTotalReportedRcpntFormCnt, rhsTotalReportedRcpntFormCnt, (this.totalReportedRcpntFormCnt!= null), (that.totalReportedRcpntFormCnt!= null))) {
return false;
}
}
{
BigInteger lhsFederalIncomeTaxWithheldAmt;
lhsFederalIncomeTaxWithheldAmt = this.getFederalIncomeTaxWithheldAmt();
BigInteger rhsFederalIncomeTaxWithheldAmt;
rhsFederalIncomeTaxWithheldAmt = that.getFederalIncomeTaxWithheldAmt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "federalIncomeTaxWithheldAmt", lhsFederalIncomeTaxWithheldAmt), LocatorUtils.property(thatLocator, "federalIncomeTaxWithheldAmt", rhsFederalIncomeTaxWithheldAmt), lhsFederalIncomeTaxWithheldAmt, rhsFederalIncomeTaxWithheldAmt, (this.federalIncomeTaxWithheldAmt!= null), (that.federalIncomeTaxWithheldAmt!= null))) {
return false;
}
}
{
BigInteger lhsStateTaxWithheldAmt;
lhsStateTaxWithheldAmt = this.getStateTaxWithheldAmt();
BigInteger rhsStateTaxWithheldAmt;
rhsStateTaxWithheldAmt = that.getStateTaxWithheldAmt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "stateTaxWithheldAmt", lhsStateTaxWithheldAmt), LocatorUtils.property(thatLocator, "stateTaxWithheldAmt", rhsStateTaxWithheldAmt), lhsStateTaxWithheldAmt, rhsStateTaxWithheldAmt, (this.stateTaxWithheldAmt!= null), (that.stateTaxWithheldAmt!= null))) {
return false;
}
}
{
BigInteger lhsLocalTaxWithheldAmt;
lhsLocalTaxWithheldAmt = this.getLocalTaxWithheldAmt();
BigInteger rhsLocalTaxWithheldAmt;
rhsLocalTaxWithheldAmt = that.getLocalTaxWithheldAmt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "localTaxWithheldAmt", lhsLocalTaxWithheldAmt), LocatorUtils.property(thatLocator, "localTaxWithheldAmt", rhsLocalTaxWithheldAmt), lhsLocalTaxWithheldAmt, rhsLocalTaxWithheldAmt, (this.localTaxWithheldAmt!= null), (that.localTaxWithheldAmt!= null))) {
return false;
}
}
{
BigInteger lhsNonemployeeCompensationAmt;
lhsNonemployeeCompensationAmt = this.getNonemployeeCompensationAmt();
BigInteger rhsNonemployeeCompensationAmt;
rhsNonemployeeCompensationAmt = that.getNonemployeeCompensationAmt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "nonemployeeCompensationAmt", lhsNonemployeeCompensationAmt), LocatorUtils.property(thatLocator, "nonemployeeCompensationAmt", rhsNonemployeeCompensationAmt), lhsNonemployeeCompensationAmt, rhsNonemployeeCompensationAmt, (this.nonemployeeCompensationAmt!= null), (that.nonemployeeCompensationAmt!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
}