public enum SomeEnum extends Enum<SomeEnum>
| Enum Constant and Description | 
|---|
| ARepresents the database value x. | 
| BRepresents the database value y. | 
| CRepresents the database value z. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SomeEnum | getByValue(String arg) | 
| String | getValue() | 
| static SomeEnum | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SomeEnum[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SomeEnum A
public static final SomeEnum B
public static final SomeEnum C
public static SomeEnum[] values()
for (SomeEnum c : SomeEnum.values()) System.out.println(c);
public static SomeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.