Package nl.basjes.modbus.schema
Enum ReturnType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ReturnType extends Enum<ReturnType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classReturnType.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringenumNameprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<ReturnType>entries
-
Method Summary
Modifier and Type Method Description StringtoString()final Stringvalue()final ReturnTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ReturnType>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetEnumName()final EnumEntries<ReturnType>getEntries()-
-
Method Detail
-
valueOf
final ReturnType 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<ReturnType> 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.
-
getEnumName
final String getEnumName()
-
getEntries
final EnumEntries<ReturnType> getEntries()
-
-
-
-