EMMA Coverage Report (generated Thu Jan 03 04:54:40 CET 2013)
[all classes][org.jomc.model]

COVERAGE SUMMARY FOR SOURCE FILE [Author.java]

nameclass, %method, %block, %line, %
Author.java0%   (0/1)0%   (0/5)0%   (0/45)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Author0%   (0/1)0%   (0/5)0%   (0/45)0%   (0/13)
Author (): void 0%   (0/1)0%   (0/3)0%   (0/2)
Author (Author): void 0%   (0/1)0%   (0/20)0%   (0/5)
clone (): Author 0%   (0/1)0%   (0/15)0%   (0/3)
getVersion (): String 0%   (0/1)0%   (0/3)0%   (0/1)
setVersion (String): void 0%   (0/1)0%   (0/4)0%   (0/2)

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.01.03 at 05:01:35 AM CET 
6//
7 
8 
9package org.jomc.model;
10 
11import javax.annotation.Generated;
12import javax.xml.bind.annotation.XmlAccessType;
13import javax.xml.bind.annotation.XmlAccessorType;
14import javax.xml.bind.annotation.XmlAttribute;
15import javax.xml.bind.annotation.XmlType;
16import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
17import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18 
19 
20/**
21 * 
22 * Model of an author.
23 * 
24 * The 'Author' type extends the 'Person' type adding attribute 'version' holding a version created by the author.
25 *       
26 * 
27 * <p>Java class for Author complex type.
28 * 
29 * <p>The following schema fragment specifies the expected content contained within this class.
30 * 
31 * <pre>
32 * &lt;complexType name="Author">
33 *   &lt;complexContent>
34 *     &lt;extension base="{http://jomc.org/model}Person">
35 *       &lt;attribute name="version" type="{http://jomc.org/model}Version" />
36 *     &lt;/extension>
37 *   &lt;/complexContent>
38 * &lt;/complexType>
39 * </pre>
40 * 
41 * 
42 */
43@XmlAccessorType(XmlAccessType.FIELD)
44@XmlType(name = "Author", namespace = "http://jomc.org/model")
45@Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-03T05:01:35+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
46public class Author
47    extends Person
48    implements Cloneable
49{
50 
51    @XmlAttribute(name = "version")
52    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
53    @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-03T05:01:35+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
54    protected String version;
55 
56    /**
57     * Creates a new {@code Author} instance.
58     * 
59     */
60    public Author() {
61        // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
62        super();
63    }
64 
65    /**
66     * Creates a new {@code Author} instance by deeply copying a given {@code Author} instance.
67     * 
68     * 
69     * @param o
70     *     The instance to copy.
71     * @throws NullPointerException
72     *     if {@code o} is {@code null}.
73     */
74    public Author(final Author o) {
75        // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
76        super(o);
77        if (o == null) {
78            throw new NullPointerException("Cannot create a copy of 'Author' from 'null'.");
79        }
80        // CBuiltinLeafInfo: java.lang.String
81        this.version = ((o.version == null)?null:o.getVersion());
82    }
83 
84    /**
85     * The version created by this author or {@code null}.
86     * 
87     * @return
88     *     possible object is
89     *     {@link String }
90     *     
91     */
92    @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-03T05:01:35+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
93    public String getVersion() {
94        return version;
95    }
96 
97    /**
98     * Sets the value of the version property.
99     * 
100     * @param value
101     *     allowed object is
102     *     {@link String }
103     *     
104     */
105    @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-03T05:01:35+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
106    public void setVersion(String value) {
107        this.version = value;
108    }
109 
110    /**
111     * Creates and returns a deep copy of this object.
112     * 
113     * 
114     * @return
115     *     A deep copy of this object.
116     */
117    @Override
118    @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-03T05:01:35+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
119    public Author clone() {
120        {
121            // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
122            final Author clone = ((Author) super.clone());
123            // CBuiltinLeafInfo: java.lang.String
124            clone.version = ((this.version == null)?null:this.getVersion());
125            return clone;
126        }
127    }
128 
129}

[all classes][org.jomc.model]
EMMA 2.1.5320 (stable) (C) Vladimir Roubtsov