Tree
+- root: Form1099LTCDetailType
| +- taxYr: String
| +- recordId: String
| +- issuerOfficeCd: String
| +- 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
| +- grossLTCBenefitPaidAmt: BigInteger
| +- acceleratedDeathBenefitPaidAmt: BigInteger
| +- perDiemInd: String
| +- reimbursedAmountInd: String
| +- insuredGrp: Form1099LTCDetailType.InsuredGrp
| +- qualifiedContractInd: String
| +- ltcInsuredChronicallyIllInd: String
| +- ltcInsuredTerminallyIllInd: String
| +- certifiedDt: XMLGregorianCalendar
| +- tin: String
| +- personName: OtherCompletePersonNameType
| | +- personFirstNm: String
| | +- personMiddleNm: String
| | +- personLastNm: String
| | +- suffixNm: 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
Flattened
Form1099LTCDetailType.taxYr
Form1099LTCDetailType.recordId
Form1099LTCDetailType.issuerOfficeCd
Form1099LTCDetailType.voidInd
Form1099LTCDetailType.correctedInd
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.uniqueRecordId
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.tin
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.personName.personFirstNm
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.personName.personMiddleNm
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.personName.personLastNm
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.personName.suffixNm
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.businessName.businessNameLine1Txt
Form1099LTCDetailType.prevSubmittedRecRecipientGrp.businessName.businessNameLine2Txt
Form1099LTCDetailType.recipientDetail.tin
Form1099LTCDetailType.recipientDetail.tinSubmittedTypeCd
Form1099LTCDetailType.recipientDetail.personNameControlTxt
Form1099LTCDetailType.recipientDetail.personName.personFirstNm
Form1099LTCDetailType.recipientDetail.personName.personMiddleNm
Form1099LTCDetailType.recipientDetail.personName.personLastNm
Form1099LTCDetailType.recipientDetail.personName.suffixNm
Form1099LTCDetailType.recipientDetail.businessNameControlTxt
Form1099LTCDetailType.recipientDetail.businessName.businessNameLine1Txt
Form1099LTCDetailType.recipientDetail.businessName.businessNameLine2Txt
Form1099LTCDetailType.recipientDetail.additionalRecipientTxt
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.usAddress.addressLine1Txt
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.usAddress.addressLine2Txt
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.usAddress.cityNm
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.usAddress.stateAbbreviationCd
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.usAddress.zipCd
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.foreignAddress.addressLine1Txt
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.foreignAddress.addressLine2Txt
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.foreignAddress.cityNm
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.foreignAddress.provinceOrStateNm
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.foreignAddress.countryCd
Form1099LTCDetailType.recipientDetail.mailingAddressGrp.foreignAddress.foreignPostalCd
Form1099LTCDetailType.recipientDetail.recipientAccountNum
Form1099LTCDetailType.grossLTCBenefitPaidAmt
Form1099LTCDetailType.acceleratedDeathBenefitPaidAmt
Form1099LTCDetailType.perDiemInd
Form1099LTCDetailType.reimbursedAmountInd
Form1099LTCDetailType.insuredGrp
Form1099LTCDetailType.qualifiedContractInd
Form1099LTCDetailType.ltcInsuredChronicallyIllInd
Form1099LTCDetailType.ltcInsuredTerminallyIllInd
Form1099LTCDetailType.certifiedDt
Form1099LTCDetailType.tin
Form1099LTCDetailType.personName.personFirstNm
Form1099LTCDetailType.personName.personMiddleNm
Form1099LTCDetailType.personName.personLastNm
Form1099LTCDetailType.personName.suffixNm
Form1099LTCDetailType.mailingAddressGrp.usAddress.addressLine1Txt
Form1099LTCDetailType.mailingAddressGrp.usAddress.addressLine2Txt
Form1099LTCDetailType.mailingAddressGrp.usAddress.cityNm
Form1099LTCDetailType.mailingAddressGrp.usAddress.stateAbbreviationCd
Form1099LTCDetailType.mailingAddressGrp.usAddress.zipCd
Form1099LTCDetailType.mailingAddressGrp.foreignAddress.addressLine1Txt
Form1099LTCDetailType.mailingAddressGrp.foreignAddress.addressLine2Txt
Form1099LTCDetailType.mailingAddressGrp.foreignAddress.cityNm
Form1099LTCDetailType.mailingAddressGrp.foreignAddress.provinceOrStateNm
Form1099LTCDetailType.mailingAddressGrp.foreignAddress.countryCd
Form1099LTCDetailType.mailingAddressGrp.foreignAddress.foreignPostalCd
Java Code
package modelsiris;
import java.math.BigInteger;
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 javax.xml.datatype.XMLGregorianCalendar;
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 LTC 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 LTC.</DescriptionTxt></Component>
* </pre>
*
*
* <p>Java class for Form1099LTCDetailType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Form1099LTCDetailType">
* <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="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="GrossLTCBenefitPaidAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
* <element name="AcceleratedDeathBenefitPaidAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
* <element name="PerDiemInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="ReimbursedAmountInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="InsuredGrp">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TIN" type="{urn:us:gov:treasury:irs:ir}TINType"/>
* <element name="PersonName" type="{urn:us:gov:treasury:irs:ir}OtherCompletePersonNameType"/>
* <element name="MailingAddressGrp" type="{urn:us:gov:treasury:irs:ir}AddressGrpType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="QualifiedContractInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="LTCInsuredChronicallyIllInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="LTCInsuredTerminallyIllInd" type="{urn:us:gov:treasury:irs:ir}DigitBooleanType"/>
* <element name="CertifiedDt" type="{urn:us:gov:treasury:irs:ir}DateType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Form1099LTCDetailType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
"taxYr",
"recordId",
"issuerOfficeCd",
"voidInd",
"correctedInd",
"prevSubmittedRecRecipientGrp",
"recipientDetail",
"grossLTCBenefitPaidAmt",
"acceleratedDeathBenefitPaidAmt",
"perDiemInd",
"reimbursedAmountInd",
"insuredGrp",
"qualifiedContractInd",
"ltcInsuredChronicallyIllInd",
"ltcInsuredTerminallyIllInd",
"certifiedDt"
})
public class Form1099LTCDetailType 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 = "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 = "GrossLTCBenefitPaidAmt", namespace = "urn:us:gov:treasury:irs:ir")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger grossLTCBenefitPaidAmt;
@XmlElement(name = "AcceleratedDeathBenefitPaidAmt", namespace = "urn:us:gov:treasury:irs:ir")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger acceleratedDeathBenefitPaidAmt;
@XmlElement(name = "PerDiemInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String perDiemInd;
@XmlElement(name = "ReimbursedAmountInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String reimbursedAmountInd;
@XmlElement(name = "InsuredGrp", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected Form1099LTCDetailType.InsuredGrp insuredGrp;
@XmlElement(name = "QualifiedContractInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String qualifiedContractInd;
@XmlElement(name = "LTCInsuredChronicallyIllInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String ltcInsuredChronicallyIllInd;
@XmlElement(name = "LTCInsuredTerminallyIllInd", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String ltcInsuredTerminallyIllInd;
@XmlElement(name = "CertifiedDt", namespace = "urn:us:gov:treasury:irs:ir", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar certifiedDt;
/**
* 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 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 grossLTCBenefitPaidAmt property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getGrossLTCBenefitPaidAmt() {
return grossLTCBenefitPaidAmt;
}
/**
* Sets the value of the grossLTCBenefitPaidAmt property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setGrossLTCBenefitPaidAmt(BigInteger value) {
this.grossLTCBenefitPaidAmt = value;
}
/**
* Gets the value of the acceleratedDeathBenefitPaidAmt property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getAcceleratedDeathBenefitPaidAmt() {
return acceleratedDeathBenefitPaidAmt;
}
/**
* Sets the value of the acceleratedDeathBenefitPaidAmt property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setAcceleratedDeathBenefitPaidAmt(BigInteger value) {
this.acceleratedDeathBenefitPaidAmt = value;
}
/**
* Gets the value of the perDiemInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPerDiemInd() {
return perDiemInd;
}
/**
* Sets the value of the perDiemInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPerDiemInd(String value) {
this.perDiemInd = value;
}
/**
* Gets the value of the reimbursedAmountInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReimbursedAmountInd() {
return reimbursedAmountInd;
}
/**
* Sets the value of the reimbursedAmountInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReimbursedAmountInd(String value) {
this.reimbursedAmountInd = value;
}
/**
* Gets the value of the insuredGrp property.
*
* @return
* possible object is
* {@link Form1099LTCDetailType.InsuredGrp }
*
*/
public Form1099LTCDetailType.InsuredGrp getInsuredGrp() {
return insuredGrp;
}
/**
* Sets the value of the insuredGrp property.
*
* @param value
* allowed object is
* {@link Form1099LTCDetailType.InsuredGrp }
*
*/
public void setInsuredGrp(Form1099LTCDetailType.InsuredGrp value) {
this.insuredGrp = value;
}
/**
* Gets the value of the qualifiedContractInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getQualifiedContractInd() {
return qualifiedContractInd;
}
/**
* Sets the value of the qualifiedContractInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setQualifiedContractInd(String value) {
this.qualifiedContractInd = value;
}
/**
* Gets the value of the ltcInsuredChronicallyIllInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLTCInsuredChronicallyIllInd() {
return ltcInsuredChronicallyIllInd;
}
/**
* Sets the value of the ltcInsuredChronicallyIllInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLTCInsuredChronicallyIllInd(String value) {
this.ltcInsuredChronicallyIllInd = value;
}
/**
* Gets the value of the ltcInsuredTerminallyIllInd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLTCInsuredTerminallyIllInd() {
return ltcInsuredTerminallyIllInd;
}
/**
* Sets the value of the ltcInsuredTerminallyIllInd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLTCInsuredTerminallyIllInd(String value) {
this.ltcInsuredTerminallyIllInd = value;
}
/**
* Gets the value of the certifiedDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCertifiedDt() {
return certifiedDt;
}
/**
* Sets the value of the certifiedDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCertifiedDt(XMLGregorianCalendar value) {
this.certifiedDt = 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 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));
}
{
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));
}
{
BigInteger theGrossLTCBenefitPaidAmt;
theGrossLTCBenefitPaidAmt = this.getGrossLTCBenefitPaidAmt();
strategy.appendField(locator, this, "grossLTCBenefitPaidAmt", buffer, theGrossLTCBenefitPaidAmt, (this.grossLTCBenefitPaidAmt!= null));
}
{
BigInteger theAcceleratedDeathBenefitPaidAmt;
theAcceleratedDeathBenefitPaidAmt = this.getAcceleratedDeathBenefitPaidAmt();
strategy.appendField(locator, this, "acceleratedDeathBenefitPaidAmt", buffer, theAcceleratedDeathBenefitPaidAmt, (this.acceleratedDeathBenefitPaidAmt!= null));
}
{
String thePerDiemInd;
thePerDiemInd = this.getPerDiemInd();
strategy.appendField(locator, this, "perDiemInd", buffer, thePerDiemInd, (this.perDiemInd!= null));
}
{
String theReimbursedAmountInd;
theReimbursedAmountInd = this.getReimbursedAmountInd();
strategy.appendField(locator, this, "reimbursedAmountInd", buffer, theReimbursedAmountInd, (this.reimbursedAmountInd!= null));
}
{
Form1099LTCDetailType.InsuredGrp theInsuredGrp;
theInsuredGrp = this.getInsuredGrp();
strategy.appendField(locator, this, "insuredGrp", buffer, theInsuredGrp, (this.insuredGrp!= null));
}
{
String theQualifiedContractInd;
theQualifiedContractInd = this.getQualifiedContractInd();
strategy.appendField(locator, this, "qualifiedContractInd", buffer, theQualifiedContractInd, (this.qualifiedContractInd!= null));
}
{
String theLTCInsuredChronicallyIllInd;
theLTCInsuredChronicallyIllInd = this.getLTCInsuredChronicallyIllInd();
strategy.appendField(locator, this, "ltcInsuredChronicallyIllInd", buffer, theLTCInsuredChronicallyIllInd, (this.ltcInsuredChronicallyIllInd!= null));
}
{
String theLTCInsuredTerminallyIllInd;
theLTCInsuredTerminallyIllInd = this.getLTCInsuredTerminallyIllInd();
strategy.appendField(locator, this, "ltcInsuredTerminallyIllInd", buffer, theLTCInsuredTerminallyIllInd, (this.ltcInsuredTerminallyIllInd!= null));
}
{
XMLGregorianCalendar theCertifiedDt;
theCertifiedDt = this.getCertifiedDt();
strategy.appendField(locator, this, "certifiedDt", buffer, theCertifiedDt, (this.certifiedDt!= 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 Form1099LTCDetailType that = ((Form1099LTCDetailType) 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;
}
}
{
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;
}
}
{
BigInteger lhsGrossLTCBenefitPaidAmt;
lhsGrossLTCBenefitPaidAmt = this.getGrossLTCBenefitPaidAmt();
BigInteger rhsGrossLTCBenefitPaidAmt;
rhsGrossLTCBenefitPaidAmt = that.getGrossLTCBenefitPaidAmt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "grossLTCBenefitPaidAmt", lhsGrossLTCBenefitPaidAmt), LocatorUtils.property(thatLocator, "grossLTCBenefitPaidAmt", rhsGrossLTCBenefitPaidAmt), lhsGrossLTCBenefitPaidAmt, rhsGrossLTCBenefitPaidAmt, (this.grossLTCBenefitPaidAmt!= null), (that.grossLTCBenefitPaidAmt!= null))) {
return false;
}
}
{
BigInteger lhsAcceleratedDeathBenefitPaidAmt;
lhsAcceleratedDeathBenefitPaidAmt = this.getAcceleratedDeathBenefitPaidAmt();
BigInteger rhsAcceleratedDeathBenefitPaidAmt;
rhsAcceleratedDeathBenefitPaidAmt = that.getAcceleratedDeathBenefitPaidAmt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "acceleratedDeathBenefitPaidAmt", lhsAcceleratedDeathBenefitPaidAmt), LocatorUtils.property(thatLocator, "acceleratedDeathBenefitPaidAmt", rhsAcceleratedDeathBenefitPaidAmt), lhsAcceleratedDeathBenefitPaidAmt, rhsAcceleratedDeathBenefitPaidAmt, (this.acceleratedDeathBenefitPaidAmt!= null), (that.acceleratedDeathBenefitPaidAmt!= null))) {
return false;
}
}
{
String lhsPerDiemInd;
lhsPerDiemInd = this.getPerDiemInd();
String rhsPerDiemInd;
rhsPerDiemInd = that.getPerDiemInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "perDiemInd", lhsPerDiemInd), LocatorUtils.property(thatLocator, "perDiemInd", rhsPerDiemInd), lhsPerDiemInd, rhsPerDiemInd, (this.perDiemInd!= null), (that.perDiemInd!= null))) {
return false;
}
}
{
String lhsReimbursedAmountInd;
lhsReimbursedAmountInd = this.getReimbursedAmountInd();
String rhsReimbursedAmountInd;
rhsReimbursedAmountInd = that.getReimbursedAmountInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "reimbursedAmountInd", lhsReimbursedAmountInd), LocatorUtils.property(thatLocator, "reimbursedAmountInd", rhsReimbursedAmountInd), lhsReimbursedAmountInd, rhsReimbursedAmountInd, (this.reimbursedAmountInd!= null), (that.reimbursedAmountInd!= null))) {
return false;
}
}
{
Form1099LTCDetailType.InsuredGrp lhsInsuredGrp;
lhsInsuredGrp = this.getInsuredGrp();
Form1099LTCDetailType.InsuredGrp rhsInsuredGrp;
rhsInsuredGrp = that.getInsuredGrp();
if (!strategy.equals(LocatorUtils.property(thisLocator, "insuredGrp", lhsInsuredGrp), LocatorUtils.property(thatLocator, "insuredGrp", rhsInsuredGrp), lhsInsuredGrp, rhsInsuredGrp, (this.insuredGrp!= null), (that.insuredGrp!= null))) {
return false;
}
}
{
String lhsQualifiedContractInd;
lhsQualifiedContractInd = this.getQualifiedContractInd();
String rhsQualifiedContractInd;
rhsQualifiedContractInd = that.getQualifiedContractInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "qualifiedContractInd", lhsQualifiedContractInd), LocatorUtils.property(thatLocator, "qualifiedContractInd", rhsQualifiedContractInd), lhsQualifiedContractInd, rhsQualifiedContractInd, (this.qualifiedContractInd!= null), (that.qualifiedContractInd!= null))) {
return false;
}
}
{
String lhsLTCInsuredChronicallyIllInd;
lhsLTCInsuredChronicallyIllInd = this.getLTCInsuredChronicallyIllInd();
String rhsLTCInsuredChronicallyIllInd;
rhsLTCInsuredChronicallyIllInd = that.getLTCInsuredChronicallyIllInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ltcInsuredChronicallyIllInd", lhsLTCInsuredChronicallyIllInd), LocatorUtils.property(thatLocator, "ltcInsuredChronicallyIllInd", rhsLTCInsuredChronicallyIllInd), lhsLTCInsuredChronicallyIllInd, rhsLTCInsuredChronicallyIllInd, (this.ltcInsuredChronicallyIllInd!= null), (that.ltcInsuredChronicallyIllInd!= null))) {
return false;
}
}
{
String lhsLTCInsuredTerminallyIllInd;
lhsLTCInsuredTerminallyIllInd = this.getLTCInsuredTerminallyIllInd();
String rhsLTCInsuredTerminallyIllInd;
rhsLTCInsuredTerminallyIllInd = that.getLTCInsuredTerminallyIllInd();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ltcInsuredTerminallyIllInd", lhsLTCInsuredTerminallyIllInd), LocatorUtils.property(thatLocator, "ltcInsuredTerminallyIllInd", rhsLTCInsuredTerminallyIllInd), lhsLTCInsuredTerminallyIllInd, rhsLTCInsuredTerminallyIllInd, (this.ltcInsuredTerminallyIllInd!= null), (that.ltcInsuredTerminallyIllInd!= null))) {
return false;
}
}
{
XMLGregorianCalendar lhsCertifiedDt;
lhsCertifiedDt = this.getCertifiedDt();
XMLGregorianCalendar rhsCertifiedDt;
rhsCertifiedDt = that.getCertifiedDt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "certifiedDt", lhsCertifiedDt), LocatorUtils.property(thatLocator, "certifiedDt", rhsCertifiedDt), lhsCertifiedDt, rhsCertifiedDt, (this.certifiedDt!= null), (that.certifiedDt!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TIN" type="{urn:us:gov:treasury:irs:ir}TINType"/>
* <element name="PersonName" type="{urn:us:gov:treasury:irs:ir}OtherCompletePersonNameType"/>
* <element name="MailingAddressGrp" type="{urn:us:gov:treasury:irs:ir}AddressGrpType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tin",
"personName",
"mailingAddressGrp"
})
public static class InsuredGrp implements Equals2, ToString2
{
@XmlElement(name = "TIN", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected String tin;
@XmlElement(name = "PersonName", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected OtherCompletePersonNameType personName;
@XmlElement(name = "MailingAddressGrp", namespace = "urn:us:gov:treasury:irs:ir", required = true)
protected AddressGrpType mailingAddressGrp;
/**
* 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 personName property.
*
* @return
* possible object is
* {@link OtherCompletePersonNameType }
*
*/
public OtherCompletePersonNameType getPersonName() {
return personName;
}
/**
* Sets the value of the personName property.
*
* @param value
* allowed object is
* {@link OtherCompletePersonNameType }
*
*/
public void setPersonName(OtherCompletePersonNameType value) {
this.personName = value;
}
/**
* Gets the value of the mailingAddressGrp property.
*
* @return
* possible object is
* {@link AddressGrpType }
*
*/
public AddressGrpType getMailingAddressGrp() {
return mailingAddressGrp;
}
/**
* Sets the value of the mailingAddressGrp property.
*
* @param value
* allowed object is
* {@link AddressGrpType }
*
*/
public void setMailingAddressGrp(AddressGrpType value) {
this.mailingAddressGrp = 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));
}
{
OtherCompletePersonNameType thePersonName;
thePersonName = this.getPersonName();
strategy.appendField(locator, this, "personName", buffer, thePersonName, (this.personName!= null));
}
{
AddressGrpType theMailingAddressGrp;
theMailingAddressGrp = this.getMailingAddressGrp();
strategy.appendField(locator, this, "mailingAddressGrp", buffer, theMailingAddressGrp, (this.mailingAddressGrp!= 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 Form1099LTCDetailType.InsuredGrp that = ((Form1099LTCDetailType.InsuredGrp) 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;
}
}
{
OtherCompletePersonNameType lhsPersonName;
lhsPersonName = this.getPersonName();
OtherCompletePersonNameType rhsPersonName;
rhsPersonName = that.getPersonName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "personName", lhsPersonName), LocatorUtils.property(thatLocator, "personName", rhsPersonName), lhsPersonName, rhsPersonName, (this.personName!= null), (that.personName!= null))) {
return false;
}
}
{
AddressGrpType lhsMailingAddressGrp;
lhsMailingAddressGrp = this.getMailingAddressGrp();
AddressGrpType rhsMailingAddressGrp;
rhsMailingAddressGrp = that.getMailingAddressGrp();
if (!strategy.equals(LocatorUtils.property(thisLocator, "mailingAddressGrp", lhsMailingAddressGrp), LocatorUtils.property(thatLocator, "mailingAddressGrp", rhsMailingAddressGrp), lhsMailingAddressGrp, rhsMailingAddressGrp, (this.mailingAddressGrp!= null), (that.mailingAddressGrp!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
}
}