Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package se.riv.itintegration.messagebox.v1;
 

Java class for ResultCodeEnum.

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

 <simpleType name="ResultCodeEnum">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="OK"/>
     <enumeration value="ERROR"/>
     <enumeration value="INFO"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "ResultCodeEnum")
public enum ResultCodeEnum {
    OK,
    ERROR,
    INFO;
    public String value() {
        return name();
    }
    public static ResultCodeEnum fromValue(String v) {
        return valueOf(v);
    }
New to GrepCode? Check out our FAQ X