IRIS Form1099GTotalAmtGrpType

IRIS > IRIS XML

Under Development
as of April 11, 2023

Tree


+- root: Form1099GTotalAmtGrpType
|  +- federalIncomeTaxWithheldAmt: BigInteger
|  +- totalReportedAmt: BigInteger
|  +- unemploymentCompAmt: BigInteger
|  +- stateLclRefundCreditOffsetAmt: BigInteger
|  +- rtaaPaymentsAmt: BigInteger
|  +- taxableGrantsAmt: BigInteger
|  +- agriculturePaymentsAmt: BigInteger
|  +- marketGainAmt: BigInteger


Flattened

Form1099GTotalAmtGrpType.federalIncomeTaxWithheldAmt
Form1099GTotalAmtGrpType.totalReportedAmt
Form1099GTotalAmtGrpType.unemploymentCompAmt
Form1099GTotalAmtGrpType.stateLclRefundCreditOffsetAmt
Form1099GTotalAmtGrpType.rtaaPaymentsAmt
Form1099GTotalAmtGrpType.taxableGrantsAmt
Form1099GTotalAmtGrpType.agriculturePaymentsAmt
Form1099GTotalAmtGrpType.marketGainAmt

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 G 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 G total amounts.</DescriptionTxt></Component>
 * </pre>
 * 
 * 
 * <p>Java class for Form1099GTotalAmtGrpType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * <complexType name="Form1099GTotalAmtGrpType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="FederalIncomeTaxWithheldAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="TotalReportedAmt" type="{urn:us:gov:treasury:irs:ir}USAmountType" minOccurs="0"/>
 *         <element name="UnemploymentCompAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="StateLclRefundCreditOffsetAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="RTAAPaymentsAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="TaxableGrantsAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="AgriculturePaymentsAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *         <element name="MarketGainAmt" type="{urn:us:gov:treasury:irs:ir}USAmountNNType" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Form1099GTotalAmtGrpType", namespace = "urn:us:gov:treasury:irs:ir", propOrder = {
    "federalIncomeTaxWithheldAmt",
    "totalReportedAmt",
    "unemploymentCompAmt",
    "stateLclRefundCreditOffsetAmt",
    "rtaaPaymentsAmt",
    "taxableGrantsAmt",
    "agriculturePaymentsAmt",
    "marketGainAmt"
})
public class Form1099GTotalAmtGrpType implements Equals2, ToString2
{

