| 1 | package org.virtualbox_4_0;
|
|---|
| 2 |
|
|---|
| 3 | public enum VirtualSystemDescriptionValueType
|
|---|
| 4 | {
|
|---|
| 5 | REFERENCE(1),
|
|---|
| 6 | ORIGINAL(2),
|
|---|
| 7 | AUTO(3),
|
|---|
| 8 | EXTRACONFIG(4);
|
|---|
| 9 |
|
|---|
| 10 | private final int value;
|
|---|
| 11 |
|
|---|
| 12 | private VirtualSystemDescriptionValueType(int paramInt) { this.value = paramInt; }
|
|---|
| 13 |
|
|---|
| 14 | public int value()
|
|---|
| 15 | {
|
|---|
| 16 | return this.value;
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | public static VirtualSystemDescriptionValueType fromValue(long paramLong) {
|
|---|
| 20 | for (VirtualSystemDescriptionValueType localVirtualSystemDescriptionValueType : values()) {
|
|---|
| 21 | if (localVirtualSystemDescriptionValueType.value == (int)paramLong) {
|
|---|
| 22 | return localVirtualSystemDescriptionValueType;
|
|---|
| 23 | }
|
|---|
| 24 | }
|
|---|
| 25 | throw new IllegalArgumentException(Long.toString(paramLong));
|
|---|
| 26 | }
|
|---|
| 27 |
|
|---|
| 28 | public static VirtualSystemDescriptionValueType fromValue(String paramString) {
|
|---|
| 29 | return (VirtualSystemDescriptionValueType)valueOf(VirtualSystemDescriptionValueType.class, paramString);
|
|---|
| 30 | }
|
|---|
| 31 | }
|
|---|