IRIS TransmitterGrpType

IRIS > IRIS XML

Under Development
as of April 11, 2023

Tree


+- root: TransmitterGrpType
|  +- tin: String
|  +- tinSubmittedTypeCd: TINSubmittedTypeCdType
|  +- transmitterControlCd: String
|  +- foreignEntityInd: String
|  +- personNm: String
|  +- businessName: BusinessNameType
|  |  +- businessNameLine1Txt: String
|  |  +- businessNameLine2Txt: String
|  +- companyGrp: CompanyGrpType
|  |  +- 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
|  +- contactNameGrp: ContactNameGrpType
|  |  +- personNm: String
|  |  +- personFirstNm: String
|  |  +- personMiddleNm: String
|  |  +- personLastNm: String
|  |  +- suffixNm: String
|  +- contactEmailAddressTxt: String
|  +- contactPhoneNum: String


Flattened

TransmitterGrpType.tin
TransmitterGrpType.tinSubmittedTypeCd
TransmitterGrpType.transmitterControlCd
TransmitterGrpType.foreignEntityInd
TransmitterGrpType.personNm
TransmitterGrpType.businessName.businessNameLine1Txt
TransmitterGrpType.businessName.businessNameLine2Txt
TransmitterGrpType.companyGrp.businessName.businessNameLine1Txt
TransmitterGrpType.companyGrp.businessName.businessNameLine2Txt
TransmitterGrpType.companyGrp.mailingAddressGrp.usAddress.addressLine1Txt
TransmitterGrpType.companyGrp.mailingAddressGrp.usAddress.addressLine2Txt
TransmitterGrpType.companyGrp.mailingAddressGrp.usAddress.cityNm
TransmitterGrpType.companyGrp.mailingAddressGrp.usAddress.stateAbbreviationCd
TransmitterGrpType.companyGrp.mailingAddressGrp.usAddress.zipCd
TransmitterGrpType.companyGrp.mailingAddressGrp.foreignAddress.addressLine1Txt
TransmitterGrpType.companyGrp.mailingAddressGrp.foreignAddress.addressLine2Txt
TransmitterGrpType.companyGrp.mailingAddressGrp.foreignAddress.cityNm
TransmitterGrpType.companyGrp.mailingAddressGrp.foreignAddress.provinceOrStateNm
TransmitterGrpType.companyGrp.mailingAddressGrp.foreignAddress.countryCd
TransmitterGrpType.companyGrp.mailingAddressGrp.foreignAddress.foreignPostalCd
TransmitterGrpType.contactNameGrp.personNm
TransmitterGrpType.contactNameGrp.personFirstNm
TransmitterGrpType.contactNameGrp.personMiddleNm
TransmitterGrpType.contactNameGrp.personLastNm
TransmitterGrpType.contactNameGrp.suffixNm
TransmitterGrpType.contactEmailAddressTxt
TransmitterGrpType.contactPhoneNum

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"?><Component xmlns="urn:us:gov:treasury:irs:ir" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DictionaryEntryNm>Transmitter Group Type</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>0</MinorVersionNum><VersionEffectiveBeginDt>2021-06-22</VersionEffectiveBeginDt><VersionDescriptionTxt>Initial version</VersionDescriptionTxt><DescriptionTxt>Global type for the transmitter information</DescriptionTxt></Component>
 * </pre>
 * 
 * 
 * <p>Java class for TransmitterGrpType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * <complexType name="TransmitterGrpType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TIN" type="{urn:us:gov:treasury:irs:ir}TINType"/>
 *         <element name="TINSubmittedTypeCd" type="{urn:us:gov:treasury:irs:ir}TINSubmittedTypeCdType"/>
 *         <element name="TransmitterControlCd" type="{urn:us:gov:treasury:irs:ir}TCCType"/>
 *         <element name="ForeignEntityInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
 *         <choice>
 *           <element name="PersonNm" type="{urn:us:gov:treasury:irs:ir}PersonNameType"/>
 *           <element name="BusinessName" type="{urn:us:gov:treasury:irs:ir}BusinessNameType"/>
 *         </choice>
 *         <element name="CompanyGrp" type="{urn:us:gov:treasury:irs:ir}CompanyGrpType"/>
 *         <element name="ContactNameGrp" type="{urn:us:gov:treasury:irs:ir}ContactNameGrpType"/>
 *         <element name="ContactEmailAddressTxt" type="{urn:us:gov:treasury:irs:ir}EmailAddressType" minOccurs="0"/>
 *         <element name="ContactPhoneNum" type="{urn:us:gov:treasury:irs:ir}ContactPhoneNumberType"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransmitterGrpType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
    "tin",
    "tinSubmittedTypeCd",
    "transmitterControlCd",
    "foreignEntityInd",
    "personNm",
    "businessName",
    "companyGrp",
    "contactNameGrp",
    "contactEmailAddressTxt",
    "contactPhoneNum"
})
public class TransmitterGrpType implements Equals2, ToString2
{

