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

COVERAGE SUMMARY FOR SOURCE FILE [ArgumentType.java]

nameclass, %method, %block, %line, %
ArgumentType.java100% (1/1)50%  (3/6)62%  (60/96)61%  (7.9/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ArgumentType100% (1/1)50%  (3/6)62%  (60/96)61%  (7.9/13)
fromValue (String): ArgumentType 0%   (0/1)0%   (0/28)0%   (0/4)
value (): String 0%   (0/1)0%   (0/3)0%   (0/1)
valueOf (String): ArgumentType 0%   (0/1)0%   (0/5)0%   (0/1)
<static initializer> 100% (1/1)100% (48/48)100% (5/5)
ArgumentType (String, int, String): void 100% (1/1)100% (8/8)100% (3/3)
values (): ArgumentType [] 100% (1/1)100% (4/4)100% (1/1)

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.XmlEnum;
13import javax.xml.bind.annotation.XmlEnumValue;
14import javax.xml.bind.annotation.XmlType;
15 
16 
17/**
18 * <p>Java class for ArgumentType.
19 * 
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 * <p>
22 * <pre>
23 * &lt;simpleType name="ArgumentType">
24 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
25 *     &lt;enumeration value="Number"/>
26 *     &lt;enumeration value="Date"/>
27 *     &lt;enumeration value="Time"/>
28 *     &lt;enumeration value="Text"/>
29 *   &lt;/restriction>
30 * &lt;/simpleType>
31 * </pre>
32 * 
33 */
34@XmlType(name = "ArgumentType", namespace = "http://jomc.org/model")
35@XmlEnum
36@Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-03T05:01:35+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
37public enum ArgumentType {
38 
39 
40    /**
41     * Argument of type {@code java.lang.Number}.
42     * 
43     */
44    @XmlEnumValue("Number")
45    NUMBER("Number"),
46 
47    /**
48     * Argument of type {@code java.util.Date}.
49     * 
50     */
51    @XmlEnumValue("Date")
52    DATE("Date"),
53 
54    /**
55     * Argument of type {@code java.util.Date}.
56     * 
57     */
58    @XmlEnumValue("Time")
59    TIME("Time"),
60 
61    /**
62     * Argument of type {@code java.lang.String}.
63     * 
64     */
65    @XmlEnumValue("Text")
66    TEXT("Text");
67    private final String value;
68 
69    ArgumentType(String v) {
70        value = v;
71    }
72 
73    public String value() {
74        return value;
75    }
76 
77    public static ArgumentType fromValue(String v) {
78        for (ArgumentType c: ArgumentType.values()) {
79            if (c.value.equals(v)) {
80                return c;
81            }
82        }
83        throw new IllegalArgumentException(v);
84    }
85 
86}

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