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

COVERAGE SUMMARY FOR SOURCE FILE [Multiplicity.java]

nameclass, %method, %block, %line, %
Multiplicity.java100% (1/1)67%  (4/6)55%  (41/74)62%  (6.8/11)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Multiplicity100% (1/1)67%  (4/6)55%  (41/74)62%  (6.8/11)
fromValue (String): Multiplicity 0%   (0/1)0%   (0/28)0%   (0/4)
valueOf (String): Multiplicity 0%   (0/1)0%   (0/5)0%   (0/1)
<static initializer> 100% (1/1)100% (26/26)100% (3/3)
Multiplicity (String, int, String): void 100% (1/1)100% (8/8)100% (3/3)
value (): String 100% (1/1)100% (3/3)100% (1/1)
values (): Multiplicity [] 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 Multiplicity.
19 * 
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 * <p>
22 * <pre>
23 * &lt;simpleType name="Multiplicity">
24 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
25 *     &lt;enumeration value="One"/>
26 *     &lt;enumeration value="Many"/>
27 *   &lt;/restriction>
28 * &lt;/simpleType>
29 * </pre>
30 * 
31 */
32@XmlType(name = "Multiplicity", namespace = "http://jomc.org/model")
33@XmlEnum
34@Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-03T05:01:35+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
35public enum Multiplicity {
36 
37 
38    /**
39     * A multiplicity equal to {@code ONE} specifies that no more than one implementation of the specification is allowed to exist among a set of modules (including none).
40     * 
41     */
42    @XmlEnumValue("One")
43    ONE("One"),
44 
45    /**
46     * A multiplicity equal to {@code MANY} specifies that many implementations of the specification are allowed to exist among a set of modules (including none).
47     * 
48     */
49    @XmlEnumValue("Many")
50    MANY("Many");
51    private final String value;
52 
53    Multiplicity(String v) {
54        value = v;
55    }
56 
57    public String value() {
58        return value;
59    }
60 
61    public static Multiplicity fromValue(String v) {
62        for (Multiplicity c: Multiplicity.values()) {
63            if (c.value.equals(v)) {
64                return c;
65            }
66        }
67        throw new IllegalArgumentException(v);
68    }
69 
70}

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