EMMA Coverage Report (generated Tue Jun 29 17:59:02 CEST 2010)
[all classes][org.jomc.standalone.model]

COVERAGE SUMMARY FOR SOURCE FILE [TransactionAttributeType.java]

nameclass, %method, %block, %line, %
TransactionAttributeType.java100% (1/1)50%  (3/6)69%  (82/118)66%  (9.9/15)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class TransactionAttributeType100% (1/1)50%  (3/6)69%  (82/118)66%  (9.9/15)
fromValue (String): TransactionAttributeType 0%   (0/1)0%   (0/28)0%   (0/4)
value (): String 0%   (0/1)0%   (0/3)0%   (0/1)
valueOf (String): TransactionAttributeType 0%   (0/1)0%   (0/5)0%   (0/1)
<static initializer> 100% (1/1)100% (70/70)100% (7/7)
TransactionAttributeType (String, int, String): void 100% (1/1)100% (8/8)100% (3/3)
values (): TransactionAttributeType [] 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-833 
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: 2010.06.29 at 05:55:18 PM CEST 
6//
7 
8 
9package org.jomc.standalone.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 TransactionAttributeType.
19 * 
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 * <p>
22 * <pre>
23 * &lt;simpleType name="TransactionAttributeType">
24 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
25 *     &lt;enumeration value="NotSupported"/>
26 *     &lt;enumeration value="Supports"/>
27 *     &lt;enumeration value="Required"/>
28 *     &lt;enumeration value="RequiresNew"/>
29 *     &lt;enumeration value="Mandatory"/>
30 *     &lt;enumeration value="Never"/>
31 *   &lt;/restriction>
32 * &lt;/simpleType>
33 * </pre>
34 * 
35 */
36@XmlType(name = "TransactionAttributeType")
37@XmlEnum
38@Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T05:55:18+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
39public enum TransactionAttributeType {
40 
41    @XmlEnumValue("NotSupported")
42    NOT_SUPPORTED("NotSupported"),
43    @XmlEnumValue("Supports")
44    SUPPORTS("Supports"),
45    @XmlEnumValue("Required")
46    REQUIRED("Required"),
47    @XmlEnumValue("RequiresNew")
48    REQUIRES_NEW("RequiresNew"),
49    @XmlEnumValue("Mandatory")
50    MANDATORY("Mandatory"),
51    @XmlEnumValue("Never")
52    NEVER("Never");
53    private final String value;
54 
55    TransactionAttributeType(String v) {
56        value = v;
57    }
58 
59    public String value() {
60        return value;
61    }
62 
63    public static TransactionAttributeType fromValue(String v) {
64        for (TransactionAttributeType c: TransactionAttributeType.values()) {
65            if (c.value.equals(v)) {
66                return c;
67            }
68        }
69        throw new IllegalArgumentException(v);
70    }
71 
72}

[all classes][org.jomc.standalone.model]
EMMA 2.0.5312 (C) Vladimir Roubtsov