Tree
+- root: IRSubmission2GrpType
| +- irSubmission2Header: 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
IRSubmission2GrpType.irSubmission2Header.submissionId
IRSubmission2GrpType.irSubmission2Header.taxYr
IRSubmission2GrpType.irSubmission2Header.formTypeCd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.foreignEntityInd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.tin
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.tinSubmittedTypeCd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.personNameControlTxt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.personName.personFirstNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.personName.personMiddleNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.personName.personLastNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.personName.suffixNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.businessNameControlTxt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.businessName.businessNameLine1Txt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.businessName.businessNameLine2Txt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.addressLine1Txt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.addressLine2Txt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.cityNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.stateAbbreviationCd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.usAddress.zipCd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.addressLine1Txt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.addressLine2Txt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.cityNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.provinceOrStateNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.countryCd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.mailingAddressGrp.foreignAddress.foreignPostalCd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.issuerDetail.phoneNum
IRSubmission2GrpType.irSubmission2Header.form8809Detail.contactPersonInformationGrp.contactPersonNm
IRSubmission2GrpType.irSubmission2Header.form8809Detail.contactPersonInformationGrp.contactPhoneNum
IRSubmission2GrpType.irSubmission2Header.form8809Detail.contactPersonInformationGrp.contactEmailAddressTxt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.contactPersonInformationGrp.contactFaxNum
IRSubmission2GrpType.irSubmission2Header.form8809Detail.irElectronicSubmissionInd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.irPaperSubmissionInd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.applicableFormTypeCd-1
IRSubmission2GrpType.irSubmission2Header.form8809Detail.juratSignatureGrp.signatureIntentInd
IRSubmission2GrpType.irSubmission2Header.form8809Detail.juratSignatureGrp.juratSignaturePIN
IRSubmission2GrpType.irSubmission2Header.form8809Detail.juratSignatureGrp.signatureDt
IRSubmission2GrpType.irSubmission2Header.form8809Detail.juratSignatureGrp.juratPersonTitleTxt
IRSubmission2GrpType.irSubmission2Header.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>Information Return (IR) Submission 2 Group Type</DictionaryEntryNm><MajorVersionNum>1</MajorVersionNum><MinorVersionNum>0</MinorVersionNum><VersionEffectiveBeginDt>2015-10-27</VersionEffectiveBeginDt><VersionDescriptionTxt>Initial version</VersionDescriptionTxt><DescriptionTxt>A group that wraps the data related to a (IR) information return submission 2</DescriptionTxt></Component>
* </pre>
*
*
* <p>Java class for IRSubmission2GrpType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="IRSubmission2GrpType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="IRSubmission2Header" type="{urn:us:gov:treasury:irs:ir}IRSubmission2HeaderType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IRSubmission2GrpType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
"irSubmission2Header"
})
public class IRSubmission2GrpType implements Equals2, ToString2
{
@XmlElement(name = "IRSubmission2Header", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected IRSubmission2HeaderType irSubmission2Header;
/**
* Gets the value of the irSubmission2Header property.
*
* @return
* possible object is
* {@link IRSubmission2HeaderType }
*
*/
public IRSubmission2HeaderType getIRSubmission2Header() {
return irSubmission2Header;
}
/**
* Sets the value of the irSubmission2Header property.
*
* @param value
* allowed object is
* {@link IRSubmission2HeaderType }
*
*/
public void setIRSubmission2Header(IRSubmission2HeaderType value) {
this.irSubmission2Header = 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) {
{
IRSubmission2HeaderType theIRSubmission2Header;
theIRSubmission2Header = this.getIRSubmission2Header();
strategy.appendField(locator, this, "irSubmission2Header", buffer, theIRSubmission2Header, (this.irSubmission2Header!= 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 IRSubmission2GrpType that = ((IRSubmission2GrpType) object);
{
IRSubmission2HeaderType lhsIRSubmission2Header;
lhsIRSubmission2Header = this.getIRSubmission2Header();
IRSubmission2HeaderType rhsIRSubmission2Header;
rhsIRSubmission2Header = that.getIRSubmission2Header();
if (!strategy.equals(LocatorUtils.property(thisLocator, "irSubmission2Header", lhsIRSubmission2Header), LocatorUtils.property(thatLocator, "irSubmission2Header", rhsIRSubmission2Header), lhsIRSubmission2Header, rhsIRSubmission2Header, (this.irSubmission2Header!= null), (that.irSubmission2Header!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
}