001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 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: 2013.04.21 at 08:43:19 PM CEST 006// 007 008 009package org.jomc.model.test; 010 011import javax.annotation.Generated; 012import javax.xml.bind.annotation.XmlAccessType; 013import javax.xml.bind.annotation.XmlAccessorType; 014import javax.xml.bind.annotation.XmlAttribute; 015import javax.xml.bind.annotation.XmlType; 016 017 018/** 019 * <p>Java class for ModelValidationReportDetail complex type. 020 * 021 * <p>The following schema fragment specifies the expected content contained within this class. 022 * 023 * <pre> 024 * <complexType name="ModelValidationReportDetail"> 025 * <complexContent> 026 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 027 * <attribute name="identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 028 * <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> 029 * </restriction> 030 * </complexContent> 031 * </complexType> 032 * </pre> 033 * 034 * 035 */ 036@XmlAccessorType(XmlAccessType.FIELD) 037@XmlType(name = "ModelValidationReportDetail", namespace = "http://jomc.org/model/test") 038@Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 039public class ModelValidationReportDetail implements Cloneable 040{ 041 042 @XmlAttribute(name = "identifier", required = true) 043 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 044 protected String identifier; 045 @XmlAttribute(name = "count", required = true) 046 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 047 protected int count; 048 049 /** 050 * Creates a new {@code ModelValidationReportDetail} instance. 051 * 052 */ 053 public ModelValidationReportDetail() { 054 // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000 055 super(); 056 } 057 058 /** 059 * Creates a new {@code ModelValidationReportDetail} instance by deeply copying a given {@code ModelValidationReportDetail} instance. 060 * 061 * 062 * @param o 063 * The instance to copy. 064 * @throws NullPointerException 065 * if {@code o} is {@code null}. 066 */ 067 public ModelValidationReportDetail(final ModelValidationReportDetail o) { 068 // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000 069 super(); 070 if (o == null) { 071 throw new NullPointerException("Cannot create a copy of 'ModelValidationReportDetail' from 'null'."); 072 } 073 // CBuiltinLeafInfo: java.lang.String 074 this.identifier = ((o.identifier == null)?null:o.getIdentifier()); 075 // CBuiltinLeafInfo: java.lang.Integer 076 this.count = o.getCount(); 077 } 078 079 /** 080 * Gets the value of the identifier property. 081 * 082 * @return 083 * possible object is 084 * {@link String } 085 * 086 */ 087 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 088 public String getIdentifier() { 089 return identifier; 090 } 091 092 /** 093 * Sets the value of the identifier property. 094 * 095 * @param value 096 * allowed object is 097 * {@link String } 098 * 099 */ 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}