IRIS Form1099NECDetailType

IRIS > IRIS XML

Under Development
as of April 11, 2023

Tree


+- root: Form1099NECDetailType
|  +- taxYr: String
|  +- recordId: String
|  +- issuerOfficeCd: String
|  +- cfsfElectionStateCd: StateType[]
|  +- voidInd: String
|  +- correctedInd: String
|  +- prevSubmittedRecRecipientGrp: PrevSubmittedRecRecipientGrpType
|  |  +- uniqueRecordId: String
|  |  +- tin: String
|  |  +- personName: OtherCompletePersonNameType
|  |  |  +- personFirstNm: String
|  |  |  +- personMiddleNm: String
|  |  |  +- personLastNm: String
|  |  |  +- suffixNm: String
|  |  +- businessName: BusinessNameType
|  |  |  +- businessNameLine1Txt: String
|  |  |  +- businessNameLine2Txt: String
|  +- recipientDetail: RecipientDetailType
|  |  +- tin: String
|  |  +- tinSubmittedTypeCd: TINSubmittedTypeCdType
|  |  +- personNameControlTxt: String
|  |  +- personName: OtherCompletePersonNameType
|  |  |  +- personFirstNm: String
|  |  |  +- personMiddleNm: String
|  |  |  +- personLastNm: String
|  |  |  +- suffixNm: String
|  |  +- businessNameControlTxt: String
|  |  +- businessName: BusinessNameType
|  |  |  +- businessNameLine1Txt: String
|  |  |  +- businessNameLine2Txt: String
|  |  +- additionalRecipientTxt: String
|  |  +- mailingAddressGrp: AddressGrpType
|  |  |  +- usAddress: USAddressType
|  |  |  |  +- addressLine1Txt: String
|  |  |  |  +- addressLine2Txt: String
|  |  |  |  +- cityNm: String
|  |  |  |  +- stateAbbreviationCd: StateType
|  |  |  |  +- zipCd: String
|  |  |  +- foreignAddress: ForeignAddressType
|  |  |  |  +- addressLine1Txt: String
|  |  |  |  +- addressLine2Txt: String
|  |  |  |  +- cityNm: String
|  |  |  |  +- provinceOrStateNm: String
|  |  |  |  +- countryCd: CountryType
|  |  |  |  +- foreignPostalCd: String
|  |  +- recipientAccountNum: String
|  +- secondTINNoticeInd: String
|  +- nonemployeeCompensationAmt: BigInteger
|  +- directSaleAboveThresholdInd: String
|  +- federalIncomeTaxWithheldAmt: BigInteger
|  +- stateLocalTaxGrp: 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

