Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.virtualbox_4_2.jaxws;
  

Java class for VirtualSystemDescriptionType.

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

 <simpleType name="VirtualSystemDescriptionType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="Ignore"/>
     <enumeration value="OS"/>
     <enumeration value="Name"/>
     <enumeration value="Product"/>
     <enumeration value="Vendor"/>
     <enumeration value="Version"/>
     <enumeration value="ProductUrl"/>
     <enumeration value="VendorUrl"/>
     <enumeration value="Description"/>
     <enumeration value="License"/>
     <enumeration value="Miscellaneous"/>
     <enumeration value="CPU"/>
     <enumeration value="Memory"/>
     <enumeration value="HardDiskControllerIDE"/>
     <enumeration value="HardDiskControllerSATA"/>
     <enumeration value="HardDiskControllerSCSI"/>
     <enumeration value="HardDiskControllerSAS"/>
     <enumeration value="HardDiskImage"/>
     <enumeration value="Floppy"/>
     <enumeration value="CDROM"/>
     <enumeration value="NetworkAdapter"/>
     <enumeration value="USBController"/>
     <enumeration value="SoundCard"/>
     <enumeration value="SettingsFile"/>
   </restriction>
 </simpleType>
 
 
 @XmlType(name = "VirtualSystemDescriptionType")
 
     @XmlEnumValue("Ignore")
     IGNORE("Ignore"),
     OS("OS"),
     @XmlEnumValue("Name")
     NAME("Name"),
     @XmlEnumValue("Product")
     PRODUCT("Product"),
     @XmlEnumValue("Vendor")
     VENDOR("Vendor"),
     @XmlEnumValue("Version")
     VERSION("Version"),
     @XmlEnumValue("ProductUrl")
     PRODUCT_URL("ProductUrl"),
     @XmlEnumValue("VendorUrl")
     VENDOR_URL("VendorUrl"),
     @XmlEnumValue("Description")
     DESCRIPTION("Description"),
     @XmlEnumValue("License")
     LICENSE("License"),
     @XmlEnumValue("Miscellaneous")
     MISCELLANEOUS("Miscellaneous"),
     CPU("CPU"),
     @XmlEnumValue("Memory")
     MEMORY("Memory"),
     @XmlEnumValue("HardDiskControllerIDE")
     HARD_DISK_CONTROLLER_IDE("HardDiskControllerIDE"),
     @XmlEnumValue("HardDiskControllerSATA")
     HARD_DISK_CONTROLLER_SATA("HardDiskControllerSATA"),
     @XmlEnumValue("HardDiskControllerSCSI")
     HARD_DISK_CONTROLLER_SCSI("HardDiskControllerSCSI"),
     @XmlEnumValue("HardDiskControllerSAS")
     HARD_DISK_CONTROLLER_SAS("HardDiskControllerSAS"),
     @XmlEnumValue("HardDiskImage")
     HARD_DISK_IMAGE("HardDiskImage"),
     @XmlEnumValue("Floppy")
     FLOPPY("Floppy"),
     CDROM("CDROM"),
     @XmlEnumValue("NetworkAdapter")
     NETWORK_ADAPTER("NetworkAdapter"),
     @XmlEnumValue("USBController")
     USB_CONTROLLER("USBController"),
     @XmlEnumValue("SoundCard")
     SOUND_CARD("SoundCard"),
     @XmlEnumValue("SettingsFile")
     SETTINGS_FILE("SettingsFile");
     private final String value;
 
          = v;
     }
    public String value() {
        return ;
    }
    public static VirtualSystemDescriptionType fromValue(String v) {
        for (VirtualSystemDescriptionType c: VirtualSystemDescriptionType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X