| 1 | package org.virtualbox_4_0;
|
|---|
| 2 |
|
|---|
| 3 | public enum VirtualSystemDescriptionType
|
|---|
| 4 | {
|
|---|
| 5 | IGNORE(1),
|
|---|
| 6 | OS(2),
|
|---|
| 7 | NAME(3),
|
|---|
| 8 | PRODUCT(4),
|
|---|
| 9 | VENDOR(5),
|
|---|
| 10 | VERSION(6),
|
|---|
| 11 | PRODUCTURL(7),
|
|---|
| 12 | VENDORURL(8),
|
|---|
| 13 | DESCRIPTOR(9),
|
|---|
| 14 | LICENSE(10),
|
|---|
| 15 | MISCELLANEOUS(11),
|
|---|
| 16 | CPU(12),
|
|---|
| 17 | MEMORY(13),
|
|---|
| 18 | HARD_DISK_CONTROLLER_IDE(14),
|
|---|
| 19 | HARD_DISK_CONTROLLER_SATA(15),
|
|---|
| 20 | HARD_DISK_CONTROLLER_SCSI(16),
|
|---|
| 21 | HARD_DISK_CONTROLLER_RSAS(17),
|
|---|
| 22 | HARD_DISK_IMAGE(18),
|
|---|
| 23 | FLOPPY(19),
|
|---|
| 24 | CDROM(20),
|
|---|
| 25 | NETWORK_ADAPTER(21),
|
|---|
| 26 | USB_CONTROLLER(22),
|
|---|
| 27 | SOUNDCARD(23);
|
|---|
| 28 |
|
|---|
| 29 | private final int value;
|
|---|
| 30 |
|
|---|
| 31 | private VirtualSystemDescriptionType(int paramInt) { this.value = paramInt; }
|
|---|
| 32 |
|
|---|
| 33 | public int value()
|
|---|
| 34 | {
|
|---|
| 35 | return this.value;
|
|---|
| 36 | }
|
|---|
| 37 |
|
|---|
| 38 | public static VirtualSystemDescriptionType fromValue(long paramLong) {
|
|---|
| 39 | for (VirtualSystemDescriptionType localVirtualSystemDescriptionType : values()) {
|
|---|
| 40 | if (localVirtualSystemDescriptionType.value == (int)paramLong) {
|
|---|
| 41 | return localVirtualSystemDescriptionType;
|
|---|
| 42 | }
|
|---|
| 43 | }
|
|---|
| 44 | throw new IllegalArgumentException(Long.toString(paramLong));
|
|---|
| 45 | }
|
|---|
| 46 |
|
|---|
| 47 | public static VirtualSystemDescriptionType fromValue(String paramString) {
|
|---|
| 48 | return (VirtualSystemDescriptionType)valueOf(VirtualSystemDescriptionType.class, paramString);
|
|---|
| 49 | }
|
|---|
| 50 | }
|
|---|