IRIS IRSubmission2HeaderType

IRIS > IRIS XML

Under Development
as of April 11, 2023

Tree


+- root: IRSubmission2HeaderType
|  +- submissionId: String
|  +- taxYr: String
|  +- formTypeCd: String
|  +- form8809Detail: Form8809DetailType
|  |  +- issuerDetail: IssuerDetailType
|  |  |  +- foreignEntityInd: String
|  |  |  +- tin: String
|  |  |  +- tinSubmittedTypeCd: TINSubmittedTypeCdType
|  |  |  +- personNameControlTxt: String
|  |  |  +- personName: OtherCompletePersonNameType
|  |  |  |  +- personFirstNm: String
|  |  |  |  +- personMiddleNm: String
|  |  |  |  +- personLastNm: String
|  |  |  |  +- suffixNm: String
|  |  |  +- businessNameControlTxt: String
|  |  |  +- businessName: BusinessNameType
|  |  |  |  +- businessNameLine1Txt: String
|  |  |  |  +- businessNameLine2Txt: 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
|  |  |  +- phoneNum: String
|  |  +- contactPersonInformationGrp: ContactPersonInformationGrpType
|  |  |  +- contactPersonNm: String
|  |  |  +- contactPhoneNum: String
|  |  |  +- contactEmailAddressTxt: String
|  |  |  +- contactFaxNum: String
|  |  +- irElectronicSubmissionInd: String
|  |  +- irPaperSubmissionInd: String
|  |  +- applicableFormTypeCd: String[]
|  |  +- juratSignatureGrp: JuratSignatureGrpType
|  |  |  +- signatureIntentInd: String
|  |  |  +- juratSignaturePIN: String
|  |  |  +- signatureDt: XMLGregorianCalendar
|  |  |  +- juratPersonTitleTxt: String
|  |  |  +- personNm: String


Flattened

IRSubmission2HeaderType.submissionId
IRSubmission2HeaderType.taxYr
IRSubmission2HeaderType.formTypeCd
IRSubmission2HeaderType.form8809Detail.issuerDetail.foreignEntityInd
IRSubmission2HeaderType.form8809Detail.issuerDetail.tin
IRSubmission2HeaderType.form8809Detail.issuerDetail.tinSubmittedTypeCd
IRSubmission2HeaderType.form8809Detail.issuerDetail.personNameControlTxt
IRSubmission2HeaderType.form8809Detail.issuerDetail.personName.personFirstNm
IRSubmission2HeaderType.form8809Detail.issuerDetail.personName.personMiddleNm
IRSubmission2HeaderType.form8809Detail.issuerDetail.personName.personLastNm
IRSubmission2HeaderType.form8809Detail.issuerDetail.personName.suffixNm
IRSubmission2HeaderType.form8809Detail.issuerDetail.businessNameControlTxt
IRSubmission2HeaderType.form8809Detail.issuerDetail.businessName.businessNameLine1Txt
IRSubmission2HeaderType.form8809Detail.issuerDetail.businessName.businessNameLine2Txt
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.addressLine1Txt
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.addressLine2Txt
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.cityNm
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.stateAbbreviationCd
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.zipCd
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.addressLine1Txt
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.addressLine2Txt
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.cityNm
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.provinceOrStateNm
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.countryCd
IRSubmission2HeaderType.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.foreignPostalCd
IRSubmission2HeaderType.form8809Detail.issuerDetail.phoneNum
IRSubmission2HeaderType.form8809Detail.contactPersonInformationGrp.contactPersonNm
IRSubmission2HeaderType.form8809Detail.contactPersonInformationGrp.contactPhoneNum
IRSubmission2HeaderType.form8809Detail.contactPersonInformationGrp.contactEmailAddressTxt
IRSubmission2HeaderType.form8809Detail.contactPersonInformationGrp.contactFaxNum
IRSubmission2HeaderType.form8809Detail.irElectronicSubmissionInd
IRSubmission2HeaderType.form8809Detail.irPaperSubmissionInd
IRSubmission2HeaderType.form8809Detail.applicableFormTypeCd-1
IRSubmission2HeaderType.form8809Detail.juratSignatureGrp.signatureIntentInd
IRSubmission2HeaderType.form8809Detail.juratSignatureGrp.juratSignaturePIN
IRSubmission2HeaderType.form8809Detail.juratSignatureGrp.signatureDt
IRSubmission2HeaderType.form8809Detail.juratSignatureGrp.juratPersonTitleTxt
IRSubmission2HeaderType.form8809Detail.juratSignatureGrp.personNm

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.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>IR (Information Return) Submission 2 Header Type</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>0</MinorVersionNum><VersionEffectiveBeginDt>2021-05-27</VersionEffectiveBeginDt><VersionDescriptionTxt>Initial version</VersionDescriptionTxt><DescriptionTxt>The content model for IR (Information Return) submission 2 header.</DescriptionTxt></Component>
 * </pre>
 * 
 * 
 * <p>Java class for IRSubmission2HeaderType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * <complexType name="IRSubmission2HeaderType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="SubmissionId" type="{urn:us:gov:treasury:irs:ir}SubmissionIdType"/>
 *         <element name="TaxYr" type="{urn:us:gov:treasury:irs:ir}YearType"/>
 *         <element name="FormTypeCd" type="{urn:us:gov:treasury:irs:ir}FormTypeCdType"/>
 *         <choice>
 *           <element name="Form8809Detail" type="{urn:us:gov:treasury:irs:ir}Form8809DetailType"/>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IRSubmission2HeaderType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
    "submissionId",
    "taxYr",
    "formTypeCd",
    "form8809Detail"
})
public class IRSubmission2HeaderType implements Equals2, ToString2
{