    @XmlElement(name = "TIN", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String tin;
    @XmlElement(name = "TINSubmittedTypeCd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    @XmlSchemaType(name = "string")
    protected TINSubmittedTypeCdType tinSubmittedTypeCd;
    @XmlElement(name = "TransmitterControlCd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String transmitterControlCd;
    @XmlElement(name = "ForeignEntityInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String foreignEntityInd;
    @XmlElement(name = "PersonNm", namespace = "urn:us:gov:treasury:irs:ir")
    protected String personNm;
    @XmlElement(name = "BusinessName", namespace = "urn:us:gov:treasury:irs:ir")
    protected BusinessNameType businessName;
    @XmlElement(name = "CompanyGrp", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected CompanyGrpType companyGrp;
    @XmlElement(name = "ContactNameGrp", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected ContactNameGrpType contactNameGrp;
    @XmlElement(name = "ContactEmailAddressTxt", namespace = "urn:us:gov:treasury:irs:ir")
    protected String contactEmailAddressTxt;
    @XmlElement(name = "ContactPhoneNum", namespace = "urn:us:gov:treasury:irs:ir", required = true)
    protected String contactPhoneNum;

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

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

    /**
     * Gets the value of the tinSubmittedTypeCd property.
     * 
     * @return
     *     possible object is
     *     {@link TINSubmittedTypeCdType }
     *     
     */
    public TINSubmittedTypeCdType getTINSubmittedTypeCd() {
        return tinSubmittedTypeCd;
    }

    /**
     * Sets the value of the tinSubmittedTypeCd property.
     * 
     * @param value
     *     allowed object is
     *     {@link TINSubmittedTypeCdType }
     *     
     */
    public void setTINSubmittedTypeCd(TINSubmittedTypeCdType value) {
        this.tinSubmittedTypeCd = value;
    }

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

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

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

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

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

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

    /**
     * Gets the value of the businessName property.
     * 
     * @return
     *     possible object is
     *     {@link BusinessNameType }
     *     
     */
    public BusinessNameType getBusinessName() {
        return businessName;
    }

    /**
     * Sets the value of the businessName property.
     * 
     * @param value
     *     allowed object is
     *     {@link BusinessNameType }
     *     
     */
    public void setBusinessName(BusinessNameType value) {
        this.businessName = value;
    }

    /**
     * Gets the value of the companyGrp property.
     * 
     * @return
     *     possible object is
     *     {@link CompanyGrpType }
     *     
     */
    public CompanyGrpType getCompanyGrp() {
        return companyGrp;
    }

    /**
     * Sets the value of the companyGrp property.
     * 
     * @param value
     *     allowed object is
     *     {@link CompanyGrpType }
     *     
     */
    public void setCompanyGrp(CompanyGrpType value) {
        this.companyGrp = value;
    }

    /**
     * Gets the value of the contactNameGrp property.
     * 
     * @return
     *     possible object is
     *     {@link ContactNameGrpType }
     *     
     */
    public ContactNameGrpType getContactNameGrp() {
        return contactNameGrp;
    }

    /**
     * Sets the value of the contactNameGrp property.
     * 
     * @param value
     *     allowed object is
     *     {@link ContactNameGrpType }
     *     
     */
    public void setContactNameGrp(ContactNameGrpType value) {
        this.contactNameGrp = value;
    }

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

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

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

    /**
     * Sets the value of the contactPhoneNum property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setContactPhoneNum(String value) {
        this.contactPhoneNum = 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 theTIN;
            theTIN = this.getTIN();
            strategy.appendField(locator, this, "tin", buffer, theTIN, (this.tin!= null));
        }
        {
            TINSubmittedTypeCdType theTINSubmittedTypeCd;
            theTINSubmittedTypeCd = this.getTINSubmittedTypeCd();
            strategy.appendField(locator, this, "tinSubmittedTypeCd", buffer, theTINSubmittedTypeCd, (this.tinSubmittedTypeCd!= null));
        }
        {
            String theTransmitterControlCd;
            theTransmitterControlCd = this.getTransmitterControlCd();
            strategy.appendField(locator, this, "transmitterControlCd", buffer, theTransmitterControlCd, (this.transmitterControlCd!= null));
        }
        {
            String theForeignEntityInd;
            theForeignEntityInd = this.getForeignEntityInd();
            strategy.appendField(locator, this, "foreignEntityInd", buffer, theForeignEntityInd, (this.foreignEntityInd!= null));
        }
        {
            String thePersonNm;
            thePersonNm = this.getPersonNm();
            strategy.appendField(locator, this, "personNm", buffer, thePersonNm, (this.personNm!= null));
        }
        {
            BusinessNameType theBusinessName;
            theBusinessName = this.getBusinessName();
            strategy.appendField(locator, this, "businessName", buffer, theBusinessName, (this.businessName!= null));
        }
        {
            CompanyGrpType theCompanyGrp;
            theCompanyGrp = this.getCompanyGrp();
            strategy.appendField(locator, this, "companyGrp", buffer, theCompanyGrp, (this.companyGrp!= null));
        }
        {
            ContactNameGrpType theContactNameGrp;
            theContactNameGrp = this.getContactNameGrp();
            strategy.appendField(locator, this, "contactNameGrp", buffer, theContactNameGrp, (this.contactNameGrp!= null));
        }
        {
            String theContactEmailAddressTxt;
            theContactEmailAddressTxt = this.getContactEmailAddressTxt();
            strategy.appendField(locator, this, "contactEmailAddressTxt", buffer, theContactEmailAddressTxt, (this.contactEmailAddressTxt!= null));
        }
        {
            String theContactPhoneNum;
            theContactPhoneNum = this.getContactPhoneNum();
            strategy.appendField(locator, this, "contactPhoneNum", buffer, theContactPhoneNum, (this.contactPhoneNum!= 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 TransmitterGrpType that = ((TransmitterGrpType) object);
        {
            String lhsTIN;
            lhsTIN = this.getTIN();
            String rhsTIN;
            rhsTIN = that.getTIN();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "tin", lhsTIN), LocatorUtils.property(thatLocator, "tin", rhsTIN), lhsTIN, rhsTIN, (this.tin!= null), (that.tin!= null))) {
                return false;
            }
        }
        {
            TINSubmittedTypeCdType lhsTINSubmittedTypeCd;
            lhsTINSubmittedTypeCd = this.getTINSubmittedTypeCd();
            TINSubmittedTypeCdType rhsTINSubmittedTypeCd;
            rhsTINSubmittedTypeCd = that.getTINSubmittedTypeCd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "tinSubmittedTypeCd", lhsTINSubmittedTypeCd), LocatorUtils.property(thatLocator, "tinSubmittedTypeCd", rhsTINSubmittedTypeCd), lhsTINSubmittedTypeCd, rhsTINSubmittedTypeCd, (this.tinSubmittedTypeCd!= null), (that.tinSubmittedTypeCd!= null))) {
                return false;
            }
        }
        {
            String lhsTransmitterControlCd;
            lhsTransmitterControlCd = this.getTransmitterControlCd();
            String rhsTransmitterControlCd;
            rhsTransmitterControlCd = that.getTransmitterControlCd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "transmitterControlCd", lhsTransmitterControlCd), LocatorUtils.property(thatLocator, "transmitterControlCd", rhsTransmitterControlCd), lhsTransmitterControlCd, rhsTransmitterControlCd, (this.transmitterControlCd!= null), (that.transmitterControlCd!= null))) {
                return false;
            }
        }
        {
            String lhsForeignEntityInd;
            lhsForeignEntityInd = this.getForeignEntityInd();
            String rhsForeignEntityInd;
            rhsForeignEntityInd = that.getForeignEntityInd();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "foreignEntityInd", lhsForeignEntityInd), LocatorUtils.property(thatLocator, "foreignEntityInd", rhsForeignEntityInd), lhsForeignEntityInd, rhsForeignEntityInd, (this.foreignEntityInd!= null), (that.foreignEntityInd!= null))) {
                return false;
            }
        }
        {
            String lhsPersonNm;
            lhsPersonNm = this.getPersonNm();
            String rhsPersonNm;
            rhsPersonNm = that.getPersonNm();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "personNm", lhsPersonNm), LocatorUtils.property(thatLocator, "personNm", rhsPersonNm), lhsPersonNm, rhsPersonNm, (this.personNm!= null), (that.personNm!= null))) {
                return false;
            }
        }
        {
            BusinessNameType lhsBusinessName;
            lhsBusinessName = this.getBusinessName();
            BusinessNameType rhsBusinessName;
            rhsBusinessName = that.getBusinessName();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "businessName", lhsBusinessName), LocatorUtils.property(thatLocator, "businessName", rhsBusinessName), lhsBusinessName, rhsBusinessName, (this.businessName!= null), (that.businessName!= null))) {
                return false;
            }
        }
        {
            CompanyGrpType lhsCompanyGrp;
            lhsCompanyGrp = this.getCompanyGrp();
            CompanyGrpType rhsCompanyGrp;
            rhsCompanyGrp = that.getCompanyGrp();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "companyGrp", lhsCompanyGrp), LocatorUtils.property(thatLocator, "companyGrp", rhsCompanyGrp), lhsCompanyGrp, rhsCompanyGrp, (this.companyGrp!= null), (that.companyGrp!= null))) {
                return false;
            }
        }
        {
            ContactNameGrpType lhsContactNameGrp;
            lhsContactNameGrp = this.getContactNameGrp();
            ContactNameGrpType rhsContactNameGrp;
            rhsContactNameGrp = that.getContactNameGrp();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "contactNameGrp", lhsContactNameGrp), LocatorUtils.property(thatLocator, "contactNameGrp", rhsContactNameGrp), lhsContactNameGrp, rhsContactNameGrp, (this.contactNameGrp!= null), (that.contactNameGrp!= null))) {
                return false;
            }
        }
        {
            String lhsContactEmailAddressTxt;
            lhsContactEmailAddressTxt = this.getContactEmailAddressTxt();
            String rhsContactEmailAddressTxt;
            rhsContactEmailAddressTxt = that.getContactEmailAddressTxt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "contactEmailAddressTxt", lhsContactEmailAddressTxt), LocatorUtils.property(thatLocator, "contactEmailAddressTxt", rhsContactEmailAddressTxt), lhsContactEmailAddressTxt, rhsContactEmailAddressTxt, (this.contactEmailAddressTxt!= null), (that.contactEmailAddressTxt!= null))) {
                return false;
            }
        }
        {
            String lhsContactPhoneNum;
            lhsContactPhoneNum = this.getContactPhoneNum();
            String rhsContactPhoneNum;
            rhsContactPhoneNum = that.getContactPhoneNum();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "contactPhoneNum", lhsContactPhoneNum), LocatorUtils.property(thatLocator, "contactPhoneNum", rhsContactPhoneNum), lhsContactPhoneNum, rhsContactPhoneNum, (this.contactPhoneNum!= null), (that.contactPhoneNum!= 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.