View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
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: 2013.04.21 at 08:43:19 PM CEST 
6   //
7   
8   
9   package org.jomc.model.test;
10  
11  import javax.annotation.Generated;
12  import javax.xml.bind.annotation.XmlAccessType;
13  import javax.xml.bind.annotation.XmlAccessorType;
14  import javax.xml.bind.annotation.XmlAttribute;
15  import javax.xml.bind.annotation.XmlType;
16  
17  
18  /**
19   * <p>Java class for ModelValidationReportDetail complex type.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;complexType name="ModelValidationReportDetail">
25   *   &lt;complexContent>
26   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27   *       &lt;attribute name="identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
28   *       &lt;attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
29   *     &lt;/restriction>
30   *   &lt;/complexContent>
31   * &lt;/complexType>
32   * </pre>
33   * 
34   * 
35   */
36  @XmlAccessorType(XmlAccessType.FIELD)
37  @XmlType(name = "ModelValidationReportDetail", namespace = "http://jomc.org/model/test")
38  @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
39  public class ModelValidationReportDetail implements Cloneable
40  {
41  
42      @XmlAttribute(name = "identifier", required = true)
43      @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
44      protected String identifier;
45      @XmlAttribute(name = "count", required = true)
46      @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
47      protected int count;
48  
49      /**
50       * Creates a new {@code ModelValidationReportDetail} instance.
51       * 
52       */
53      public ModelValidationReportDetail() {
54          // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
55          super();
56      }
57  
58      /**
59       * Creates a new {@code ModelValidationReportDetail} instance by deeply copying a given {@code ModelValidationReportDetail} instance.
60       * 
61       * 
62       * @param o
63       *     The instance to copy.
64       * @throws NullPointerException
65       *     if {@code o} is {@code null}.
66       */
67      public ModelValidationReportDetail(final ModelValidationReportDetail o) {
68          // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
69          super();
70          if (o == null) {
71              throw new NullPointerException("Cannot create a copy of 'ModelValidationReportDetail' from 'null'.");
72          }
73          // CBuiltinLeafInfo: java.lang.String
74          this.identifier = ((o.identifier == null)?null:o.getIdentifier());
75          // CBuiltinLeafInfo: java.lang.Integer
76          this.count = o.getCount();
77      }
78  
79      /**
80       * Gets the value of the identifier property.
81       * 
82       * @return
83       *     possible object is
84       *     {@link String }
85       *     
86       */
87      @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
88      public String getIdentifier() {
89          return identifier;
90      }
91  
92      /**
93       * Sets the value of the identifier property.
94       * 
95       * @param value
96       *     allowed object is
97       *     {@link String }
98       *     
99       */
100     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
101     public void setIdentifier(String value) {
102         this.identifier = value;
103     }
104 
105     /**
106      * Gets the value of the count property.
107      * 
108      */
109     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
110     public int getCount() {
111         return count;
112     }
113 
114     /**
115      * Sets the value of the count property.
116      * 
117      */
118     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
119     public void setCount(int value) {
120         this.count = value;
121     }
122 
123     /**
124      * Creates and returns a deep copy of this object.
125      * 
126      * 
127      * @return
128      *     A deep copy of this object.
129      */
130     @Override
131     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
132     public ModelValidationReportDetail clone() {
133         try {
134             {
135                 // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
136                 final ModelValidationReportDetail clone = ((ModelValidationReportDetail) super.clone());
137                 // CBuiltinLeafInfo: java.lang.String
138                 clone.identifier = ((this.identifier == null)?null:this.getIdentifier());
139                 // CBuiltinLeafInfo: java.lang.Integer
140                 clone.count = this.getCount();
141                 return clone;
142             }
143         } catch (CloneNotSupportedException e) {
144             // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/
145             throw new AssertionError(e);
146         }
147     }
148 
149 }