    @XmlElement(name = "SubmissionId", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String submissionId;
    @XmlElement(name = "TaxYr", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String taxYr;
    @XmlElement(name = "FormTypeCd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String formTypeCd;
    @XmlElement(name = "Form8809Detail", namespace = "urn:us:gov:treasury:irs:ir")
    protected Form8809DetailType form8809Detail;

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

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

    /**
     * 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 formTypeCd property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFormTypeCd() {
        return formTypeCd;
    }

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

    /**
     * Gets the value of the form8809Detail property.
     * 
     * @return
     *     possible object is
     *     {@link Form8809DetailType }
     *     
     */
    public Form8809DetailType getForm8809Detail() {
        return form8809Detail;
    }

    /**
     * Sets the value of the form8809Detail property.
     * 
     * @param value
     *     allowed object is
     *     {@link Form8809DetailType }
     *     
     */
    public void setForm8809Detail(Form8809DetailType value) {
        this.form8809Detail = 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) {
        {
            String theSubmissionId;
            theSubmissionId = this.getSubmissionId();
            strategy.appendField(locator, this, "submissionId", buffer, theSubmissionId, (this.submissionId!= null));
        }
        {
            String theTaxYr;
            theTaxYr = this.getTaxYr();
            strategy.appendField(locator, this, "taxYr", buffer, theTaxYr, (this.taxYr!= null));
        }
        {
            String theFormTypeCd;
            theFormTypeCd = this.getFormTypeCd();
            strategy.appendField(locator, this, "formTypeCd", buffer, theFormTypeCd, (this.formTypeCd!= null));
        }
        {
            Form8809DetailType theForm8809Detail;
            theForm8809Detail = this.getForm8809Detail();
            strategy.appendField(locator, this, "form8809Detail", buffer, theForm8809Detail, (this.form8809Detail!= 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 IRSubmission2HeaderType that = ((IRSubmission2HeaderType) object);
        {
            String lhsSubmissionId;
            lhsSubmissionId = this.getSubmissionId();
            String rhsSubmissionId;
            rhsSubmissionId = that.getSubmissionId();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "submissionId", lhsSubmissionId), LocatorUtils.property(thatLocator, "submissionId", rhsSubmissionId), lhsSubmissionId, rhsSubmissionId, (this.submissionId!= null), (that.submissionId!= null))) {
                return false;
            }
        }
        {
            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 lhsFormTypeCd;
            lhsFormTypeCd = this.getFormTypeCd();
            String rhsFormTypeCd;
            rhsFormTypeCd = that.getFormTypeCd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "formTypeCd", lhsFormTypeCd), LocatorUtils.property(thatLocator, "formTypeCd", rhsFormTypeCd), lhsFormTypeCd, rhsFormTypeCd, (this.formTypeCd!= null), (that.formTypeCd!= null))) {
                return false;
            }
        }
        {
            Form8809DetailType lhsForm8809Detail;
            lhsForm8809Detail = this.getForm8809Detail();
            Form8809DetailType rhsForm8809Detail;
            rhsForm8809Detail = that.getForm8809Detail();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "form8809Detail", lhsForm8809Detail), LocatorUtils.property(thatLocator, "form8809Detail", rhsForm8809Detail), lhsForm8809Detail, rhsForm8809Detail, (this.form8809Detail!= null), (that.form8809Detail!= null))) {
                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.