Enum EContainmentOption
- java.lang.Object
-
- java.lang.Enum<EContainmentOption>
-
- org.neotropic.kuwaiba.modules.core.containmentman.general.EContainmentOption
-
- All Implemented Interfaces:
Serializable
,Comparable<EContainmentOption>
public enum EContainmentOption extends Enum<EContainmentOption>
Options display in combo box used in main containment manager UI.- Author:
- Hardy Ryan Chingal Martinez <ryan.chingal@kuwaiba.org>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EContainmentOption
get(String abbreviation)
String
getValue()
Return description for enum valuestatic EContainmentOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static EContainmentOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE
public static final EContainmentOption SIMPLE
-
SPECIAL
public static final EContainmentOption SPECIAL
-
-
Method Detail
-
values
public static EContainmentOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EContainmentOption c : EContainmentOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EContainmentOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
Return description for enum value- Returns:
- the state
-
get
public static EContainmentOption get(String abbreviation)
-
-