Package adalid.commons.enums
Enum EnumBitLabelSet
- java.lang.Object
-
- java.lang.Enum<EnumBitLabelSet>
-
- adalid.commons.enums.EnumBitLabelSet
-
- All Implemented Interfaces:
Serializable,Comparable<EnumBitLabelSet>
public enum EnumBitLabelSet extends Enum<EnumBitLabelSet>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_OR_INACTIVEON_OR_OFFPOSITIVE_OR_NEGATIVEPRESENT_OR_ABSENTTRUE_OR_FALSEYES_OR_NO
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnumBitLabelSetvalueOf(String name)Returns the enum constant of this type with the specified name.static EnumBitLabelSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YES_OR_NO
public static final EnumBitLabelSet YES_OR_NO
-
ACTIVE_OR_INACTIVE
public static final EnumBitLabelSet ACTIVE_OR_INACTIVE
-
ON_OR_OFF
public static final EnumBitLabelSet ON_OR_OFF
-
POSITIVE_OR_NEGATIVE
public static final EnumBitLabelSet POSITIVE_OR_NEGATIVE
-
PRESENT_OR_ABSENT
public static final EnumBitLabelSet PRESENT_OR_ABSENT
-
TRUE_OR_FALSE
public static final EnumBitLabelSet TRUE_OR_FALSE
-
-
Method Detail
-
values
public static EnumBitLabelSet[] 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 (EnumBitLabelSet c : EnumBitLabelSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnumBitLabelSet 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
-
-