Tree
+- root: 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
Form8809DetailType.issuerDetail.foreignEntityInd
Form8809DetailType.issuerDetail.tin
Form8809DetailType.issuerDetail.tinSubmittedTypeCd
Form8809DetailType.issuerDetail.personNameControlTxt
Form8809DetailType.issuerDetail.personName.personFirstNm
Form8809DetailType.issuerDetail.personName.personMiddleNm
Form8809DetailType.issuerDetail.personName.personLastNm
Form8809DetailType.issuerDetail.personName.suffixNm
Form8809DetailType.issuerDetail.businessNameControlTxt
Form8809DetailType.issuerDetail.businessName.businessNameLine1Txt
Form8809DetailType.issuerDetail.businessName.businessNameLine2Txt
Form8809DetailType.issuerDetail.mailingAddressGrp.usAddress.addressLine1Txt
Form8809DetailType.issuerDetail.mailingAddressGrp.usAddress.addressLine2Txt
Form8809DetailType.issuerDetail.mailingAddressGrp.usAddress.cityNm
Form8809DetailType.issuerDetail.mailingAddressGrp.usAddress.stateAbbreviationCd
Form8809DetailType.issuerDetail.mailingAddressGrp.usAddress.zipCd
Form8809DetailType.issuerDetail.mailingAddressGrp.foreignAddress.addressLine1Txt
Form8809DetailType.issuerDetail.mailingAddressGrp.foreignAddress.addressLine2Txt
Form8809DetailType.issuerDetail.mailingAddressGrp.foreignAddress.cityNm
Form8809DetailType.issuerDetail.mailingAddressGrp.foreignAddress.provinceOrStateNm
Form8809DetailType.issuerDetail.mailingAddressGrp.foreignAddress.countryCd
Form8809DetailType.issuerDetail.mailingAddressGrp.foreignAddress.foreignPostalCd
Form8809DetailType.issuerDetail.phoneNum
Form8809DetailType.contactPersonInformationGrp.contactPersonNm
Form8809DetailType.contactPersonInformationGrp.contactPhoneNum
Form8809DetailType.contactPersonInformationGrp.contactEmailAddressTxt
Form8809DetailType.contactPersonInformationGrp.contactFaxNum
Form8809DetailType.irElectronicSubmissionInd
Form8809DetailType.irPaperSubmissionInd
Form8809DetailType.applicableFormTypeCd-1
Form8809DetailType.juratSignatureGrp.signatureIntentInd
Form8809DetailType.juratSignatureGrp.juratSignaturePIN
Form8809DetailType.juratSignatureGrp.signatureDt
Form8809DetailType.juratSignatureGrp.juratPersonTitleTxt
Form8809DetailType.juratSignatureGrp.personNm
Java Code
package modelsiris;
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.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 8809 A 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 8809 A.</DescriptionTxt></Component>
* </pre>
*
*
* <p>Java class for Form8809DetailType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Form8809DetailType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="IssuerDetail" type="{urn:us:gov:treasury:irs:ir}IssuerDetailType"/>
* <element name="ContactPersonInformationGrp" type="{urn:us:gov:treasury:irs:ir}ContactPersonInformationGrpType" minOccurs="0"/>
* <element name="IRElectronicSubmissionInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="IRPaperSubmissionInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="ApplicableFormTypeCd" maxOccurs="12">
* <simpleType>
* <restriction base="{urn:us:gov:treasury:irs:ir}TextType">
* <enumeration value="1099"/>
* <enumeration value="1099QA"/>
* </restriction>
* </simpleType>
* </element>
* <element name="JuratSignatureGrp" type="{urn:us:gov:treasury:irs:ir}JuratSignatureGrpType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Form8809DetailType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
"issuerDetail",
"contactPersonInformationGrp",
"irElectronicSubmissionInd",
"irPaperSubmissionInd",
"applicableFormTypeCd",
"juratSignatureGrp"
})
public class Form8809DetailType implements Equals2, ToString2
{
@XmlElement(name = "IssuerDetail", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected IssuerDetailType issuerDetail;
@XmlElement(name = "ContactPersonInformationGrp", namespace = "urn:us:gov:treasury:irs:ir")
protected ContactPersonInformationGrpType contactPersonInformationGrp;
@XmlElement(name = "IRElectronicSubmissionInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String irElectronicSubmissionInd;
@XmlElement(name = "IRPaperSubmissionInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String irPaperSubmissionInd;
@XmlElement(name = "ApplicableFormTypeCd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected List<String> applicableFormTypeCd;
@XmlElement(name = "JuratSignatureGrp", namespace = "urn:us:gov:treasury:irs:ir")
protected JuratSignatureGrpType juratSignatureGrp;
/**
* Gets the value of the issuerDetail property.
*
* @return
* possible object is
* {@link IssuerDetailType }
*
*/
public IssuerDetailType getIssuerDetail() {
return issuerDetail;
}
/**
* Sets the value of the issuerDetail property.
*
* @param value
* allowed object is
* {@link IssuerDetailType }
*
*/
public void setIssuerDetail(IssuerDetailType value) {
this.issuerDetail = value;
}
/**
* Gets the value of the contactPersonInformationGrp property.
*
* @return
* possible object is
* {@link ContactPersonInformationGrpType }
*
*/
public ContactPersonInformationGrpType getContactPersonInformationGrp() {
return contactPersonInformationGrp;
}
/**
* Sets the value of the contactPersonInformationGrp property.
*
* @param value
* allowed object is
* {@link ContactPersonInformationGrpType }
*
*/
public void setContactPersonInformationGrp(ContactPersonInformationGrpType value) {
this.contactPersonInformationGrp = value;
}
/**
* Gets the value of the irElectronicSubmissionInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIRElectronicSubmissionInd() {
return irElectronicSubmissionInd;
}
/**
* Sets the value of the irElectronicSubmissionInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIRElectronicSubmissionInd(String value) {
this.irElectronicSubmissionInd = value;
}
/**
* Gets the value of the irPaperSubmissionInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIRPaperSubmissionInd() {
return irPaperSubmissionInd;
}
/**
* Sets the value of the irPaperSubmissionInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIRPaperSubmissionInd(String value) {
this.irPaperSubmissionInd = value;
}
/**
* Gets the value of the applicableFormTypeCd 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 applicableFormTypeCd property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getApplicableFormTypeCd().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getApplicableFormTypeCd() {
if (applicableFormTypeCd == null) {
applicableFormTypeCd = new ArrayList<String>();
}
return this.applicableFormTypeCd;
}
/**
* Gets the value of the juratSignatureGrp property.
*
* @return
* possible object is
* {@link JuratSignatureGrpType }
*
*/
public JuratSignatureGrpType getJuratSignatureGrp() {
return juratSignatureGrp;
}
/**
* Sets the value of the juratSignatureGrp property.
*
* @param value
* allowed object is
* {@link JuratSignatureGrpType }
*
*/
public void setJuratSignatureGrp(JuratSignatureGrpType value) {
this.juratSignatureGrp = 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) {
{
IssuerDetailType theIssuerDetail;
theIssuerDetail = this.getIssuerDetail();
strategy.appendField(locator, this, "issuerDetail", buffer, theIssuerDetail, (this.issuerDetail!= null));
}
{
ContactPersonInformationGrpType theContactPersonInformationGrp;
theContactPersonInformationGrp = this.getContactPersonInformationGrp();
strategy.appendField(locator, this, "contactPersonInformationGrp", buffer, theContactPersonInformationGrp, (this.contactPersonInformationGrp!= null));
}
{
String theIRElectronicSubmissionInd;
theIRElectronicSubmissionInd = this.getIRElectronicSubmissionInd();
strategy.appendField(locator, this, "irElectronicSubmissionInd", buffer, theIRElectronicSubmissionInd, (this.irElectronicSubmissionInd!= null));
}
{
String theIRPaperSubmissionInd;
theIRPaperSubmissionInd = this.getIRPaperSubmissionInd();
strategy.appendField(locator, this, "irPaperSubmissionInd", buffer, theIRPaperSubmissionInd, (this.irPaperSubmissionInd!= null));
}
{
List<String> theApplicableFormTypeCd;
theApplicableFormTypeCd = (((this.applicableFormTypeCd!= null)&&(!this.applicableFormTypeCd.isEmpty()))?this.getApplicableFormTypeCd():null);
strategy.appendField(locator, this, "applicableFormTypeCd", buffer, theApplicableFormTypeCd, ((this.applicableFormTypeCd!= null)&&(!this.applicableFormTypeCd.isEmpty())));
}
{
JuratSignatureGrpType theJuratSignatureGrp;
theJuratSignatureGrp = this.getJuratSignatureGrp();
strategy.appendField(locator, this, "juratSignatureGrp", buffer, theJuratSignatureGrp, (this.juratSignatureGrp!= 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 Form8809DetailType that = ((Form8809DetailType) object);
{
IssuerDetailType lhsIssuerDetail;
lhsIssuerDetail = this.getIssuerDetail();
IssuerDetailType rhsIssuerDetail;
rhsIssuerDetail = that.getIssuerDetail();
if (!strategy.equals(LocatorUtils.property(thisLocator, "issuerDetail", lhsIssuerDetail), LocatorUtils.property(thatLocator, "issuerDetail", rhsIssuerDetail), lhsIssuerDetail, rhsIssuerDetail, (this.issuerDetail!= null), (that.issuerDetail!= null))) {
return false;
}
}
{
ContactPersonInformationGrpType lhsContactPersonInformationGrp;
lhsContactPersonInformationGrp = this.getContactPersonInformationGrp();
ContactPersonInformationGrpType rhsContactPersonInformationGrp;
rhsContactPersonInformationGrp = that.getContactPersonInformationGrp();
if (!strategy.equals(LocatorUtils.property(thisLocator, "contactPersonInformationGrp", lhsContactPersonInformationGrp), LocatorUtils.property(thatLocator, "contactPersonInformationGrp", rhsContactPersonInformationGrp), lhsContactPersonInformationGrp, rhsContactPersonInformationGrp, (this.contactPersonInformationGrp!= null), (that.contactPersonInformationGrp!= null))) {
return false;
}
}
{
String lhsIRElectronicSubmissionInd;
lhsIRElectronicSubmissionInd = this.getIRElectronicSubmissionInd();
String rhsIRElectronicSubmissionInd;
rhsIRElectronicSubmissionInd = that.getIRElectronicSubmissionInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "irElectronicSubmissionInd", lhsIRElectronicSubmissionInd), LocatorUtils.property(thatLocator, "irElectronicSubmissionInd", rhsIRElectronicSubmissionInd), lhsIRElectronicSubmissionInd, rhsIRElectronicSubmissionInd, (this.irElectronicSubmissionInd!= null), (that.irElectronicSubmissionInd!= null))) {
return false;
}
}
{
String lhsIRPaperSubmissionInd;
lhsIRPaperSubmissionInd = this.getIRPaperSubmissionInd();
String rhsIRPaperSubmissionInd;
rhsIRPaperSubmissionInd = that.getIRPaperSubmissionInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "irPaperSubmissionInd", lhsIRPaperSubmissionInd), LocatorUtils.property(thatLocator, "irPaperSubmissionInd", rhsIRPaperSubmissionInd), lhsIRPaperSubmissionInd, rhsIRPaperSubmissionInd, (this.irPaperSubmissionInd!= null), (that.irPaperSubmissionInd!= null))) {
return false;
}
}
{
List<String> lhsApplicableFormTypeCd;
lhsApplicableFormTypeCd = (((this.applicableFormTypeCd!= null)&&(!this.applicableFormTypeCd.isEmpty()))?this.getApplicableFormTypeCd():null);
List<String> rhsApplicableFormTypeCd;
rhsApplicableFormTypeCd = (((that.applicableFormTypeCd!= null)&&(!that.applicableFormTypeCd.isEmpty()))?that.getApplicableFormTypeCd():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "applicableFormTypeCd", lhsApplicableFormTypeCd), LocatorUtils.property(thatLocator, "applicableFormTypeCd", rhsApplicableFormTypeCd), lhsApplicableFormTypeCd, rhsApplicableFormTypeCd, ((this.applicableFormTypeCd!= null)&&(!this.applicableFormTypeCd.isEmpty())), ((that.applicableFormTypeCd!= null)&&(!that.applicableFormTypeCd.isEmpty())))) {
return false;
}
}
{
JuratSignatureGrpType lhsJuratSignatureGrp;
lhsJuratSignatureGrp = this.getJuratSignatureGrp();
JuratSignatureGrpType rhsJuratSignatureGrp;
rhsJuratSignatureGrp = that.getJuratSignatureGrp();
if (!strategy.equals(LocatorUtils.property(thisLocator, "juratSignatureGrp", lhsJuratSignatureGrp), LocatorUtils.property(thatLocator, "juratSignatureGrp", rhsJuratSignatureGrp), lhsJuratSignatureGrp, rhsJuratSignatureGrp, (this.juratSignatureGrp!= null), (that.juratSignatureGrp!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
}