IRIS Form1099SATotalAmtGrpType

IRIS > IRIS XML

Under Development
as of April 11, 2023

Tree


+- root: Form1099SATotalAmtGrpType
|  +- totalReportedAmt: BigInteger
|  +- grossDistributionAmt: BigInteger
|  +- excessContributionsEarningsAmt: BigInteger
|  +- fmvOnDateOfDeathAmt: BigInteger


Flattened

Form1099SATotalAmtGrpType.totalReportedAmt
Form1099SATotalAmtGrpType.grossDistributionAmt
Form1099SATotalAmtGrpType.excessContributionsEarningsAmt
Form1099SATotalAmtGrpType.fmvOnDateOfDeathAmt

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 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 SA Total Amount Group 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 SA total amounts.</DescriptionTxt></Component>
 * </pre>
 * 
 * 
 * <p>Java class for Form1099SATotalAmtGrpType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * <complexType name="Form1099SATotalAmtGrpType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TotalReportedAmt" type="{urn:us:gov:treasury:irs:ir}USAmountType" minOccurs="0"/>
 *         <element name="GrossDistributionAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="ExcessContributionsEarningsAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="FMVOnDateOfDeathAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Form1099SATotalAmtGrpType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
    "totalReportedAmt",
    "grossDistributionAmt",
    "excessContributionsEarningsAmt",
    "fmvOnDateOfDeathAmt"
})
public class Form1099SATotalAmtGrpType implements Equals2, ToString2
{

    @XmlElement(name = "TotalReportedAmt", namespace = "urn:us:gov:treasury:irs:ir")
    protected BigInteger totalReportedAmt;
    @XmlElement(name = "GrossDistributionAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger grossDistributionAmt;
    @XmlElement(name = "ExcessContributionsEarningsAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger excessContributionsEarningsAmt;
    @XmlElement(name = "FMVOnDateOfDeathAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger fmvOnDateOfDeathAmt;

    /**
     * Gets the value of the totalReportedAmt property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getTotalReportedAmt() {
        return totalReportedAmt;
    }

    /**
     * Sets the value of the totalReportedAmt property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setTotalReportedAmt(BigInteger value) {
        this.totalReportedAmt = value;
    }

    /**
     * Gets the value of the grossDistributionAmt property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getGrossDistributionAmt() {
        return grossDistributionAmt;
    }

    /**
     * Sets the value of the grossDistributionAmt property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setGrossDistributionAmt(BigInteger value) {
        this.grossDistributionAmt = value;
    }

    /**
     * Gets the value of the excessContributionsEarningsAmt property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getExcessContributionsEarningsAmt() {
        return excessContributionsEarningsAmt;
    }

    /**
     * Sets the value of the excessContributionsEarningsAmt property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setExcessContributionsEarningsAmt(BigInteger value) {
        this.excessContributionsEarningsAmt = value;
    }

    /**
     * Gets the value of the fmvOnDateOfDeathAmt property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getFMVOnDateOfDeathAmt() {
        return fmvOnDateOfDeathAmt;
    }

    /**
     * Sets the value of the fmvOnDateOfDeathAmt property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setFMVOnDateOfDeathAmt(BigInteger value) {
        this.fmvOnDateOfDeathAmt = 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) {
        {
            BigInteger theTotalReportedAmt;
            theTotalReportedAmt = this.getTotalReportedAmt();
            strategy.appendField(locator, this, "totalReportedAmt", buffer, theTotalReportedAmt, (this.totalReportedAmt!= null));
        }
        {
            BigInteger theGrossDistributionAmt;
            theGrossDistributionAmt = this.getGrossDistributionAmt();
            strategy.appendField(locator, this, "grossDistributionAmt", buffer, theGrossDistributionAmt, (this.grossDistributionAmt!= null));
        }
        {
            BigInteger theExcessContributionsEarningsAmt;
            theExcessContributionsEarningsAmt = this.getExcessContributionsEarningsAmt();
            strategy.appendField(locator, this, "excessContributionsEarningsAmt", buffer, theExcessContributionsEarningsAmt, (this.excessContributionsEarningsAmt!= null));
        }
        {
            BigInteger theFMVOnDateOfDeathAmt;
            theFMVOnDateOfDeathAmt = this.getFMVOnDateOfDeathAmt();
            strategy.appendField(locator, this, "fmvOnDateOfDeathAmt", buffer, theFMVOnDateOfDeathAmt, (this.fmvOnDateOfDeathAmt!= 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 Form1099SATotalAmtGrpType that = ((Form1099SATotalAmtGrpType) object);
        {
            BigInteger lhsTotalReportedAmt;
            lhsTotalReportedAmt = this.getTotalReportedAmt();
            BigInteger rhsTotalReportedAmt;
            rhsTotalReportedAmt = that.getTotalReportedAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "totalReportedAmt", lhsTotalReportedAmt), LocatorUtils.property(thatLocator, "totalReportedAmt", rhsTotalReportedAmt), lhsTotalReportedAmt, rhsTotalReportedAmt, (this.totalReportedAmt!= null), (that.totalReportedAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsGrossDistributionAmt;
            lhsGrossDistributionAmt = this.getGrossDistributionAmt();
            BigInteger rhsGrossDistributionAmt;
            rhsGrossDistributionAmt = that.getGrossDistributionAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "grossDistributionAmt", lhsGrossDistributionAmt), LocatorUtils.property(thatLocator, "grossDistributionAmt", rhsGrossDistributionAmt), lhsGrossDistributionAmt, rhsGrossDistributionAmt, (this.grossDistributionAmt!= null), (that.grossDistributionAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsExcessContributionsEarningsAmt;
            lhsExcessContributionsEarningsAmt = this.getExcessContributionsEarningsAmt();
            BigInteger rhsExcessContributionsEarningsAmt;
            rhsExcessContributionsEarningsAmt = that.getExcessContributionsEarningsAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "excessContributionsEarningsAmt", lhsExcessContributionsEarningsAmt), LocatorUtils.property(thatLocator, "excessContributionsEarningsAmt", rhsExcessContributionsEarningsAmt), lhsExcessContributionsEarningsAmt, rhsExcessContributionsEarningsAmt, (this.excessContributionsEarningsAmt!= null), (that.excessContributionsEarningsAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsFMVOnDateOfDeathAmt;
            lhsFMVOnDateOfDeathAmt = this.getFMVOnDateOfDeathAmt();
            BigInteger rhsFMVOnDateOfDeathAmt;
            rhsFMVOnDateOfDeathAmt = that.getFMVOnDateOfDeathAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "fmvOnDateOfDeathAmt", lhsFMVOnDateOfDeathAmt), LocatorUtils.property(thatLocator, "fmvOnDateOfDeathAmt", rhsFMVOnDateOfDeathAmt), lhsFMVOnDateOfDeathAmt, rhsFMVOnDateOfDeathAmt, (this.fmvOnDateOfDeathAmt!= null), (that.fmvOnDateOfDeathAmt!= null))) {
                return false;
            }
        }
        return true;
    }

    public boolean equals(Object object) {
        final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
        return equals(null, null, object, strategy);
    }

}

© Copyright 2024. All Rights Reserved.