Form1099NECDetailType.taxYr
Form1099NECDetailType.recordId
Form1099NECDetailType.issuerOfficeCd
Form1099NECDetailType.cfsfElectionStateCd-1
Form1099NECDetailType.voidInd
Form1099NECDetailType.correctedInd
Form1099NECDetailType.prevSubmittedRecRecipientGrp.uniqueRecordId
Form1099NECDetailType.prevSubmittedRecRecipientGrp.tin
Form1099NECDetailType.prevSubmittedRecRecipientGrp.personName.personFirstNm
Form1099NECDetailType.prevSubmittedRecRecipientGrp.personName.personMiddleNm
Form1099NECDetailType.prevSubmittedRecRecipientGrp.personName.personLastNm
Form1099NECDetailType.prevSubmittedRecRecipientGrp.personName.suffixNm
Form1099NECDetailType.prevSubmittedRecRecipientGrp.businessName.businessNameLine1Txt
Form1099NECDetailType.prevSubmittedRecRecipientGrp.businessName.businessNameLine2Txt
Form1099NECDetailType.recipientDetail.tin
Form1099NECDetailType.recipientDetail.tinSubmittedTypeCd
Form1099NECDetailType.recipientDetail.personNameControlTxt
Form1099NECDetailType.recipientDetail.personName.personFirstNm
Form1099NECDetailType.recipientDetail.personName.personMiddleNm
Form1099NECDetailType.recipientDetail.personName.personLastNm
Form1099NECDetailType.recipientDetail.personName.suffixNm
Form1099NECDetailType.recipientDetail.businessNameControlTxt
Form1099NECDetailType.recipientDetail.businessName.businessNameLine1Txt
Form1099NECDetailType.recipientDetail.businessName.businessNameLine2Txt
Form1099NECDetailType.recipientDetail.additionalRecipientTxt
Form1099NECDetailType.recipientDetail.mailingAddressGrp.usAddress.addressLine1Txt
Form1099NECDetailType.recipientDetail.mailingAddressGrp.usAddress.addressLine2Txt
Form1099NECDetailType.recipientDetail.mailingAddressGrp.usAddress.cityNm
Form1099NECDetailType.recipientDetail.mailingAddressGrp.usAddress.stateAbbreviationCd
Form1099NECDetailType.recipientDetail.mailingAddressGrp.usAddress.zipCd
Form1099NECDetailType.recipientDetail.mailingAddressGrp.foreignAddress.addressLine1Txt
Form1099NECDetailType.recipientDetail.mailingAddressGrp.foreignAddress.addressLine2Txt
Form1099NECDetailType.recipientDetail.mailingAddressGrp.foreignAddress.cityNm
Form1099NECDetailType.recipientDetail.mailingAddressGrp.foreignAddress.provinceOrStateNm
Form1099NECDetailType.recipientDetail.mailingAddressGrp.foreignAddress.countryCd
Form1099NECDetailType.recipientDetail.mailingAddressGrp.foreignAddress.foreignPostalCd
Form1099NECDetailType.recipientDetail.recipientAccountNum
Form1099NECDetailType.secondTINNoticeInd
Form1099NECDetailType.nonemployeeCompensationAmt
Form1099NECDetailType.directSaleAboveThresholdInd
Form1099NECDetailType.federalIncomeTaxWithheldAmt
Form1099NECDetailType.stateLocalTaxGrp-1.stateAbbreviationCd
Form1099NECDetailType.stateLocalTaxGrp-1.stateTaxGrp.stateIdNum
Form1099NECDetailType.stateLocalTaxGrp-1.stateTaxGrp.stateTaxWithheldAmt
Form1099NECDetailType.stateLocalTaxGrp-1.stateTaxGrp.stateIncomeAmt
Form1099NECDetailType.stateLocalTaxGrp-1.stateTaxGrp.stateDistributionAmt
Form1099NECDetailType.stateLocalTaxGrp-1.localTaxGrp.localTaxWithheldAmt
Form1099NECDetailType.stateLocalTaxGrp-1.localTaxGrp.localIncomeAmt
Form1099NECDetailType.stateLocalTaxGrp-1.localTaxGrp.localityNm
Form1099NECDetailType.stateLocalTaxGrp-1.localTaxGrp.localAbbreviationCd
Form1099NECDetailType.stateLocalTaxGrp-1.localTaxGrp.localDistributionAmt
Form1099NECDetailType.stateLocalTaxGrp-1.specialDataEntriesTxt

Java Code


package modelsiris;

import java.math.BigInteger;
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.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 Detail 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.</DescriptionTxt></Component>
 * </pre>
 * 
 * 
 * <p>Java class for Form1099NECDetailType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * <complexType name="Form1099NECDetailType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TaxYr" type="{urn:us:gov:treasury:irs:ir}YearType"/>
 *         <element name="RecordId" type="{urn:us:gov:treasury:irs:ir}RecordIdType"/>
 *         <element name="IssuerOfficeCd" type="{urn:us:gov:treasury:irs:ir}Code4Type" minOccurs="0"/>
 *         <element name="CFSFElectionStateCd" type="{urn:us:gov:treasury:irs:ir}StateType" maxOccurs="62" minOccurs="0"/>
 *         <element name="VoidInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
 *         <element name="CorrectedInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
 *         <element name="PrevSubmittedRecRecipientGrp" type="{urn:us:gov:treasury:irs:ir}PrevSubmittedRecRecipientGrpType" minOccurs="0"/>
 *         <element name="RecipientDetail" type="{urn:us:gov:treasury:irs:ir}RecipientDetailType"/>
 *         <element name="SecondTINNoticeInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
 *         <element name="NonemployeeCompensationAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="DirectSaleAboveThresholdInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
 *         <element name="FederalIncomeTaxWithheldAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="StateLocalTaxGrp" type="{urn:us:gov:treasury:irs:ir}StateLocalTaxGrpType" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Form1099NECDetailType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
    "taxYr",
    "recordId",
    "issuerOfficeCd",
    "cfsfElectionStateCd",
    "voidInd",
    "correctedInd",
    "prevSubmittedRecRecipientGrp",
    "recipientDetail",
    "secondTINNoticeInd",
    "nonemployeeCompensationAmt",
    "directSaleAboveThresholdInd",
    "federalIncomeTaxWithheldAmt",
    "stateLocalTaxGrp"
})
public class Form1099NECDetailType implements Equals2, ToString2
{

