Enum FilterChangeIndicationEnum
- java.lang.Object
-
- java.lang.Enum<FilterChangeIndicationEnum>
-
- io.github.hapjava.characteristics.impl.filtermaintenance.FilterChangeIndicationEnum
-
- All Implemented Interfaces:
CharacteristicEnum,Serializable,Comparable<FilterChangeIndicationEnum>
public enum FilterChangeIndicationEnum extends Enum<FilterChangeIndicationEnum> implements CharacteristicEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE_NEEDEDNO_CHANGE_NEEDED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterChangeIndicationEnumfromCode(Integer code)intgetCode()static FilterChangeIndicationEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static FilterChangeIndicationEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CHANGE_NEEDED
public static final FilterChangeIndicationEnum NO_CHANGE_NEEDED
-
CHANGE_NEEDED
public static final FilterChangeIndicationEnum CHANGE_NEEDED
-
-
Method Detail
-
values
public static FilterChangeIndicationEnum[] 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 (FilterChangeIndicationEnum c : FilterChangeIndicationEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterChangeIndicationEnum 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
-
fromCode
public static FilterChangeIndicationEnum fromCode(Integer code)
-
getCode
public int getCode()
- Specified by:
getCodein interfaceCharacteristicEnum
-
-