BallotDocumentElement.java

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2018.10.06 at 11:58:34 AM CEST 
//


package com.hack23.cia.model.external.riksdagen.votering.impl;

import java.io.Serializable;
import java.math.BigInteger;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;
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.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.hack23.cia.model.common.api.ModelObject;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * <p>Java class for BallotDocumentElement complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="BallotDocumentElement"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="hangar_id" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="dok_id" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="htmlformat" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="relaterat_id" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="source" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="sourceid" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="rm" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="beteckning" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="typ" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="doktyp" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="subtyp" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="tempbeteckning" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="organ" type="{http://www.w3.org/2001/XMLSchema}NCName"/&gt;
 *         &lt;element name="nummer" type="{http://www.w3.org/2001/XMLSchema}integer"/&gt;
 *         &lt;element name="slutnummer" type="{http://www.w3.org/2001/XMLSchema}integer"/&gt;
 *         &lt;element name="titel" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="subtitel" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="datum" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="publicerad" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="systemdatum" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="dokument_url_text" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
 *         &lt;element name="dokument_url_html" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
 *         &lt;element name="dokumentstatus_url_xml" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
 *         &lt;element name="utskottsforslag_url_xml" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BallotDocumentElement", propOrder = {
    "hangarId",
    "docId",
    "htmlformat",
    "relatedId",
    "source",
    "sourceid",
    "rm",
    "label",
    "elementType",
    "documentType",
    "subType",
    "status",
    "tempLabel",
    "org",
    "numberValue",
    "endNumberValue",
    "title",
    "subTitle",
    "createdDate",
    "madePublicDate",
    "systemDate",
    "documentUrlText",
    "documentUrlHtml",
    "documentStatusUrlXml",
    "committeeReportUrlXml"
})
@Entity(name = "BallotDocumentElement")
@Table(name = "BALLOT_DOCUMENT_ELEMENT")
@Inheritance(strategy = InheritanceType.JOINED)
public class BallotDocumentElement
    implements Serializable, ModelObject, Equals, HashCode, ToString
{

    @XmlElement(name = "hangar_id", required = true)
    protected String hangarId;
    @XmlElement(name = "dok_id", required = true)
    protected String docId;
    @XmlElement(required = true)
    protected String htmlformat;
    @XmlElement(name = "relaterat_id", required = true)
    protected String relatedId;
    @XmlElement(required = true)
    protected String source;
    @XmlElement(required = true)
    protected String sourceid;
    @XmlElement(required = true)
    protected String rm;
    @XmlElement(name = "beteckning", required = true)
    protected String label;
    @XmlElement(name = "typ", required = true)
    protected String elementType;
    @XmlElement(name = "doktyp", required = true)
    protected String documentType;
    @XmlElement(name = "subtyp", required = true)
    protected String subType;
    @XmlElement(required = true)
    protected String status;
    @XmlElement(name = "tempbeteckning", required = true)
    protected String tempLabel;
    @XmlElement(name = "organ", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "NCName")
    protected String org;
    @XmlElement(name = "nummer", required = true)
    protected BigInteger numberValue;
    @XmlElement(name = "slutnummer", required = true)
    protected BigInteger endNumberValue;
    @XmlElement(name = "titel", required = true)
    protected String title;
    @XmlElement(name = "subtitel", required = true)
    protected String subTitle;
    @XmlElement(name = "datum", required = true)
    protected String createdDate;
    @XmlElement(name = "publicerad", required = true)
    protected String madePublicDate;
    @XmlElement(name = "systemdatum", required = true)
    protected String systemDate;
    @XmlElement(name = "dokument_url_text", required = true)
    @XmlSchemaType(name = "anyURI")
    protected String documentUrlText;
    @XmlElement(name = "dokument_url_html", required = true)
    @XmlSchemaType(name = "anyURI")
    protected String documentUrlHtml;
    @XmlElement(name = "dokumentstatus_url_xml", required = true)
    @XmlSchemaType(name = "anyURI")
    protected String documentStatusUrlXml;
    @XmlElement(name = "utskottsforslag_url_xml", required = true)
    @XmlSchemaType(name = "anyURI")
    protected String committeeReportUrlXml;

    /**
     * Gets the value of the hangarId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "HANGAR_ID", length = 255)
    public String getHangarId() {
        return hangarId;
    }

    /**
     * Sets the value of the hangarId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHangarId(String value) {
        this.hangarId = value;
    }

    /**
     * Gets the value of the docId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "DOC_ID", length = 255)
    public String getDocId() {
        return docId;
    }

    /**
     * Sets the value of the docId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDocId(String value) {
        this.docId = value;
    }

    /**
     * Gets the value of the htmlformat property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "HTMLFORMAT", length = 255)
    public String getHtmlformat() {
        return htmlformat;
    }

    /**
     * Sets the value of the htmlformat property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHtmlformat(String value) {
        this.htmlformat = value;
    }

    /**
     * Gets the value of the relatedId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "RELATED_ID", length = 255)
    public String getRelatedId() {
        return relatedId;
    }

    /**
     * Sets the value of the relatedId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRelatedId(String value) {
        this.relatedId = value;
    }

    /**
     * Gets the value of the source property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "SOURCE_", length = 255)
    public String getSource() {
        return source;
    }

    /**
     * Sets the value of the source property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSource(String value) {
        this.source = value;
    }

    /**
     * Gets the value of the sourceid property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Id
    @Column(name = "SOURCEID")
    public String getSourceid() {
        return sourceid;
    }

    /**
     * Sets the value of the sourceid property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSourceid(String value) {
        this.sourceid = value;
    }

    /**
     * Gets the value of the rm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "RM", length = 255)
    public String getRm() {
        return rm;
    }

    /**
     * Sets the value of the rm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRm(String value) {
        this.rm = value;
    }

    /**
     * Gets the value of the label property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "LABEL", length = 255)
    public String getLabel() {
        return label;
    }

    /**
     * Sets the value of the label property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLabel(String value) {
        this.label = value;
    }

    /**
     * Gets the value of the elementType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "ELEMENT_TYPE", length = 255)
    public String getElementType() {
        return elementType;
    }

    /**
     * Sets the value of the elementType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setElementType(String value) {
        this.elementType = value;
    }

    /**
     * Gets the value of the documentType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "DOCUMENT_TYPE", length = 255)
    public String getDocumentType() {
        return documentType;
    }

    /**
     * Sets the value of the documentType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDocumentType(String value) {
        this.documentType = value;
    }

    /**
     * Gets the value of the subType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "SUB_TYPE", length = 255)
    public String getSubType() {
        return subType;
    }

    /**
     * Sets the value of the subType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSubType(String value) {
        this.subType = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "STATUS", length = 255)
    public String getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStatus(String value) {
        this.status = value;
    }

    /**
     * Gets the value of the tempLabel property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "TEMP_LABEL", length = 255)
    public String getTempLabel() {
        return tempLabel;
    }

    /**
     * Sets the value of the tempLabel property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTempLabel(String value) {
        this.tempLabel = value;
    }

    /**
     * Gets the value of the org property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "ORG", length = 255)
    public String getOrg() {
        return org;
    }

    /**
     * Sets the value of the org property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrg(String value) {
        this.org = value;
    }

    /**
     * Gets the value of the numberValue property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    @Basic
    @Column(name = "NUMBER_VALUE", precision = 20, scale = 0)
    public BigInteger getNumberValue() {
        return numberValue;
    }

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

    /**
     * Gets the value of the endNumberValue property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    @Basic
    @Column(name = "END_NUMBER_VALUE", precision = 20, scale = 0)
    public BigInteger getEndNumberValue() {
        return endNumberValue;
    }

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

    /**
     * Gets the value of the title property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "TITLE", length = 65536)
    public String getTitle() {
        return title;
    }

    /**
     * Sets the value of the title property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTitle(String value) {
        this.title = value;
    }

    /**
     * Gets the value of the subTitle property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "SUB_TITLE", length = 65536)
    public String getSubTitle() {
        return subTitle;
    }

    /**
     * Sets the value of the subTitle property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSubTitle(String value) {
        this.subTitle = value;
    }

    /**
     * Gets the value of the createdDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "CREATED_DATE", length = 255)
    public String getCreatedDate() {
        return createdDate;
    }

    /**
     * Sets the value of the createdDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCreatedDate(String value) {
        this.createdDate = value;
    }

    /**
     * Gets the value of the madePublicDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "MADE_PUBLIC_DATE", length = 255)
    public String getMadePublicDate() {
        return madePublicDate;
    }

    /**
     * Sets the value of the madePublicDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMadePublicDate(String value) {
        this.madePublicDate = value;
    }

    /**
     * Gets the value of the systemDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "SYSTEM_DATE", length = 255)
    public String getSystemDate() {
        return systemDate;
    }

    /**
     * Sets the value of the systemDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSystemDate(String value) {
        this.systemDate = value;
    }

    /**
     * Gets the value of the documentUrlText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "DOCUMENT_URL_TEXT")
    public String getDocumentUrlText() {
        return documentUrlText;
    }

    /**
     * Sets the value of the documentUrlText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDocumentUrlText(String value) {
        this.documentUrlText = value;
    }

    /**
     * Gets the value of the documentUrlHtml property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "DOCUMENT_URL_HTML")
    public String getDocumentUrlHtml() {
        return documentUrlHtml;
    }

    /**
     * Sets the value of the documentUrlHtml property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDocumentUrlHtml(String value) {
        this.documentUrlHtml = value;
    }

    /**
     * Gets the value of the documentStatusUrlXml property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "DOCUMENT_STATUS_URL_XML")
    public String getDocumentStatusUrlXml() {
        return documentStatusUrlXml;
    }

    /**
     * Sets the value of the documentStatusUrlXml property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDocumentStatusUrlXml(String value) {
        this.documentStatusUrlXml = value;
    }

    /**
     * Gets the value of the committeeReportUrlXml property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Basic
    @Column(name = "COMMITTEE_REPORT_URL_XML")
    public String getCommitteeReportUrlXml() {
        return committeeReportUrlXml;
    }

    /**
     * Sets the value of the committeeReportUrlXml property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCommitteeReportUrlXml(String value) {
        this.committeeReportUrlXml = value;
    }

    public BallotDocumentElement withHangarId(String value) {
        setHangarId(value);
        return this;
    }

    public BallotDocumentElement withDocId(String value) {
        setDocId(value);
        return this;
    }

    public BallotDocumentElement withHtmlformat(String value) {
        setHtmlformat(value);
        return this;
    }

    public BallotDocumentElement withRelatedId(String value) {
        setRelatedId(value);
        return this;
    }

    public BallotDocumentElement withSource(String value) {
        setSource(value);
        return this;
    }

    public BallotDocumentElement withSourceid(String value) {
        setSourceid(value);
        return this;
    }

    public BallotDocumentElement withRm(String value) {
        setRm(value);
        return this;
    }

    public BallotDocumentElement withLabel(String value) {
        setLabel(value);
        return this;
    }

    public BallotDocumentElement withElementType(String value) {
        setElementType(value);
        return this;
    }

    public BallotDocumentElement withDocumentType(String value) {
        setDocumentType(value);
        return this;
    }

    public BallotDocumentElement withSubType(String value) {
        setSubType(value);
        return this;
    }

    public BallotDocumentElement withStatus(String value) {
        setStatus(value);
        return this;
    }

    public BallotDocumentElement withTempLabel(String value) {
        setTempLabel(value);
        return this;
    }

    public BallotDocumentElement withOrg(String value) {
        setOrg(value);
        return this;
    }

    public BallotDocumentElement withNumberValue(BigInteger value) {
        setNumberValue(value);
        return this;
    }

    public BallotDocumentElement withEndNumberValue(BigInteger value) {
        setEndNumberValue(value);
        return this;
    }

    public BallotDocumentElement withTitle(String value) {
        setTitle(value);
        return this;
    }

    public BallotDocumentElement withSubTitle(String value) {
        setSubTitle(value);
        return this;
    }

    public BallotDocumentElement withCreatedDate(String value) {
        setCreatedDate(value);
        return this;
    }

    public BallotDocumentElement withMadePublicDate(String value) {
        setMadePublicDate(value);
        return this;
    }

    public BallotDocumentElement withSystemDate(String value) {
        setSystemDate(value);
        return this;
    }

    public BallotDocumentElement withDocumentUrlText(String value) {
        setDocumentUrlText(value);
        return this;
    }

    public BallotDocumentElement withDocumentUrlHtml(String value) {
        setDocumentUrlHtml(value);
        return this;
    }

    public BallotDocumentElement withDocumentStatusUrlXml(String value) {
        setDocumentStatusUrlXml(value);
        return this;
    }

    public BallotDocumentElement withCommitteeReportUrlXml(String value) {
        setCommitteeReportUrlXml(value);
        return this;
    }

    public String toString() {
        final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
        final StringBuilder buffer = new StringBuilder();
        append(null, buffer, strategy);
        return buffer.toString();
    }

    public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
        strategy.appendStart(locator, this, buffer);
        appendFields(locator, buffer, strategy);
        strategy.appendEnd(locator, this, buffer);
        return buffer;
    }

    public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
        {
            String theHangarId;
            theHangarId = this.getHangarId();
            strategy.appendField(locator, this, "hangarId", buffer, theHangarId);
        }
        {
            String theDocId;
            theDocId = this.getDocId();
            strategy.appendField(locator, this, "docId", buffer, theDocId);
        }
        {
            String theHtmlformat;
            theHtmlformat = this.getHtmlformat();
            strategy.appendField(locator, this, "htmlformat", buffer, theHtmlformat);
        }
        {
            String theRelatedId;
            theRelatedId = this.getRelatedId();
            strategy.appendField(locator, this, "relatedId", buffer, theRelatedId);
        }
        {
            String theSource;
            theSource = this.getSource();
            strategy.appendField(locator, this, "source", buffer, theSource);
        }
        {
            String theSourceid;
            theSourceid = this.getSourceid();
            strategy.appendField(locator, this, "sourceid", buffer, theSourceid);
        }
        {
            String theRm;
            theRm = this.getRm();
            strategy.appendField(locator, this, "rm", buffer, theRm);
        }
        {
            String theLabel;
            theLabel = this.getLabel();
            strategy.appendField(locator, this, "label", buffer, theLabel);
        }
        {
            String theElementType;
            theElementType = this.getElementType();
            strategy.appendField(locator, this, "elementType", buffer, theElementType);
        }
        {
            String theDocumentType;
            theDocumentType = this.getDocumentType();
            strategy.appendField(locator, this, "documentType", buffer, theDocumentType);
        }
        {
            String theSubType;
            theSubType = this.getSubType();
            strategy.appendField(locator, this, "subType", buffer, theSubType);
        }
        {
            String theStatus;
            theStatus = this.getStatus();
            strategy.appendField(locator, this, "status", buffer, theStatus);
        }
        {
            String theTempLabel;
            theTempLabel = this.getTempLabel();
            strategy.appendField(locator, this, "tempLabel", buffer, theTempLabel);
        }
        {
            String theOrg;
            theOrg = this.getOrg();
            strategy.appendField(locator, this, "org", buffer, theOrg);
        }
        {
            BigInteger theNumberValue;
            theNumberValue = this.getNumberValue();
            strategy.appendField(locator, this, "numberValue", buffer, theNumberValue);
        }
        {
            BigInteger theEndNumberValue;
            theEndNumberValue = this.getEndNumberValue();
            strategy.appendField(locator, this, "endNumberValue", buffer, theEndNumberValue);
        }
        {
            String theTitle;
            theTitle = this.getTitle();
            strategy.appendField(locator, this, "title", buffer, theTitle);
        }
        {
            String theSubTitle;
            theSubTitle = this.getSubTitle();
            strategy.appendField(locator, this, "subTitle", buffer, theSubTitle);
        }
        {
            String theCreatedDate;
            theCreatedDate = this.getCreatedDate();
            strategy.appendField(locator, this, "createdDate", buffer, theCreatedDate);
        }
        {
            String theMadePublicDate;
            theMadePublicDate = this.getMadePublicDate();
            strategy.appendField(locator, this, "madePublicDate", buffer, theMadePublicDate);
        }
        {
            String theSystemDate;
            theSystemDate = this.getSystemDate();
            strategy.appendField(locator, this, "systemDate", buffer, theSystemDate);
        }
        {
            String theDocumentUrlText;
            theDocumentUrlText = this.getDocumentUrlText();
            strategy.appendField(locator, this, "documentUrlText", buffer, theDocumentUrlText);
        }
        {
            String theDocumentUrlHtml;
            theDocumentUrlHtml = this.getDocumentUrlHtml();
            strategy.appendField(locator, this, "documentUrlHtml", buffer, theDocumentUrlHtml);
        }
        {
            String theDocumentStatusUrlXml;
            theDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
            strategy.appendField(locator, this, "documentStatusUrlXml", buffer, theDocumentStatusUrlXml);
        }
        {
            String theCommitteeReportUrlXml;
            theCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
            strategy.appendField(locator, this, "committeeReportUrlXml", buffer, theCommitteeReportUrlXml);
        }
        return buffer;
    }

    public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
        if ((object == null)||(this.getClass()!= object.getClass())) {
            return false;
        }
        if (this == object) {
            return true;
        }
        final BallotDocumentElement that = ((BallotDocumentElement) object);
        {
            String lhsHangarId;
            lhsHangarId = this.getHangarId();
            String rhsHangarId;
            rhsHangarId = that.getHangarId();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "hangarId", lhsHangarId), LocatorUtils.property(thatLocator, "hangarId", rhsHangarId), lhsHangarId, rhsHangarId)) {
                return false;
            }
        }
        {
            String lhsDocId;
            lhsDocId = this.getDocId();
            String rhsDocId;
            rhsDocId = that.getDocId();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "docId", lhsDocId), LocatorUtils.property(thatLocator, "docId", rhsDocId), lhsDocId, rhsDocId)) {
                return false;
            }
        }
        {
            String lhsHtmlformat;
            lhsHtmlformat = this.getHtmlformat();
            String rhsHtmlformat;
            rhsHtmlformat = that.getHtmlformat();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "htmlformat", lhsHtmlformat), LocatorUtils.property(thatLocator, "htmlformat", rhsHtmlformat), lhsHtmlformat, rhsHtmlformat)) {
                return false;
            }
        }
        {
            String lhsRelatedId;
            lhsRelatedId = this.getRelatedId();
            String rhsRelatedId;
            rhsRelatedId = that.getRelatedId();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "relatedId", lhsRelatedId), LocatorUtils.property(thatLocator, "relatedId", rhsRelatedId), lhsRelatedId, rhsRelatedId)) {
                return false;
            }
        }
        {
            String lhsSource;
            lhsSource = this.getSource();
            String rhsSource;
            rhsSource = that.getSource();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "source", lhsSource), LocatorUtils.property(thatLocator, "source", rhsSource), lhsSource, rhsSource)) {
                return false;
            }
        }
        {
            String lhsSourceid;
            lhsSourceid = this.getSourceid();
            String rhsSourceid;
            rhsSourceid = that.getSourceid();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "sourceid", lhsSourceid), LocatorUtils.property(thatLocator, "sourceid", rhsSourceid), lhsSourceid, rhsSourceid)) {
                return false;
            }
        }
        {
            String lhsRm;
            lhsRm = this.getRm();
            String rhsRm;
            rhsRm = that.getRm();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "rm", lhsRm), LocatorUtils.property(thatLocator, "rm", rhsRm), lhsRm, rhsRm)) {
                return false;
            }
        }
        {
            String lhsLabel;
            lhsLabel = this.getLabel();
            String rhsLabel;
            rhsLabel = that.getLabel();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "label", lhsLabel), LocatorUtils.property(thatLocator, "label", rhsLabel), lhsLabel, rhsLabel)) {
                return false;
            }
        }
        {
            String lhsElementType;
            lhsElementType = this.getElementType();
            String rhsElementType;
            rhsElementType = that.getElementType();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "elementType", lhsElementType), LocatorUtils.property(thatLocator, "elementType", rhsElementType), lhsElementType, rhsElementType)) {
                return false;
            }
        }
        {
            String lhsDocumentType;
            lhsDocumentType = this.getDocumentType();
            String rhsDocumentType;
            rhsDocumentType = that.getDocumentType();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "documentType", lhsDocumentType), LocatorUtils.property(thatLocator, "documentType", rhsDocumentType), lhsDocumentType, rhsDocumentType)) {
                return false;
            }
        }
        {
            String lhsSubType;
            lhsSubType = this.getSubType();
            String rhsSubType;
            rhsSubType = that.getSubType();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "subType", lhsSubType), LocatorUtils.property(thatLocator, "subType", rhsSubType), lhsSubType, rhsSubType)) {
                return false;
            }
        }
        {
            String lhsStatus;
            lhsStatus = this.getStatus();
            String rhsStatus;
            rhsStatus = that.getStatus();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus)) {
                return false;
            }
        }
        {
            String lhsTempLabel;
            lhsTempLabel = this.getTempLabel();
            String rhsTempLabel;
            rhsTempLabel = that.getTempLabel();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "tempLabel", lhsTempLabel), LocatorUtils.property(thatLocator, "tempLabel", rhsTempLabel), lhsTempLabel, rhsTempLabel)) {
                return false;
            }
        }
        {
            String lhsOrg;
            lhsOrg = this.getOrg();
            String rhsOrg;
            rhsOrg = that.getOrg();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "org", lhsOrg), LocatorUtils.property(thatLocator, "org", rhsOrg), lhsOrg, rhsOrg)) {
                return false;
            }
        }
        {
            BigInteger lhsNumberValue;
            lhsNumberValue = this.getNumberValue();
            BigInteger rhsNumberValue;
            rhsNumberValue = that.getNumberValue();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "numberValue", lhsNumberValue), LocatorUtils.property(thatLocator, "numberValue", rhsNumberValue), lhsNumberValue, rhsNumberValue)) {
                return false;
            }
        }
        {
            BigInteger lhsEndNumberValue;
            lhsEndNumberValue = this.getEndNumberValue();
            BigInteger rhsEndNumberValue;
            rhsEndNumberValue = that.getEndNumberValue();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "endNumberValue", lhsEndNumberValue), LocatorUtils.property(thatLocator, "endNumberValue", rhsEndNumberValue), lhsEndNumberValue, rhsEndNumberValue)) {
                return false;
            }
        }
        {
            String lhsTitle;
            lhsTitle = this.getTitle();
            String rhsTitle;
            rhsTitle = that.getTitle();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle)) {
                return false;
            }
        }
        {
            String lhsSubTitle;
            lhsSubTitle = this.getSubTitle();
            String rhsSubTitle;
            rhsSubTitle = that.getSubTitle();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "subTitle", lhsSubTitle), LocatorUtils.property(thatLocator, "subTitle", rhsSubTitle), lhsSubTitle, rhsSubTitle)) {
                return false;
            }
        }
        {
            String lhsCreatedDate;
            lhsCreatedDate = this.getCreatedDate();
            String rhsCreatedDate;
            rhsCreatedDate = that.getCreatedDate();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "createdDate", lhsCreatedDate), LocatorUtils.property(thatLocator, "createdDate", rhsCreatedDate), lhsCreatedDate, rhsCreatedDate)) {
                return false;
            }
        }
        {
            String lhsMadePublicDate;
            lhsMadePublicDate = this.getMadePublicDate();
            String rhsMadePublicDate;
            rhsMadePublicDate = that.getMadePublicDate();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "madePublicDate", lhsMadePublicDate), LocatorUtils.property(thatLocator, "madePublicDate", rhsMadePublicDate), lhsMadePublicDate, rhsMadePublicDate)) {
                return false;
            }
        }
        {
            String lhsSystemDate;
            lhsSystemDate = this.getSystemDate();
            String rhsSystemDate;
            rhsSystemDate = that.getSystemDate();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "systemDate", lhsSystemDate), LocatorUtils.property(thatLocator, "systemDate", rhsSystemDate), lhsSystemDate, rhsSystemDate)) {
                return false;
            }
        }
        {
            String lhsDocumentUrlText;
            lhsDocumentUrlText = this.getDocumentUrlText();
            String rhsDocumentUrlText;
            rhsDocumentUrlText = that.getDocumentUrlText();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "documentUrlText", lhsDocumentUrlText), LocatorUtils.property(thatLocator, "documentUrlText", rhsDocumentUrlText), lhsDocumentUrlText, rhsDocumentUrlText)) {
                return false;
            }
        }
        {
            String lhsDocumentUrlHtml;
            lhsDocumentUrlHtml = this.getDocumentUrlHtml();
            String rhsDocumentUrlHtml;
            rhsDocumentUrlHtml = that.getDocumentUrlHtml();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "documentUrlHtml", lhsDocumentUrlHtml), LocatorUtils.property(thatLocator, "documentUrlHtml", rhsDocumentUrlHtml), lhsDocumentUrlHtml, rhsDocumentUrlHtml)) {
                return false;
            }
        }
        {
            String lhsDocumentStatusUrlXml;
            lhsDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
            String rhsDocumentStatusUrlXml;
            rhsDocumentStatusUrlXml = that.getDocumentStatusUrlXml();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "documentStatusUrlXml", lhsDocumentStatusUrlXml), LocatorUtils.property(thatLocator, "documentStatusUrlXml", rhsDocumentStatusUrlXml), lhsDocumentStatusUrlXml, rhsDocumentStatusUrlXml)) {
                return false;
            }
        }
        {
            String lhsCommitteeReportUrlXml;
            lhsCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
            String rhsCommitteeReportUrlXml;
            rhsCommitteeReportUrlXml = that.getCommitteeReportUrlXml();
            if (!strategy.equals(LocatorUtils.property(thisLocator, "committeeReportUrlXml", lhsCommitteeReportUrlXml), LocatorUtils.property(thatLocator, "committeeReportUrlXml", rhsCommitteeReportUrlXml), lhsCommitteeReportUrlXml, rhsCommitteeReportUrlXml)) {
                return false;
            }
        }
        return true;
    }

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

    public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
        int currentHashCode = 1;
        {
            String theHangarId;
            theHangarId = this.getHangarId();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hangarId", theHangarId), currentHashCode, theHangarId);
        }
        {
            String theDocId;
            theDocId = this.getDocId();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "docId", theDocId), currentHashCode, theDocId);
        }
        {
            String theHtmlformat;
            theHtmlformat = this.getHtmlformat();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "htmlformat", theHtmlformat), currentHashCode, theHtmlformat);
        }
        {
            String theRelatedId;
            theRelatedId = this.getRelatedId();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "relatedId", theRelatedId), currentHashCode, theRelatedId);
        }
        {
            String theSource;
            theSource = this.getSource();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "source", theSource), currentHashCode, theSource);
        }
        {
            String theSourceid;
            theSourceid = this.getSourceid();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sourceid", theSourceid), currentHashCode, theSourceid);
        }
        {
            String theRm;
            theRm = this.getRm();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rm", theRm), currentHashCode, theRm);
        }
        {
            String theLabel;
            theLabel = this.getLabel();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "label", theLabel), currentHashCode, theLabel);
        }
        {
            String theElementType;
            theElementType = this.getElementType();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "elementType", theElementType), currentHashCode, theElementType);
        }
        {
            String theDocumentType;
            theDocumentType = this.getDocumentType();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentType", theDocumentType), currentHashCode, theDocumentType);
        }
        {
            String theSubType;
            theSubType = this.getSubType();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subType", theSubType), currentHashCode, theSubType);
        }
        {
            String theStatus;
            theStatus = this.getStatus();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus);
        }
        {
            String theTempLabel;
            theTempLabel = this.getTempLabel();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempLabel", theTempLabel), currentHashCode, theTempLabel);
        }
        {
            String theOrg;
            theOrg = this.getOrg();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "org", theOrg), currentHashCode, theOrg);
        }
        {
            BigInteger theNumberValue;
            theNumberValue = this.getNumberValue();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "numberValue", theNumberValue), currentHashCode, theNumberValue);
        }
        {
            BigInteger theEndNumberValue;
            theEndNumberValue = this.getEndNumberValue();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endNumberValue", theEndNumberValue), currentHashCode, theEndNumberValue);
        }
        {
            String theTitle;
            theTitle = this.getTitle();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle);
        }
        {
            String theSubTitle;
            theSubTitle = this.getSubTitle();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subTitle", theSubTitle), currentHashCode, theSubTitle);
        }
        {
            String theCreatedDate;
            theCreatedDate = this.getCreatedDate();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "createdDate", theCreatedDate), currentHashCode, theCreatedDate);
        }
        {
            String theMadePublicDate;
            theMadePublicDate = this.getMadePublicDate();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "madePublicDate", theMadePublicDate), currentHashCode, theMadePublicDate);
        }
        {
            String theSystemDate;
            theSystemDate = this.getSystemDate();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "systemDate", theSystemDate), currentHashCode, theSystemDate);
        }
        {
            String theDocumentUrlText;
            theDocumentUrlText = this.getDocumentUrlText();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentUrlText", theDocumentUrlText), currentHashCode, theDocumentUrlText);
        }
        {
            String theDocumentUrlHtml;
            theDocumentUrlHtml = this.getDocumentUrlHtml();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentUrlHtml", theDocumentUrlHtml), currentHashCode, theDocumentUrlHtml);
        }
        {
            String theDocumentStatusUrlXml;
            theDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentStatusUrlXml", theDocumentStatusUrlXml), currentHashCode, theDocumentStatusUrlXml);
        }
        {
            String theCommitteeReportUrlXml;
            theCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "committeeReportUrlXml", theCommitteeReportUrlXml), currentHashCode, theCommitteeReportUrlXml);
        }
        return currentHashCode;
    }

    public int hashCode() {
        final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
        return this.hashCode(null, strategy);
    }

}