    @XmlElement(name = "TaxYr", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String taxYr;
    @XmlElement(name = "RecordId", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String recordId;
    @XmlElement(name = "IssuerOfficeCd", namespace = "urn:us:gov:treasury:irs:ir")
    protected String issuerOfficeCd;
    @XmlElement(name = "CFSFElectionStateCd", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "string")
    protected List<StateType> cfsfElectionStateCd;
    @XmlElement(name = "VoidInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String voidInd;
    @XmlElement(name = "CorrectedInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String correctedInd;
    @XmlElement(name = "PrevSubmittedRecRecipientGrp", namespace = "urn:us:gov:treasury:irs:ir")
    protected PrevSubmittedRecRecipientGrpType prevSubmittedRecRecipientGrp;
    @XmlElement(name = "RecipientDetail", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected RecipientDetailType recipientDetail;
    @XmlElement(name = "SecondTINNoticeInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String secondTINNoticeInd;
    @XmlElement(name = "NonemployeeCompensationAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger nonemployeeCompensationAmt;
    @XmlElement(name = "DirectSaleAboveThresholdInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String directSaleAboveThresholdInd;
    @XmlElement(name = "FederalIncomeTaxWithheldAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger federalIncomeTaxWithheldAmt;
    @XmlElement(name = "StateLocalTaxGrp", namespace = "urn:us:gov:treasury:irs:ir")
    protected List<StateLocalTaxGrpType> stateLocalTaxGrp;

    /**
     * Gets the value of the taxYr property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTaxYr() {
        return taxYr;
    }

    /**
     * Sets the value of the taxYr property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTaxYr(String value) {
        this.taxYr = value;
    }

    /**
     * Gets the value of the recordId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRecordId() {
        return recordId;
    }

    /**
     * Sets the value of the recordId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRecordId(String value) {
        this.recordId = value;
    }

    /**
     * Gets the value of the issuerOfficeCd property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIssuerOfficeCd() {
        return issuerOfficeCd;
    }

    /**
     * Sets the value of the issuerOfficeCd property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIssuerOfficeCd(String value) {
        this.issuerOfficeCd = value;
    }

    /**
     * Gets the value of the cfsfElectionStateCd property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the cfsfElectionStateCd property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCFSFElectionStateCd().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link StateType }
     * 
     * 
     */
    public List<StateType> getCFSFElectionStateCd() {
        if (cfsfElectionStateCd == null) {
            cfsfElectionStateCd = new ArrayList<StateType>();
        }
        return this.cfsfElectionStateCd;
    }

    /**
     * Gets the value of the voidInd property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVoidInd() {
        return voidInd;
    }

    /**
     * Sets the value of the voidInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setVoidInd(String value) {
        this.voidInd = value;
    }

    /**
     * Gets the value of the correctedInd property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCorrectedInd() {
        return correctedInd;
    }

    /**
     * Sets the value of the correctedInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCorrectedInd(String value) {
        this.correctedInd = value;
    }

    /**
     * Gets the value of the prevSubmittedRecRecipientGrp property.
     * 
     * @return
     *     possible object is
     *     {@link PrevSubmittedRecRecipientGrpType }
     *     
     */
    public PrevSubmittedRecRecipientGrpType getPrevSubmittedRecRecipientGrp() {
        return prevSubmittedRecRecipientGrp;
    }

    /**
     * Sets the value of the prevSubmittedRecRecipientGrp property.
     * 
     * @param value
     *     allowed object is
     *     {@link PrevSubmittedRecRecipientGrpType }
     *     
     */
    public void setPrevSubmittedRecRecipientGrp(PrevSubmittedRecRecipientGrpType value) {
        this.prevSubmittedRecRecipientGrp = value;
    }

    /**
     * Gets the value of the recipientDetail property.
     * 
     * @return
     *     possible object is
     *     {@link RecipientDetailType }
     *     
     */
    public RecipientDetailType getRecipientDetail() {
        return recipientDetail;
    }

    /**
     * Sets the value of the recipientDetail property.
     * 
     * @param value
     *     allowed object is
     *     {@link RecipientDetailType }
     *     
     */
    public void setRecipientDetail(RecipientDetailType value) {
        this.recipientDetail = value;
    }

    /**
     * Gets the value of the secondTINNoticeInd property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSecondTINNoticeInd() {
        return secondTINNoticeInd;
    }

    /**
     * Sets the value of the secondTINNoticeInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSecondTINNoticeInd(String value) {
        this.secondTINNoticeInd = 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;
    }

    /**
     * Gets the value of the directSaleAboveThresholdInd property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDirectSaleAboveThresholdInd() {
        return directSaleAboveThresholdInd;
    }

    /**
     * Sets the value of the directSaleAboveThresholdInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDirectSaleAboveThresholdInd(String value) {
        this.directSaleAboveThresholdInd = 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 stateLocalTaxGrp property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the stateLocalTaxGrp property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getStateLocalTaxGrp().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link StateLocalTaxGrpType }
     * 
     * 
     */
    public List<StateLocalTaxGrpType> getStateLocalTaxGrp() {
        if (stateLocalTaxGrp == null) {
            stateLocalTaxGrp = new ArrayList<StateLocalTaxGrpType>();
        }
        return this.stateLocalTaxGrp;
    }

    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) {
        {
            String theTaxYr;
            theTaxYr = this.getTaxYr();
            strategy.appendField(locator, this, "taxYr", buffer, theTaxYr, (this.taxYr!= null));
        }
        {
            String theRecordId;
            theRecordId = this.getRecordId();
            strategy.appendField(locator, this, "recordId", buffer, theRecordId, (this.recordId!= null));
        }
        {
            String theIssuerOfficeCd;
            theIssuerOfficeCd = this.getIssuerOfficeCd();
            strategy.appendField(locator, this, "issuerOfficeCd", buffer, theIssuerOfficeCd, (this.issuerOfficeCd!= null));
        }
        {
            List<StateType> theCFSFElectionStateCd;
            theCFSFElectionStateCd = (((this.cfsfElectionStateCd!= null)&&(!this.cfsfElectionStateCd.isEmpty()))?this.getCFSFElectionStateCd():null);
            strategy.appendField(locator, this, "cfsfElectionStateCd", buffer, theCFSFElectionStateCd, ((this.cfsfElectionStateCd!= null)&&(!this.cfsfElectionStateCd.isEmpty())));
        }
        {
            String theVoidInd;
            theVoidInd = this.getVoidInd();
            strategy.appendField(locator, this, "voidInd", buffer, theVoidInd, (this.voidInd!= null));
        }
        {
            String theCorrectedInd;
            theCorrectedInd = this.getCorrectedInd();
            strategy.appendField(locator, this, "correctedInd", buffer, theCorrectedInd, (this.correctedInd!= null));
        }
        {
            PrevSubmittedRecRecipientGrpType thePrevSubmittedRecRecipientGrp;
            thePrevSubmittedRecRecipientGrp = this.getPrevSubmittedRecRecipientGrp();
            strategy.appendField(locator, this, "prevSubmittedRecRecipientGrp", buffer, thePrevSubmittedRecRecipientGrp, (this.prevSubmittedRecRecipientGrp!= null));
        }
        {
            RecipientDetailType theRecipientDetail;
            theRecipientDetail = this.getRecipientDetail();
            strategy.appendField(locator, this, "recipientDetail", buffer, theRecipientDetail, (this.recipientDetail!= null));
        }
        {
            String theSecondTINNoticeInd;
            theSecondTINNoticeInd = this.getSecondTINNoticeInd();
            strategy.appendField(locator, this, "secondTINNoticeInd", buffer, theSecondTINNoticeInd, (this.secondTINNoticeInd!= null));
        }
        {
            BigInteger theNonemployeeCompensationAmt;
            theNonemployeeCompensationAmt = this.getNonemployeeCompensationAmt();
            strategy.appendField(locator, this, "nonemployeeCompensationAmt", buffer, theNonemployeeCompensationAmt, (this.nonemployeeCompensationAmt!= null));
        }
        {
            String theDirectSaleAboveThresholdInd;
            theDirectSaleAboveThresholdInd = this.getDirectSaleAboveThresholdInd();
            strategy.appendField(locator, this, "directSaleAboveThresholdInd", buffer, theDirectSaleAboveThresholdInd, (this.directSaleAboveThresholdInd!= null));
        }
        {
            BigInteger theFederalIncomeTaxWithheldAmt;
            theFederalIncomeTaxWithheldAmt = this.getFederalIncomeTaxWithheldAmt();
            strategy.appendField(locator, this, "federalIncomeTaxWithheldAmt", buffer, theFederalIncomeTaxWithheldAmt, (this.federalIncomeTaxWithheldAmt!= null));
        }
        {
            List<StateLocalTaxGrpType> theStateLocalTaxGrp;
            theStateLocalTaxGrp = (((this.stateLocalTaxGrp!= null)&&(!this.stateLocalTaxGrp.isEmpty()))?this.getStateLocalTaxGrp():null);
            strategy.appendField(locator, this, "stateLocalTaxGrp", buffer, theStateLocalTaxGrp, ((this.stateLocalTaxGrp!= null)&&(!this.stateLocalTaxGrp.isEmpty())));
        }
        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 Form1099NECDetailType that = ((Form1099NECDetailType) object);
        {
            String lhsTaxYr;
            lhsTaxYr = this.getTaxYr();
            String rhsTaxYr;
            rhsTaxYr = that.getTaxYr();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "taxYr", lhsTaxYr), LocatorUtils.property(thatLocator, "taxYr", rhsTaxYr), lhsTaxYr, rhsTaxYr, (this.taxYr!= null), (that.taxYr!= null))) {
                return false;
            }
        }
        {
            String lhsRecordId;
            lhsRecordId = this.getRecordId();
            String rhsRecordId;
            rhsRecordId = that.getRecordId();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "recordId", lhsRecordId), LocatorUtils.property(thatLocator, "recordId", rhsRecordId), lhsRecordId, rhsRecordId, (this.recordId!= null), (that.recordId!= null))) {
                return false;
            }
        }
        {
            String lhsIssuerOfficeCd;
            lhsIssuerOfficeCd = this.getIssuerOfficeCd();
            String rhsIssuerOfficeCd;
            rhsIssuerOfficeCd = that.getIssuerOfficeCd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "issuerOfficeCd", lhsIssuerOfficeCd), LocatorUtils.property(thatLocator, "issuerOfficeCd", rhsIssuerOfficeCd), lhsIssuerOfficeCd, rhsIssuerOfficeCd, (this.issuerOfficeCd!= null), (that.issuerOfficeCd!= null))) {
                return false;
            }
        }
        {
            List<StateType> lhsCFSFElectionStateCd;
            lhsCFSFElectionStateCd = (((this.cfsfElectionStateCd!= null)&&(!this.cfsfElectionStateCd.isEmpty()))?this.getCFSFElectionStateCd():null);
            List<StateType> rhsCFSFElectionStateCd;
            rhsCFSFElectionStateCd = (((that.cfsfElectionStateCd!= null)&&(!that.cfsfElectionStateCd.isEmpty()))?that.getCFSFElectionStateCd():null);
            if (!strategy.equals(LocatorUtils.property(thisLocator, "cfsfElectionStateCd", lhsCFSFElectionStateCd), LocatorUtils.property(thatLocator, "cfsfElectionStateCd", rhsCFSFElectionStateCd), lhsCFSFElectionStateCd, rhsCFSFElectionStateCd, ((this.cfsfElectionStateCd!= null)&&(!this.cfsfElectionStateCd.isEmpty())), ((that.cfsfElectionStateCd!= null)&&(!that.cfsfElectionStateCd.isEmpty())))) {
                return false;
            }
        }
        {
            String lhsVoidInd;
            lhsVoidInd = this.getVoidInd();
            String rhsVoidInd;
            rhsVoidInd = that.getVoidInd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "voidInd", lhsVoidInd), LocatorUtils.property(thatLocator, "voidInd", rhsVoidInd), lhsVoidInd, rhsVoidInd, (this.voidInd!= null), (that.voidInd!= null))) {
                return false;
            }
        }
        {
            String lhsCorrectedInd;
            lhsCorrectedInd = this.getCorrectedInd();
            String rhsCorrectedInd;
            rhsCorrectedInd = that.getCorrectedInd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "correctedInd", lhsCorrectedInd), LocatorUtils.property(thatLocator, "correctedInd", rhsCorrectedInd), lhsCorrectedInd, rhsCorrectedInd, (this.correctedInd!= null), (that.correctedInd!= null))) {
                return false;
            }
        }
        {
            PrevSubmittedRecRecipientGrpType lhsPrevSubmittedRecRecipientGrp;
            lhsPrevSubmittedRecRecipientGrp = this.getPrevSubmittedRecRecipientGrp();
            PrevSubmittedRecRecipientGrpType rhsPrevSubmittedRecRecipientGrp;
            rhsPrevSubmittedRecRecipientGrp = that.getPrevSubmittedRecRecipientGrp();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "prevSubmittedRecRecipientGrp", lhsPrevSubmittedRecRecipientGrp), LocatorUtils.property(thatLocator, "prevSubmittedRecRecipientGrp", rhsPrevSubmittedRecRecipientGrp), lhsPrevSubmittedRecRecipientGrp, rhsPrevSubmittedRecRecipientGrp, (this.prevSubmittedRecRecipientGrp!= null), (that.prevSubmittedRecRecipientGrp!= null))) {
                return false;
            }
        }
        {
            RecipientDetailType lhsRecipientDetail;
            lhsRecipientDetail = this.getRecipientDetail();
            RecipientDetailType rhsRecipientDetail;
            rhsRecipientDetail = that.getRecipientDetail();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "recipientDetail", lhsRecipientDetail), LocatorUtils.property(thatLocator, "recipientDetail", rhsRecipientDetail), lhsRecipientDetail, rhsRecipientDetail, (this.recipientDetail!= null), (that.recipientDetail!= null))) {
                return false;
            }
        }
        {
            String lhsSecondTINNoticeInd;
            lhsSecondTINNoticeInd = this.getSecondTINNoticeInd();
            String rhsSecondTINNoticeInd;
            rhsSecondTINNoticeInd = that.getSecondTINNoticeInd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "secondTINNoticeInd", lhsSecondTINNoticeInd), LocatorUtils.property(thatLocator, "secondTINNoticeInd", rhsSecondTINNoticeInd), lhsSecondTINNoticeInd, rhsSecondTINNoticeInd, (this.secondTINNoticeInd!= null), (that.secondTINNoticeInd!= 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;
            }
        }
        {
            String lhsDirectSaleAboveThresholdInd;
            lhsDirectSaleAboveThresholdInd = this.getDirectSaleAboveThresholdInd();
            String rhsDirectSaleAboveThresholdInd;
            rhsDirectSaleAboveThresholdInd = that.getDirectSaleAboveThresholdInd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "directSaleAboveThresholdInd", lhsDirectSaleAboveThresholdInd), LocatorUtils.property(thatLocator, "directSaleAboveThresholdInd", rhsDirectSaleAboveThresholdInd), lhsDirectSaleAboveThresholdInd, rhsDirectSaleAboveThresholdInd, (this.directSaleAboveThresholdInd!= null), (that.directSaleAboveThresholdInd!= 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;
            }
        }
        {
            List<StateLocalTaxGrpType> lhsStateLocalTaxGrp;
            lhsStateLocalTaxGrp = (((this.stateLocalTaxGrp!= null)&&(!this.stateLocalTaxGrp.isEmpty()))?this.getStateLocalTaxGrp():null);
            List<StateLocalTaxGrpType> rhsStateLocalTaxGrp;
            rhsStateLocalTaxGrp = (((that.stateLocalTaxGrp!= null)&&(!that.stateLocalTaxGrp.isEmpty()))?that.getStateLocalTaxGrp():null);
            if (!strategy.equals(LocatorUtils.property(thisLocator, "stateLocalTaxGrp", lhsStateLocalTaxGrp), LocatorUtils.property(thatLocator, "stateLocalTaxGrp", rhsStateLocalTaxGrp), lhsStateLocalTaxGrp, rhsStateLocalTaxGrp, ((this.stateLocalTaxGrp!= null)&&(!this.stateLocalTaxGrp.isEmpty())), ((that.stateLocalTaxGrp!= null)&&(!that.stateLocalTaxGrp.isEmpty())))) {
                return false;
            }
        }
        return true;
    }

    public boolean equals(Object object) {
        final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
        return equals(null, null, object, strategy);
    }

}

© Copyright 2023. All Rights Reserved.