Package com.iizix.server
Enum Class Messages
- All Implemented Interfaces:
IEnumLocaleString
,Serializable
,Comparable<Messages>
,Constable
Class to handle localized messages for the server. The prefix of the text IDs are "srv.".
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionApp session is disposed ofUnsupported device configurationField Summary
Method Summary
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.iizix.text.IEnumLocaleString
asString, asString, asString, name, ordinal, valuesList
Enum Constant Details
ClientAppSessionDisposed
App session is disposed ofClientUnsupportedDevice
Unsupported device configuration
Field Details
id
The ID for the item to use when looking up the item in a text table.fallback
The fallback text.
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
getID
Gets the text ID.- Specified by:
getID
in interfaceIEnumLocaleString
- Returns:
- The text ID string.
getFallback
Gets the fallback String.- Specified by:
getFallback
in interfaceIEnumLocaleString
- Returns:
- The fallback string.