    @XmlElement(name = "FederalIncomeTaxWithheldAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger federalIncomeTaxWithheldAmt;
    @XmlElement(name = "TotalReportedAmt", namespace = "urn:us:gov:treasury:irs:ir")
    protected BigInteger totalReportedAmt;
    @XmlElement(name = "UnemploymentCompAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger unemploymentCompAmt;
    @XmlElement(name = "StateLclRefundCreditOffsetAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger stateLclRefundCreditOffsetAmt;
    @XmlElement(name = "RTAAPaymentsAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger rtaaPaymentsAmt;
    @XmlElement(name = "TaxableGrantsAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger taxableGrantsAmt;
    @XmlElement(name = "AgriculturePaymentsAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger agriculturePaymentsAmt;
    @XmlElement(name = "MarketGainAmt", namespace = "urn:us:gov:treasury:irs:ir")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger marketGainAmt;

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

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

    /**
     * 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 unemploymentCompAmt property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getUnemploymentCompAmt() {
        return unemploymentCompAmt;
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the value of the marketGainAmt property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setMarketGainAmt(BigInteger value) {
        this.marketGainAmt = 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 theFederalIncomeTaxWithheldAmt;
            theFederalIncomeTaxWithheldAmt = this.getFederalIncomeTaxWithheldAmt();
            strategy.appendField(locator, this, "federalIncomeTaxWithheldAmt", buffer, theFederalIncomeTaxWithheldAmt, (this.federalIncomeTaxWithheldAmt!= null));
        }
        {
            BigInteger theTotalReportedAmt;
            theTotalReportedAmt = this.getTotalReportedAmt();
            strategy.appendField(locator, this, "totalReportedAmt", buffer, theTotalReportedAmt, (this.totalReportedAmt!= null));
        }
        {
            BigInteger theUnemploymentCompAmt;
            theUnemploymentCompAmt = this.getUnemploymentCompAmt();
            strategy.appendField(locator, this, "unemploymentCompAmt", buffer, theUnemploymentCompAmt, (this.unemploymentCompAmt!= null));
        }
        {
            BigInteger theStateLclRefundCreditOffsetAmt;
            theStateLclRefundCreditOffsetAmt = this.getStateLclRefundCreditOffsetAmt();
            strategy.appendField(locator, this, "stateLclRefundCreditOffsetAmt", buffer, theStateLclRefundCreditOffsetAmt, (this.stateLclRefundCreditOffsetAmt!= null));
        }
        {
            BigInteger theRTAAPaymentsAmt;
            theRTAAPaymentsAmt = this.getRTAAPaymentsAmt();
            strategy.appendField(locator, this, "rtaaPaymentsAmt", buffer, theRTAAPaymentsAmt, (this.rtaaPaymentsAmt!= null));
        }
        {
            BigInteger theTaxableGrantsAmt;
            theTaxableGrantsAmt = this.getTaxableGrantsAmt();
            strategy.appendField(locator, this, "taxableGrantsAmt", buffer, theTaxableGrantsAmt, (this.taxableGrantsAmt!= null));
        }
        {
            BigInteger theAgriculturePaymentsAmt;
            theAgriculturePaymentsAmt = this.getAgriculturePaymentsAmt();
            strategy.appendField(locator, this, "agriculturePaymentsAmt", buffer, theAgriculturePaymentsAmt, (this.agriculturePaymentsAmt!= null));
        }
        {
            BigInteger theMarketGainAmt;
            theMarketGainAmt = this.getMarketGainAmt();
            strategy.appendField(locator, this, "marketGainAmt", buffer, theMarketGainAmt, (this.marketGainAmt!= 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 Form1099GTotalAmtGrpType that = ((Form1099GTotalAmtGrpType) object);
        {
            BigInteger lhsFederalIncomeTaxWithheldAmt;
            lhsFederalIncomeTaxWithheldAmt = this.getFederalIncomeTaxWithheldAmt();
            BigInteger rhsFederalIncomeTaxWithheldAmt;
            rhsFederalIncomeTaxWithheldAmt = that.getFederalIncomeTaxWithheldAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "federalIncomeTaxWithheldAmt", lhsFederalIncomeTaxWithheldAmt), LocatorUtils.property(thatLocator, "federalIncomeTaxWithheldAmt", rhsFederalIncomeTaxWithheldAmt), lhsFederalIncomeTaxWithheldAmt, rhsFederalIncomeTaxWithheldAmt, (this.federalIncomeTaxWithheldAmt!= null), (that.federalIncomeTaxWithheldAmt!= null))) {
                return false;
            }
        }
        {
            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 lhsUnemploymentCompAmt;
            lhsUnemploymentCompAmt = this.getUnemploymentCompAmt();
            BigInteger rhsUnemploymentCompAmt;
            rhsUnemploymentCompAmt = that.getUnemploymentCompAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "unemploymentCompAmt", lhsUnemploymentCompAmt), LocatorUtils.property(thatLocator, "unemploymentCompAmt", rhsUnemploymentCompAmt), lhsUnemploymentCompAmt, rhsUnemploymentCompAmt, (this.unemploymentCompAmt!= null), (that.unemploymentCompAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsStateLclRefundCreditOffsetAmt;
            lhsStateLclRefundCreditOffsetAmt = this.getStateLclRefundCreditOffsetAmt();
            BigInteger rhsStateLclRefundCreditOffsetAmt;
            rhsStateLclRefundCreditOffsetAmt = that.getStateLclRefundCreditOffsetAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "stateLclRefundCreditOffsetAmt", lhsStateLclRefundCreditOffsetAmt), LocatorUtils.property(thatLocator, "stateLclRefundCreditOffsetAmt", rhsStateLclRefundCreditOffsetAmt), lhsStateLclRefundCreditOffsetAmt, rhsStateLclRefundCreditOffsetAmt, (this.stateLclRefundCreditOffsetAmt!= null), (that.stateLclRefundCreditOffsetAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsRTAAPaymentsAmt;
            lhsRTAAPaymentsAmt = this.getRTAAPaymentsAmt();
            BigInteger rhsRTAAPaymentsAmt;
            rhsRTAAPaymentsAmt = that.getRTAAPaymentsAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "rtaaPaymentsAmt", lhsRTAAPaymentsAmt), LocatorUtils.property(thatLocator, "rtaaPaymentsAmt", rhsRTAAPaymentsAmt), lhsRTAAPaymentsAmt, rhsRTAAPaymentsAmt, (this.rtaaPaymentsAmt!= null), (that.rtaaPaymentsAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsTaxableGrantsAmt;
            lhsTaxableGrantsAmt = this.getTaxableGrantsAmt();
            BigInteger rhsTaxableGrantsAmt;
            rhsTaxableGrantsAmt = that.getTaxableGrantsAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "taxableGrantsAmt", lhsTaxableGrantsAmt), LocatorUtils.property(thatLocator, "taxableGrantsAmt", rhsTaxableGrantsAmt), lhsTaxableGrantsAmt, rhsTaxableGrantsAmt, (this.taxableGrantsAmt!= null), (that.taxableGrantsAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsAgriculturePaymentsAmt;
            lhsAgriculturePaymentsAmt = this.getAgriculturePaymentsAmt();
            BigInteger rhsAgriculturePaymentsAmt;
            rhsAgriculturePaymentsAmt = that.getAgriculturePaymentsAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "agriculturePaymentsAmt", lhsAgriculturePaymentsAmt), LocatorUtils.property(thatLocator, "agriculturePaymentsAmt", rhsAgriculturePaymentsAmt), lhsAgriculturePaymentsAmt, rhsAgriculturePaymentsAmt, (this.agriculturePaymentsAmt!= null), (that.agriculturePaymentsAmt!= null))) {
                return false;
            }
        }
        {
            BigInteger lhsMarketGainAmt;
            lhsMarketGainAmt = this.getMarketGainAmt();
            BigInteger rhsMarketGainAmt;
            rhsMarketGainAmt = that.getMarketGainAmt();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "marketGainAmt", lhsMarketGainAmt), LocatorUtils.property(thatLocator, "marketGainAmt", rhsMarketGainAmt), lhsMarketGainAmt, rhsMarketGainAmt, (this.marketGainAmt!= null), (that.marketGainAmt!= 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.