Package org.openhab.core.model.items
Enum Class ModelGroupFunction
- All Implemented Interfaces:
Serializable
,Comparable<ModelGroupFunction>
,Constable
,org.eclipse.emf.common.util.Enumerator
public enum ModelGroupFunction
extends Enum<ModelGroupFunction>
implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Model Group Function',
and utility methods for working with them.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe 'AND' literal object.The 'AVG' literal object.The 'COUNT' literal object.The 'EARLIEST' literal object.The 'EQUALITY' literal object.The 'LATEST' literal object.The 'MAX' literal object.The 'MEDIAN' literal object.The 'MIN' literal object.The 'NAND' literal object.The 'NOR' literal object.The 'OR' literal object.The 'SUM' literal object.The 'XOR' literal object. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'AND' literal value.static final int
The 'AVG' literal value.static final int
The 'COUNT' literal value.static final int
The 'EARLIEST' literal value.static final int
The 'EQUALITY' literal value.static final int
The 'LATEST' literal value.static final int
The 'MAX' literal value.static final int
The 'MEDIAN' literal value.static final int
The 'MIN' literal value.static final int
The 'NAND' literal value.static final int
The 'NOR' literal value.static final int
The 'OR' literal value.static final int
The 'SUM' literal value.static final List<ModelGroupFunction>
A public read-only list of all the 'Model Group Function' enumerators.static final int
The 'XOR' literal value. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelGroupFunction
get
(int value) Returns the 'Model Group Function' literal with the specified integer value.static ModelGroupFunction
Returns the 'Model Group Function' literal with the specified literal value.static ModelGroupFunction
Returns the 'Model Group Function' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static ModelGroupFunction
Returns the enum constant of this class with the specified name.static ModelGroupFunction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALITY
The 'EQUALITY' literal object.- See Also:
-
AND
The 'AND' literal object.- See Also:
-
OR
The 'OR' literal object.- See Also:
-
NAND
The 'NAND' literal object.- See Also:
-
NOR
The 'NOR' literal object.- See Also:
-
XOR
The 'XOR' literal object.- See Also:
-
AVG
The 'AVG' literal object.- See Also:
-
MEDIAN
The 'MEDIAN' literal object.- See Also:
-
SUM
The 'SUM' literal object.- See Also:
-
MAX
The 'MAX' literal object.- See Also:
-
MIN
The 'MIN' literal object.- See Also:
-
COUNT
The 'COUNT' literal object.- See Also:
-
LATEST
The 'LATEST' literal object.- See Also:
-
EARLIEST
The 'EARLIEST' literal object.- See Also:
-
-
Field Details
-
EQUALITY_VALUE
public static final int EQUALITY_VALUEThe 'EQUALITY' literal value.- See Also:
-
AND_VALUE
public static final int AND_VALUEThe 'AND' literal value.- See Also:
-
OR_VALUE
public static final int OR_VALUEThe 'OR' literal value.- See Also:
-
NAND_VALUE
public static final int NAND_VALUEThe 'NAND' literal value.- See Also:
-
NOR_VALUE
public static final int NOR_VALUEThe 'NOR' literal value.- See Also:
-
XOR_VALUE
public static final int XOR_VALUEThe 'XOR' literal value.- See Also:
-
AVG_VALUE
public static final int AVG_VALUEThe 'AVG' literal value.- See Also:
-
MEDIAN_VALUE
public static final int MEDIAN_VALUEThe 'MEDIAN' literal value.- See Also:
-
SUM_VALUE
public static final int SUM_VALUEThe 'SUM' literal value.- See Also:
-
MAX_VALUE
public static final int MAX_VALUEThe 'MAX' literal value.- See Also:
-
MIN_VALUE
public static final int MIN_VALUEThe 'MIN' literal value.- See Also:
-
COUNT_VALUE
public static final int COUNT_VALUEThe 'COUNT' literal value.- See Also:
-
LATEST_VALUE
public static final int LATEST_VALUEThe 'LATEST' literal value.- See Also:
-
EARLIEST_VALUE
public static final int EARLIEST_VALUEThe 'EARLIEST' literal value.- See Also:
-
VALUES
A public read-only list of all the 'Model Group Function' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Model Group Function' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Model Group Function' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
Returns the 'Model Group Function' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ModelGroupFunction>
-