Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.virtualbox_4_2.jaxws;
 

Java class for VirtualSystemDescriptionValueType.

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

 <simpleType name="VirtualSystemDescriptionValueType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="Reference"/>
     <enumeration value="Original"/>
     <enumeration value="Auto"/>
     <enumeration value="ExtraConfig"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "VirtualSystemDescriptionValueType")
    @XmlEnumValue("Reference")
    REFERENCE("Reference"),
    @XmlEnumValue("Original")
    ORIGINAL("Original"),
    @XmlEnumValue("Auto")
    AUTO("Auto"),
    @XmlEnumValue("ExtraConfig")
    EXTRA_CONFIG("ExtraConfig");
    private final String value;
         = v;
    }
    public String value() {
        return ;
    }
    public static VirtualSystemDescriptionValueType fromValue(String v) {
        for (VirtualSystemDescriptionValueType c: VirtualSystemDescriptionValueType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X