001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2009.10.06 at 06:49:47 AM UTC 
006    //
007    
008    
009    package org.jomc.model.test;
010    
011    import javax.annotation.Generated;
012    import javax.xml.bind.annotation.XmlAccessType;
013    import javax.xml.bind.annotation.XmlAccessorType;
014    import javax.xml.bind.annotation.XmlAttribute;
015    import javax.xml.bind.annotation.XmlType;
016    
017    
018    /**
019     * <p>Java class for ModelExceptionDetail complex type.
020     * 
021     * <p>The following schema fragment specifies the expected content contained within this class.
022     * 
023     * <pre>
024     * &lt;complexType name="ModelExceptionDetail">
025     *   &lt;complexContent>
026     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
027     *       &lt;attribute name="identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
028     *       &lt;attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
029     *     &lt;/restriction>
030     *   &lt;/complexContent>
031     * &lt;/complexType>
032     * </pre>
033     * 
034     * 
035     */
036    @XmlAccessorType(XmlAccessType.FIELD)
037    @XmlType(name = "ModelExceptionDetail")
038    @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
039    public class ModelExceptionDetail
040        implements Cloneable
041    {
042    
043        @XmlAttribute(required = true)
044        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
045        protected String identifier;
046        @XmlAttribute(required = true)
047        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
048        protected int count;
049    
050        /**
051         * Creates a new {@code ModelExceptionDetail} instance.
052         * 
053         */
054        public ModelExceptionDetail() {
055             // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
056            super();
057        }
058    
059        /**
060         * Creates a new {@code ModelExceptionDetail} instance by deeply copying a given instance.
061         * 
062         * @param o
063         *     The instance to copy or {@code null}.
064         */
065        public ModelExceptionDetail(final ModelExceptionDetail o) {
066             // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
067            super();
068            if (o!= null) {
069                {
070                    // CBuiltinLeafInfo: java.lang.String
071                    this.identifier = ((String) o.getIdentifier());
072                    // CBuiltinLeafInfo: java.lang.Integer
073                    this.count = ((Integer) o.getCount());
074                }
075            }
076        }
077    
078        /**
079         * Identifier of the detail.
080         * 
081         * @return
082         *     possible object is
083         *     {@link String }
084         *     
085         */
086        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
087        public String getIdentifier() {
088            return identifier;
089        }
090    
091        /**
092         * Sets the value of the identifier property.
093         * 
094         * @param value
095         *     allowed object is
096         *     {@link String }
097         *     
098         */
099        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
100        public void setIdentifier(String value) {
101            this.identifier = value;
102        }
103    
104        /**
105         * Number of expected details with {@code identifier}.
106         * 
107         */
108        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
109        public int getCount() {
110            return count;
111        }
112    
113        /**
114         * Sets the value of the count property.
115         * 
116         */
117        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
118        public void setCount(int value) {
119            this.count = value;
120        }
121    
122        /**
123         * Creates and returns a deep copy of this object.
124         * 
125         * 
126         * @return
127         *     A deep copy of this object.
128         */
129        @Override
130        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:49:47+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
131        public ModelExceptionDetail clone() {
132             // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
133            return new ModelExceptionDetail(this);
134        }
135    
136    }