View Javadoc

1   package org.fosstrak.epcis.model;
2   
3   import javax.xml.bind.annotation.XmlEnum;
4   import javax.xml.bind.annotation.XmlType;
5   
6   /**
7    * <p>
8    * Java class for ImplementationExceptionSeverity.
9    * <p>
10   * The following schema fragment specifies the expected content contained within
11   * this class.
12   * <p>
13   * 
14   * <pre>
15   * &lt;simpleType name="ImplementationExceptionSeverity">
16   *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
17   *     &lt;enumeration value="ERROR"/>
18   *     &lt;enumeration value="SEVERE"/>
19   *   &lt;/restriction>
20   * &lt;/simpleType>
21   * </pre>
22   */
23  @XmlType(name = "ImplementationExceptionSeverity")
24  @XmlEnum
25  public enum ImplementationExceptionSeverity {
26  
27      ERROR, SEVERE;
28  
29      public String value() {
30          return name();
31      }
32  
33      public static ImplementationExceptionSeverity fromValue(String v) {
34          return valueOf(v);
35      }
36  
37  }