Package com.thingworx.types.constants
Enum Class QualityStatus
- All Implemented Interfaces:
Serializable
,Comparable<QualityStatus>
,Constable
The quality status in comparison to other statuses.
Possible values include: Commonly used in property writes/reads and connections.
Possible values include: Commonly used in property writes/reads and connections.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe status is bad.The status is good.The status is out of range.The status is unknown.The status is unverified source. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte
code()
static QualityStatus
fromCode
(byte code) static QualityStatus
Returns the enum constant of this class with the specified name.static QualityStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BAD
The status is bad. -
OUT_OF_RANGE
The status is out of range. -
UNKNOWN
The status is unknown. -
GOOD
The status is good. -
UNVERIFIED_SOURCE
The status is unverified source.
-
-
Field Details
-
QUALITY_OPTION
- See Also:
-
-
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
-
code
- Returns:
- The status as its code equivalent.
-
fromCode
- Parameters:
code
- The code equivalent of theQualityStatus
enumeration.- Returns:
- The enumeration
QualityStatus
of the code provided, or null if the code is not recognized.
-