View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2017.04.23 at 07:22:42 PM CEST 
6   //
7   
8   
9   package com.hack23.cia.model.external.riksdagen.dokumentstatus.impl;
10  
11  import java.io.Serializable;
12  import java.math.BigInteger;
13  import java.util.Date;
14  import javax.persistence.Basic;
15  import javax.persistence.Column;
16  import javax.persistence.Entity;
17  import javax.persistence.Id;
18  import javax.persistence.Inheritance;
19  import javax.persistence.InheritanceType;
20  import javax.persistence.Table;
21  import javax.persistence.Temporal;
22  import javax.persistence.TemporalType;
23  import javax.xml.bind.annotation.XmlAccessType;
24  import javax.xml.bind.annotation.XmlAccessorType;
25  import javax.xml.bind.annotation.XmlElement;
26  import javax.xml.bind.annotation.XmlSchemaType;
27  import javax.xml.bind.annotation.XmlType;
28  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
29  import com.hack23.cia.model.common.api.ModelObject;
30  import org.jvnet.jaxb2_commons.lang.Equals;
31  import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
32  import org.jvnet.jaxb2_commons.lang.HashCode;
33  import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
34  import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
35  import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
36  import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
37  import org.jvnet.jaxb2_commons.lang.ToString;
38  import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
39  import org.jvnet.jaxb2_commons.locator.ObjectLocator;
40  import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
41  import org.w3._2001.xmlschema.Adapter3;
42  
43  
44  /**
45   * <p>Java class for DocumentData complex type.
46   * 
47   * <p>The following schema fragment specifies the expected content contained within this class.
48   * 
49   * <pre>
50   * &lt;complexType name="DocumentData"&gt;
51   *   &lt;complexContent&gt;
52   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
53   *       &lt;sequence&gt;
54   *         &lt;element name="hangar_id" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
55   *         &lt;element name="dok_id" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
56   *         &lt;element name="rm" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
57   *         &lt;element name="beteckning" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
58   *         &lt;element name="typ" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
59   *         &lt;element name="subtyp" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
60   *         &lt;element name="tempbeteckning" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
61   *         &lt;element name="organ" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
62   *         &lt;element name="nummer" type="{http://www.w3.org/2001/XMLSchema}integer"/&gt;
63   *         &lt;element name="slutnummer" type="{http://www.w3.org/2001/XMLSchema}integer"/&gt;
64   *         &lt;element name="publicerad" type="{http://www.w3.org/2001/XMLSchema}date"/&gt;
65   *         &lt;element name="titel" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
66   *         &lt;element name="subtitel" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
67   *         &lt;element name="dokument_url_text" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
68   *         &lt;element name="dokument_url_html" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
69   *         &lt;element name="dokumentstatus_url_xml" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
70   *         &lt;element name="dokumentstatus_url_www" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
71   *         &lt;element name="utskottsforslag_url_xml" type="{http://www.w3.org/2001/XMLSchema}anyURI"/&gt;
72   *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
73   *       &lt;/sequence&gt;
74   *     &lt;/restriction&gt;
75   *   &lt;/complexContent&gt;
76   * &lt;/complexType&gt;
77   * </pre>
78   * 
79   * 
80   */
81  @XmlAccessorType(XmlAccessType.FIELD)
82  @XmlType(name = "DocumentData", propOrder = {
83      "hangarId",
84      "id",
85      "rm",
86      "label",
87      "documentType",
88      "subType",
89      "tempLabel",
90      "org",
91      "numberValue",
92      "finalNumber",
93      "madePublicDate",
94      "title",
95      "subTitle",
96      "documentUrlText",
97      "documentUrlHtml",
98      "documentStatusUrlXml",
99      "documentStatusUrlWWW",
100     "committeeReportUrlXml",
101     "status"
102 })
103 @Entity(name = "DocumentData")
104 @Table(name = "DOCUMENT_DATA")
105 @Inheritance(strategy = InheritanceType.JOINED)
106 public class DocumentData
107     implements Serializable, ModelObject, Equals, HashCode, ToString
108 {
109 
110     @XmlElement(name = "hangar_id", required = true)
111     protected String hangarId;
112     @XmlElement(name = "dok_id", required = true)
113     protected String id;
114     @XmlElement(required = true)
115     protected String rm;
116     @XmlElement(name = "beteckning", required = true)
117     protected String label;
118     @XmlElement(name = "typ", required = true)
119     protected String documentType;
120     @XmlElement(name = "subtyp", required = true)
121     protected String subType;
122     @XmlElement(name = "tempbeteckning", required = true)
123     protected String tempLabel;
124     @XmlElement(name = "organ", required = true)
125     protected String org;
126     @XmlElement(name = "nummer", required = true)
127     protected BigInteger numberValue;
128     @XmlElement(name = "slutnummer", required = true)
129     protected BigInteger finalNumber;
130     @XmlElement(name = "publicerad", required = true, type = String.class)
131     @XmlJavaTypeAdapter(Adapter3 .class)
132     @XmlSchemaType(name = "date")
133     protected Date madePublicDate;
134     @XmlElement(name = "titel", required = true)
135     protected String title;
136     @XmlElement(name = "subtitel", required = true)
137     protected String subTitle;
138     @XmlElement(name = "dokument_url_text", required = true)
139     @XmlSchemaType(name = "anyURI")
140     protected String documentUrlText;
141     @XmlElement(name = "dokument_url_html", required = true)
142     @XmlSchemaType(name = "anyURI")
143     protected String documentUrlHtml;
144     @XmlElement(name = "dokumentstatus_url_xml", required = true)
145     @XmlSchemaType(name = "anyURI")
146     protected String documentStatusUrlXml;
147     @XmlElement(name = "dokumentstatus_url_www", required = true)
148     @XmlSchemaType(name = "anyURI")
149     protected String documentStatusUrlWWW;
150     @XmlElement(name = "utskottsforslag_url_xml", required = true)
151     @XmlSchemaType(name = "anyURI")
152     protected String committeeReportUrlXml;
153     @XmlElement(required = true)
154     protected String status;
155 
156     /**
157      * Gets the value of the hangarId property.
158      * 
159      * @return
160      *     possible object is
161      *     {@link String }
162      *     
163      */
164     @Basic
165     @Column(name = "HANGAR_ID", length = 255)
166     public String getHangarId() {
167         return hangarId;
168     }
169 
170     /**
171      * Sets the value of the hangarId property.
172      * 
173      * @param value
174      *     allowed object is
175      *     {@link String }
176      *     
177      */
178     public void setHangarId(String value) {
179         this.hangarId = value;
180     }
181 
182     /**
183      * Gets the value of the id property.
184      * 
185      * @return
186      *     possible object is
187      *     {@link String }
188      *     
189      */
190     @Id
191     @Column(name = "ID")
192     public String getId() {
193         return id;
194     }
195 
196     /**
197      * Sets the value of the id property.
198      * 
199      * @param value
200      *     allowed object is
201      *     {@link String }
202      *     
203      */
204     public void setId(String value) {
205         this.id = value;
206     }
207 
208     /**
209      * Gets the value of the rm property.
210      * 
211      * @return
212      *     possible object is
213      *     {@link String }
214      *     
215      */
216     @Basic
217     @Column(name = "RM", length = 255)
218     public String getRm() {
219         return rm;
220     }
221 
222     /**
223      * Sets the value of the rm property.
224      * 
225      * @param value
226      *     allowed object is
227      *     {@link String }
228      *     
229      */
230     public void setRm(String value) {
231         this.rm = value;
232     }
233 
234     /**
235      * Gets the value of the label property.
236      * 
237      * @return
238      *     possible object is
239      *     {@link String }
240      *     
241      */
242     @Basic
243     @Column(name = "LABEL", length = 255)
244     public String getLabel() {
245         return label;
246     }
247 
248     /**
249      * Sets the value of the label property.
250      * 
251      * @param value
252      *     allowed object is
253      *     {@link String }
254      *     
255      */
256     public void setLabel(String value) {
257         this.label = value;
258     }
259 
260     /**
261      * Gets the value of the documentType property.
262      * 
263      * @return
264      *     possible object is
265      *     {@link String }
266      *     
267      */
268     @Basic
269     @Column(name = "DOCUMENT_TYPE", length = 255)
270     public String getDocumentType() {
271         return documentType;
272     }
273 
274     /**
275      * Sets the value of the documentType property.
276      * 
277      * @param value
278      *     allowed object is
279      *     {@link String }
280      *     
281      */
282     public void setDocumentType(String value) {
283         this.documentType = value;
284     }
285 
286     /**
287      * Gets the value of the subType property.
288      * 
289      * @return
290      *     possible object is
291      *     {@link String }
292      *     
293      */
294     @Basic
295     @Column(name = "SUB_TYPE", length = 255)
296     public String getSubType() {
297         return subType;
298     }
299 
300     /**
301      * Sets the value of the subType property.
302      * 
303      * @param value
304      *     allowed object is
305      *     {@link String }
306      *     
307      */
308     public void setSubType(String value) {
309         this.subType = value;
310     }
311 
312     /**
313      * Gets the value of the tempLabel property.
314      * 
315      * @return
316      *     possible object is
317      *     {@link String }
318      *     
319      */
320     @Basic
321     @Column(name = "TEMP_LABEL", length = 255)
322     public String getTempLabel() {
323         return tempLabel;
324     }
325 
326     /**
327      * Sets the value of the tempLabel property.
328      * 
329      * @param value
330      *     allowed object is
331      *     {@link String }
332      *     
333      */
334     public void setTempLabel(String value) {
335         this.tempLabel = value;
336     }
337 
338     /**
339      * Gets the value of the org property.
340      * 
341      * @return
342      *     possible object is
343      *     {@link String }
344      *     
345      */
346     @Basic
347     @Column(name = "ORG", length = 255)
348     public String getOrg() {
349         return org;
350     }
351 
352     /**
353      * Sets the value of the org property.
354      * 
355      * @param value
356      *     allowed object is
357      *     {@link String }
358      *     
359      */
360     public void setOrg(String value) {
361         this.org = value;
362     }
363 
364     /**
365      * Gets the value of the numberValue property.
366      * 
367      * @return
368      *     possible object is
369      *     {@link BigInteger }
370      *     
371      */
372     @Basic
373     @Column(name = "NUMBER_VALUE", precision = 20, scale = 0)
374     public BigInteger getNumberValue() {
375         return numberValue;
376     }
377 
378     /**
379      * Sets the value of the numberValue property.
380      * 
381      * @param value
382      *     allowed object is
383      *     {@link BigInteger }
384      *     
385      */
386     public void setNumberValue(BigInteger value) {
387         this.numberValue = value;
388     }
389 
390     /**
391      * Gets the value of the finalNumber property.
392      * 
393      * @return
394      *     possible object is
395      *     {@link BigInteger }
396      *     
397      */
398     @Basic
399     @Column(name = "FINAL_NUMBER", precision = 20, scale = 0)
400     public BigInteger getFinalNumber() {
401         return finalNumber;
402     }
403 
404     /**
405      * Sets the value of the finalNumber property.
406      * 
407      * @param value
408      *     allowed object is
409      *     {@link BigInteger }
410      *     
411      */
412     public void setFinalNumber(BigInteger value) {
413         this.finalNumber = value;
414     }
415 
416     /**
417      * Gets the value of the madePublicDate property.
418      * 
419      * @return
420      *     possible object is
421      *     {@link String }
422      *     
423      */
424     @Basic
425     @Column(name = "MADE_PUBLIC_DATE")
426     @Temporal(TemporalType.DATE)
427     public Date getMadePublicDate() {
428         return madePublicDate;
429     }
430 
431     /**
432      * Sets the value of the madePublicDate property.
433      * 
434      * @param value
435      *     allowed object is
436      *     {@link String }
437      *     
438      */
439     public void setMadePublicDate(Date value) {
440         this.madePublicDate = value;
441     }
442 
443     /**
444      * Gets the value of the title property.
445      * 
446      * @return
447      *     possible object is
448      *     {@link String }
449      *     
450      */
451     @Basic
452     @Column(name = "TITLE", length = 65536)
453     public String getTitle() {
454         return title;
455     }
456 
457     /**
458      * Sets the value of the title property.
459      * 
460      * @param value
461      *     allowed object is
462      *     {@link String }
463      *     
464      */
465     public void setTitle(String value) {
466         this.title = value;
467     }
468 
469     /**
470      * Gets the value of the subTitle property.
471      * 
472      * @return
473      *     possible object is
474      *     {@link String }
475      *     
476      */
477     @Basic
478     @Column(name = "SUB_TITLE", length = 255)
479     public String getSubTitle() {
480         return subTitle;
481     }
482 
483     /**
484      * Sets the value of the subTitle property.
485      * 
486      * @param value
487      *     allowed object is
488      *     {@link String }
489      *     
490      */
491     public void setSubTitle(String value) {
492         this.subTitle = value;
493     }
494 
495     /**
496      * Gets the value of the documentUrlText property.
497      * 
498      * @return
499      *     possible object is
500      *     {@link String }
501      *     
502      */
503     @Basic
504     @Column(name = "DOCUMENT_URL_TEXT")
505     public String getDocumentUrlText() {
506         return documentUrlText;
507     }
508 
509     /**
510      * Sets the value of the documentUrlText property.
511      * 
512      * @param value
513      *     allowed object is
514      *     {@link String }
515      *     
516      */
517     public void setDocumentUrlText(String value) {
518         this.documentUrlText = value;
519     }
520 
521     /**
522      * Gets the value of the documentUrlHtml property.
523      * 
524      * @return
525      *     possible object is
526      *     {@link String }
527      *     
528      */
529     @Basic
530     @Column(name = "DOCUMENT_URL_HTML")
531     public String getDocumentUrlHtml() {
532         return documentUrlHtml;
533     }
534 
535     /**
536      * Sets the value of the documentUrlHtml property.
537      * 
538      * @param value
539      *     allowed object is
540      *     {@link String }
541      *     
542      */
543     public void setDocumentUrlHtml(String value) {
544         this.documentUrlHtml = value;
545     }
546 
547     /**
548      * Gets the value of the documentStatusUrlXml property.
549      * 
550      * @return
551      *     possible object is
552      *     {@link String }
553      *     
554      */
555     @Basic
556     @Column(name = "DOCUMENT_STATUS_URL_XML")
557     public String getDocumentStatusUrlXml() {
558         return documentStatusUrlXml;
559     }
560 
561     /**
562      * Sets the value of the documentStatusUrlXml property.
563      * 
564      * @param value
565      *     allowed object is
566      *     {@link String }
567      *     
568      */
569     public void setDocumentStatusUrlXml(String value) {
570         this.documentStatusUrlXml = value;
571     }
572 
573     /**
574      * Gets the value of the documentStatusUrlWWW property.
575      * 
576      * @return
577      *     possible object is
578      *     {@link String }
579      *     
580      */
581     @Basic
582     @Column(name = "DOCUMENT_STATUS_URL_WWW")
583     public String getDocumentStatusUrlWWW() {
584         return documentStatusUrlWWW;
585     }
586 
587     /**
588      * Sets the value of the documentStatusUrlWWW property.
589      * 
590      * @param value
591      *     allowed object is
592      *     {@link String }
593      *     
594      */
595     public void setDocumentStatusUrlWWW(String value) {
596         this.documentStatusUrlWWW = value;
597     }
598 
599     /**
600      * Gets the value of the committeeReportUrlXml property.
601      * 
602      * @return
603      *     possible object is
604      *     {@link String }
605      *     
606      */
607     @Basic
608     @Column(name = "COMMITTEE_REPORT_URL_XML")
609     public String getCommitteeReportUrlXml() {
610         return committeeReportUrlXml;
611     }
612 
613     /**
614      * Sets the value of the committeeReportUrlXml property.
615      * 
616      * @param value
617      *     allowed object is
618      *     {@link String }
619      *     
620      */
621     public void setCommitteeReportUrlXml(String value) {
622         this.committeeReportUrlXml = value;
623     }
624 
625     /**
626      * Gets the value of the status property.
627      * 
628      * @return
629      *     possible object is
630      *     {@link String }
631      *     
632      */
633     @Basic
634     @Column(name = "STATUS", length = 255)
635     public String getStatus() {
636         return status;
637     }
638 
639     /**
640      * Sets the value of the status property.
641      * 
642      * @param value
643      *     allowed object is
644      *     {@link String }
645      *     
646      */
647     public void setStatus(String value) {
648         this.status = value;
649     }
650 
651     public DocumentData withHangarId(String value) {
652         setHangarId(value);
653         return this;
654     }
655 
656     public DocumentData withId(String value) {
657         setId(value);
658         return this;
659     }
660 
661     public DocumentData withRm(String value) {
662         setRm(value);
663         return this;
664     }
665 
666     public DocumentData withLabel(String value) {
667         setLabel(value);
668         return this;
669     }
670 
671     public DocumentData withDocumentType(String value) {
672         setDocumentType(value);
673         return this;
674     }
675 
676     public DocumentData withSubType(String value) {
677         setSubType(value);
678         return this;
679     }
680 
681     public DocumentData withTempLabel(String value) {
682         setTempLabel(value);
683         return this;
684     }
685 
686     public DocumentData withOrg(String value) {
687         setOrg(value);
688         return this;
689     }
690 
691     public DocumentData withNumberValue(BigInteger value) {
692         setNumberValue(value);
693         return this;
694     }
695 
696     public DocumentData withFinalNumber(BigInteger value) {
697         setFinalNumber(value);
698         return this;
699     }
700 
701     public DocumentData withMadePublicDate(Date value) {
702         setMadePublicDate(value);
703         return this;
704     }
705 
706     public DocumentData withTitle(String value) {
707         setTitle(value);
708         return this;
709     }
710 
711     public DocumentData withSubTitle(String value) {
712         setSubTitle(value);
713         return this;
714     }
715 
716     public DocumentData withDocumentUrlText(String value) {
717         setDocumentUrlText(value);
718         return this;
719     }
720 
721     public DocumentData withDocumentUrlHtml(String value) {
722         setDocumentUrlHtml(value);
723         return this;
724     }
725 
726     public DocumentData withDocumentStatusUrlXml(String value) {
727         setDocumentStatusUrlXml(value);
728         return this;
729     }
730 
731     public DocumentData withDocumentStatusUrlWWW(String value) {
732         setDocumentStatusUrlWWW(value);
733         return this;
734     }
735 
736     public DocumentData withCommitteeReportUrlXml(String value) {
737         setCommitteeReportUrlXml(value);
738         return this;
739     }
740 
741     public DocumentData withStatus(String value) {
742         setStatus(value);
743         return this;
744     }
745 
746     public String toString() {
747         final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
748         final StringBuilder buffer = new StringBuilder();
749         append(null, buffer, strategy);
750         return buffer.toString();
751     }
752 
753     public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
754         strategy.appendStart(locator, this, buffer);
755         appendFields(locator, buffer, strategy);
756         strategy.appendEnd(locator, this, buffer);
757         return buffer;
758     }
759 
760     public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
761         {
762             String theHangarId;
763             theHangarId = this.getHangarId();
764             strategy.appendField(locator, this, "hangarId", buffer, theHangarId);
765         }
766         {
767             String theId;
768             theId = this.getId();
769             strategy.appendField(locator, this, "id", buffer, theId);
770         }
771         {
772             String theRm;
773             theRm = this.getRm();
774             strategy.appendField(locator, this, "rm", buffer, theRm);
775         }
776         {
777             String theLabel;
778             theLabel = this.getLabel();
779             strategy.appendField(locator, this, "label", buffer, theLabel);
780         }
781         {
782             String theDocumentType;
783             theDocumentType = this.getDocumentType();
784             strategy.appendField(locator, this, "documentType", buffer, theDocumentType);
785         }
786         {
787             String theSubType;
788             theSubType = this.getSubType();
789             strategy.appendField(locator, this, "subType", buffer, theSubType);
790         }
791         {
792             String theTempLabel;
793             theTempLabel = this.getTempLabel();
794             strategy.appendField(locator, this, "tempLabel", buffer, theTempLabel);
795         }
796         {
797             String theOrg;
798             theOrg = this.getOrg();
799             strategy.appendField(locator, this, "org", buffer, theOrg);
800         }
801         {
802             BigInteger theNumberValue;
803             theNumberValue = this.getNumberValue();
804             strategy.appendField(locator, this, "numberValue", buffer, theNumberValue);
805         }
806         {
807             BigInteger theFinalNumber;
808             theFinalNumber = this.getFinalNumber();
809             strategy.appendField(locator, this, "finalNumber", buffer, theFinalNumber);
810         }
811         {
812             Date theMadePublicDate;
813             theMadePublicDate = this.getMadePublicDate();
814             strategy.appendField(locator, this, "madePublicDate", buffer, theMadePublicDate);
815         }
816         {
817             String theTitle;
818             theTitle = this.getTitle();
819             strategy.appendField(locator, this, "title", buffer, theTitle);
820         }
821         {
822             String theSubTitle;
823             theSubTitle = this.getSubTitle();
824             strategy.appendField(locator, this, "subTitle", buffer, theSubTitle);
825         }
826         {
827             String theDocumentUrlText;
828             theDocumentUrlText = this.getDocumentUrlText();
829             strategy.appendField(locator, this, "documentUrlText", buffer, theDocumentUrlText);
830         }
831         {
832             String theDocumentUrlHtml;
833             theDocumentUrlHtml = this.getDocumentUrlHtml();
834             strategy.appendField(locator, this, "documentUrlHtml", buffer, theDocumentUrlHtml);
835         }
836         {
837             String theDocumentStatusUrlXml;
838             theDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
839             strategy.appendField(locator, this, "documentStatusUrlXml", buffer, theDocumentStatusUrlXml);
840         }
841         {
842             String theDocumentStatusUrlWWW;
843             theDocumentStatusUrlWWW = this.getDocumentStatusUrlWWW();
844             strategy.appendField(locator, this, "documentStatusUrlWWW", buffer, theDocumentStatusUrlWWW);
845         }
846         {
847             String theCommitteeReportUrlXml;
848             theCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
849             strategy.appendField(locator, this, "committeeReportUrlXml", buffer, theCommitteeReportUrlXml);
850         }
851         {
852             String theStatus;
853             theStatus = this.getStatus();
854             strategy.appendField(locator, this, "status", buffer, theStatus);
855         }
856         return buffer;
857     }
858 
859     public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
860         if ((object == null)||(this.getClass()!= object.getClass())) {
861             return false;
862         }
863         if (this == object) {
864             return true;
865         }
866         final DocumentData that = ((DocumentData) object);
867         {
868             String lhsHangarId;
869             lhsHangarId = this.getHangarId();
870             String rhsHangarId;
871             rhsHangarId = that.getHangarId();
872             if (!strategy.equals(LocatorUtils.property(thisLocator, "hangarId", lhsHangarId), LocatorUtils.property(thatLocator, "hangarId", rhsHangarId), lhsHangarId, rhsHangarId)) {
873                 return false;
874             }
875         }
876         {
877             String lhsId;
878             lhsId = this.getId();
879             String rhsId;
880             rhsId = that.getId();
881             if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
882                 return false;
883             }
884         }
885         {
886             String lhsRm;
887             lhsRm = this.getRm();
888             String rhsRm;
889             rhsRm = that.getRm();
890             if (!strategy.equals(LocatorUtils.property(thisLocator, "rm", lhsRm), LocatorUtils.property(thatLocator, "rm", rhsRm), lhsRm, rhsRm)) {
891                 return false;
892             }
893         }
894         {
895             String lhsLabel;
896             lhsLabel = this.getLabel();
897             String rhsLabel;
898             rhsLabel = that.getLabel();
899             if (!strategy.equals(LocatorUtils.property(thisLocator, "label", lhsLabel), LocatorUtils.property(thatLocator, "label", rhsLabel), lhsLabel, rhsLabel)) {
900                 return false;
901             }
902         }
903         {
904             String lhsDocumentType;
905             lhsDocumentType = this.getDocumentType();
906             String rhsDocumentType;
907             rhsDocumentType = that.getDocumentType();
908             if (!strategy.equals(LocatorUtils.property(thisLocator, "documentType", lhsDocumentType), LocatorUtils.property(thatLocator, "documentType", rhsDocumentType), lhsDocumentType, rhsDocumentType)) {
909                 return false;
910             }
911         }
912         {
913             String lhsSubType;
914             lhsSubType = this.getSubType();
915             String rhsSubType;
916             rhsSubType = that.getSubType();
917             if (!strategy.equals(LocatorUtils.property(thisLocator, "subType", lhsSubType), LocatorUtils.property(thatLocator, "subType", rhsSubType), lhsSubType, rhsSubType)) {
918                 return false;
919             }
920         }
921         {
922             String lhsTempLabel;
923             lhsTempLabel = this.getTempLabel();
924             String rhsTempLabel;
925             rhsTempLabel = that.getTempLabel();
926             if (!strategy.equals(LocatorUtils.property(thisLocator, "tempLabel", lhsTempLabel), LocatorUtils.property(thatLocator, "tempLabel", rhsTempLabel), lhsTempLabel, rhsTempLabel)) {
927                 return false;
928             }
929         }
930         {
931             String lhsOrg;
932             lhsOrg = this.getOrg();
933             String rhsOrg;
934             rhsOrg = that.getOrg();
935             if (!strategy.equals(LocatorUtils.property(thisLocator, "org", lhsOrg), LocatorUtils.property(thatLocator, "org", rhsOrg), lhsOrg, rhsOrg)) {
936                 return false;
937             }
938         }
939         {
940             BigInteger lhsNumberValue;
941             lhsNumberValue = this.getNumberValue();
942             BigInteger rhsNumberValue;
943             rhsNumberValue = that.getNumberValue();
944             if (!strategy.equals(LocatorUtils.property(thisLocator, "numberValue", lhsNumberValue), LocatorUtils.property(thatLocator, "numberValue", rhsNumberValue), lhsNumberValue, rhsNumberValue)) {
945                 return false;
946             }
947         }
948         {
949             BigInteger lhsFinalNumber;
950             lhsFinalNumber = this.getFinalNumber();
951             BigInteger rhsFinalNumber;
952             rhsFinalNumber = that.getFinalNumber();
953             if (!strategy.equals(LocatorUtils.property(thisLocator, "finalNumber", lhsFinalNumber), LocatorUtils.property(thatLocator, "finalNumber", rhsFinalNumber), lhsFinalNumber, rhsFinalNumber)) {
954                 return false;
955             }
956         }
957         {
958             Date lhsMadePublicDate;
959             lhsMadePublicDate = this.getMadePublicDate();
960             Date rhsMadePublicDate;
961             rhsMadePublicDate = that.getMadePublicDate();
962             if (!strategy.equals(LocatorUtils.property(thisLocator, "madePublicDate", lhsMadePublicDate), LocatorUtils.property(thatLocator, "madePublicDate", rhsMadePublicDate), lhsMadePublicDate, rhsMadePublicDate)) {
963                 return false;
964             }
965         }
966         {
967             String lhsTitle;
968             lhsTitle = this.getTitle();
969             String rhsTitle;
970             rhsTitle = that.getTitle();
971             if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle)) {
972                 return false;
973             }
974         }
975         {
976             String lhsSubTitle;
977             lhsSubTitle = this.getSubTitle();
978             String rhsSubTitle;
979             rhsSubTitle = that.getSubTitle();
980             if (!strategy.equals(LocatorUtils.property(thisLocator, "subTitle", lhsSubTitle), LocatorUtils.property(thatLocator, "subTitle", rhsSubTitle), lhsSubTitle, rhsSubTitle)) {
981                 return false;
982             }
983         }
984         {
985             String lhsDocumentUrlText;
986             lhsDocumentUrlText = this.getDocumentUrlText();
987             String rhsDocumentUrlText;
988             rhsDocumentUrlText = that.getDocumentUrlText();
989             if (!strategy.equals(LocatorUtils.property(thisLocator, "documentUrlText", lhsDocumentUrlText), LocatorUtils.property(thatLocator, "documentUrlText", rhsDocumentUrlText), lhsDocumentUrlText, rhsDocumentUrlText)) {
990                 return false;
991             }
992         }
993         {
994             String lhsDocumentUrlHtml;
995             lhsDocumentUrlHtml = this.getDocumentUrlHtml();
996             String rhsDocumentUrlHtml;
997             rhsDocumentUrlHtml = that.getDocumentUrlHtml();
998             if (!strategy.equals(LocatorUtils.property(thisLocator, "documentUrlHtml", lhsDocumentUrlHtml), LocatorUtils.property(thatLocator, "documentUrlHtml", rhsDocumentUrlHtml), lhsDocumentUrlHtml, rhsDocumentUrlHtml)) {
999                 return false;
1000             }
1001         }
1002         {
1003             String lhsDocumentStatusUrlXml;
1004             lhsDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
1005             String rhsDocumentStatusUrlXml;
1006             rhsDocumentStatusUrlXml = that.getDocumentStatusUrlXml();
1007             if (!strategy.equals(LocatorUtils.property(thisLocator, "documentStatusUrlXml", lhsDocumentStatusUrlXml), LocatorUtils.property(thatLocator, "documentStatusUrlXml", rhsDocumentStatusUrlXml), lhsDocumentStatusUrlXml, rhsDocumentStatusUrlXml)) {
1008                 return false;
1009             }
1010         }
1011         {
1012             String lhsDocumentStatusUrlWWW;
1013             lhsDocumentStatusUrlWWW = this.getDocumentStatusUrlWWW();
1014             String rhsDocumentStatusUrlWWW;
1015             rhsDocumentStatusUrlWWW = that.getDocumentStatusUrlWWW();
1016             if (!strategy.equals(LocatorUtils.property(thisLocator, "documentStatusUrlWWW", lhsDocumentStatusUrlWWW), LocatorUtils.property(thatLocator, "documentStatusUrlWWW", rhsDocumentStatusUrlWWW), lhsDocumentStatusUrlWWW, rhsDocumentStatusUrlWWW)) {
1017                 return false;
1018             }
1019         }
1020         {
1021             String lhsCommitteeReportUrlXml;
1022             lhsCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
1023             String rhsCommitteeReportUrlXml;
1024             rhsCommitteeReportUrlXml = that.getCommitteeReportUrlXml();
1025             if (!strategy.equals(LocatorUtils.property(thisLocator, "committeeReportUrlXml", lhsCommitteeReportUrlXml), LocatorUtils.property(thatLocator, "committeeReportUrlXml", rhsCommitteeReportUrlXml), lhsCommitteeReportUrlXml, rhsCommitteeReportUrlXml)) {
1026                 return false;
1027             }
1028         }
1029         {
1030             String lhsStatus;
1031             lhsStatus = this.getStatus();
1032             String rhsStatus;
1033             rhsStatus = that.getStatus();
1034             if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus)) {
1035                 return false;
1036             }
1037         }
1038         return true;
1039     }
1040 
1041     public boolean equals(Object object) {
1042         final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
1043         return equals(null, null, object, strategy);
1044     }
1045 
1046     public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1047         int currentHashCode = 1;
1048         {
1049             String theHangarId;
1050             theHangarId = this.getHangarId();
1051             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hangarId", theHangarId), currentHashCode, theHangarId);
1052         }
1053         {
1054             String theId;
1055             theId = this.getId();
1056             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
1057         }
1058         {
1059             String theRm;
1060             theRm = this.getRm();
1061             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rm", theRm), currentHashCode, theRm);
1062         }
1063         {
1064             String theLabel;
1065             theLabel = this.getLabel();
1066             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "label", theLabel), currentHashCode, theLabel);
1067         }
1068         {
1069             String theDocumentType;
1070             theDocumentType = this.getDocumentType();
1071             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentType", theDocumentType), currentHashCode, theDocumentType);
1072         }
1073         {
1074             String theSubType;
1075             theSubType = this.getSubType();
1076             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subType", theSubType), currentHashCode, theSubType);
1077         }
1078         {
1079             String theTempLabel;
1080             theTempLabel = this.getTempLabel();
1081             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempLabel", theTempLabel), currentHashCode, theTempLabel);
1082         }
1083         {
1084             String theOrg;
1085             theOrg = this.getOrg();
1086             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "org", theOrg), currentHashCode, theOrg);
1087         }
1088         {
1089             BigInteger theNumberValue;
1090             theNumberValue = this.getNumberValue();
1091             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "numberValue", theNumberValue), currentHashCode, theNumberValue);
1092         }
1093         {
1094             BigInteger theFinalNumber;
1095             theFinalNumber = this.getFinalNumber();
1096             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "finalNumber", theFinalNumber), currentHashCode, theFinalNumber);
1097         }
1098         {
1099             Date theMadePublicDate;
1100             theMadePublicDate = this.getMadePublicDate();
1101             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "madePublicDate", theMadePublicDate), currentHashCode, theMadePublicDate);
1102         }
1103         {
1104             String theTitle;
1105             theTitle = this.getTitle();
1106             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle);
1107         }
1108         {
1109             String theSubTitle;
1110             theSubTitle = this.getSubTitle();
1111             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subTitle", theSubTitle), currentHashCode, theSubTitle);
1112         }
1113         {
1114             String theDocumentUrlText;
1115             theDocumentUrlText = this.getDocumentUrlText();
1116             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentUrlText", theDocumentUrlText), currentHashCode, theDocumentUrlText);
1117         }
1118         {
1119             String theDocumentUrlHtml;
1120             theDocumentUrlHtml = this.getDocumentUrlHtml();
1121             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentUrlHtml", theDocumentUrlHtml), currentHashCode, theDocumentUrlHtml);
1122         }
1123         {
1124             String theDocumentStatusUrlXml;
1125             theDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
1126             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentStatusUrlXml", theDocumentStatusUrlXml), currentHashCode, theDocumentStatusUrlXml);
1127         }
1128         {
1129             String theDocumentStatusUrlWWW;
1130             theDocumentStatusUrlWWW = this.getDocumentStatusUrlWWW();
1131             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentStatusUrlWWW", theDocumentStatusUrlWWW), currentHashCode, theDocumentStatusUrlWWW);
1132         }
1133         {
1134             String theCommitteeReportUrlXml;
1135             theCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
1136             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "committeeReportUrlXml", theCommitteeReportUrlXml), currentHashCode, theCommitteeReportUrlXml);
1137         }
1138         {
1139             String theStatus;
1140             theStatus = this.getStatus();
1141             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus);
1142         }
1143         return currentHashCode;
1144     }
1145 
1146     public int hashCode() {
1147         final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1148         return this.hashCode(null, strategy);
1149     }
1150 
1151 }