Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.talend.esb.sam._2011._03.common;
 

Java class for eventEnumType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="eventEnumType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="REQ_IN"/>
     <enumeration value="REQ_OUT"/>
     <enumeration value="RESP_IN"/>
     <enumeration value="RESP_OUT"/>
     <enumeration value="FAULT_IN"/>
     <enumeration value="FAULT_OUT"/>
     <enumeration value="LOG"/>
     <enumeration value="UNKNOWN"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "eventEnumType")
public enum EventEnumType {
    REQ_IN,
    REQ_OUT,
    RESP_IN,
    RESP_OUT,
    FAULT_IN,
    FAULT_OUT,
    LOG,
    UNKNOWN;
    public String value() {
        return name();
    }
    public static EventEnumType fromValue(String v) {
        return valueOf(v);
    }
New to GrepCode? Check out our FAQ X