Package nl.basjes.sunspec.model.entities
Enum Point.Type
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
@Serializable() public enum Point.Type extends Enum<Point.Type>
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerregisterCountprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<Point.Type>entries
-
Method Summary
Modifier and Type Method Description final Point.TypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Point.Type>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetRegisterCount()The number of 16 bit modbus registers for this value or 0 if it must be explicitly specified in the model (i.e. final EnumEntries<Point.Type>getEntries()-
-
Method Detail
-
valueOf
final Point.Type valueOf(String value)
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.)
-
values
final Array<Point.Type> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getRegisterCount
final Integer getRegisterCount()
The number of 16 bit modbus registers for this value or 0 if it must be explicitly specified in the model (i.e. it is a string).
-
getEntries
final EnumEntries<Point.Type> getEntries()
-
-
-
-