com.iparelan.util
Enum Message

java.lang.Object
  extended by java.lang.Enum<Message>
      extended by com.iparelan.util.Message
All Implemented Interfaces:
com.iparelan.jill.L10n.ResourceKey, Serializable, Comparable<Message>

@Copyright(value="Copyright © 2008, Iparelan Solutions, LLC. All rights reserved.")
public enum Message
extends Enum<Message>
implements com.iparelan.jill.L10n.ResourceKey

Localized message resource indices for the miscellaneous utility component.

Version:
July 2008
Author:
Greg Mattes

Enum Constant Summary
MARSHALLING_STRATEGY_FILE
           
MARSHALLING_STRATEGY_INTEGER
           
MEMORY_MONITOR_INTERRUPTED
           
MEMORY_MONITOR_NAME
           
MEMORY_MONITOR_REPORT
           
MEMORY_MONITOR_SLEEPING
           
MESSAGE_DESCRIPTION
           
NO_SERVICE_CONFIGURED
           
SERVICE_LOADED
           
UNMARSHALLING_STRATEGY_FILE
           
UNMARSHALLING_STRATEGY_INTEGER
           
VALIDATION_ERROR_CLASS_CAST
           
VALIDATION_ERROR_CLASS_OR_INTERFACE
           
VALIDATION_ERROR_EMPTY_STRING
           
VALIDATION_ERROR_INVALID_FREQUENCY
           
VALIDATION_ERROR_INVALID_PCE_CONTEXT
           
VALIDATION_ERROR_INVALID_RANGE_CONTEXT
           
VALIDATION_ERROR_MISSING_VALUE
           
VALIDATION_ERROR_NULL_CLASS
           
VALIDATION_ERROR_NULL_OBJECT
           
VALIDATION_ERROR_NULL_STRING
           
VALIDATION_ERROR_PCE_PROPERTY_NAME
           
VALIDATION_ERROR_PCE_SOURCE
           
VALIDATION_ERROR_PCE_TYPE
           
VALIDATION_ERROR_PCE_VALUE
           
VALIDATION_ERROR_RANGE_TOO_LARGE
           
VALIDATION_ERROR_RANGE_TOO_SMALL
           
VALIDATOR_CLASS_OR_INTERFACE
           
VALIDATOR_MEMORY_MONITOR_FREQUENCY
           
VALIDATOR_NON_EMPTY_STRING
           
VALIDATOR_NON_NULL_CLASS
           
VALIDATOR_NON_NULL_NON_EMPTY_STRING
           
VALIDATOR_NON_NULL_OBJECT
           
VALIDATOR_NON_NULL_PROPERTY_CHANGE_EVENT
           
VALIDATOR_NON_NULL_STRING
           
VALIDATOR_NONE
           
VALIDATOR_RANGE
           
VALIDATOR_TO_STRING
           
 
Field Summary
private  String keyName
           
(package private) static com.iparelan.jill.L10n<Message,String> MSGS
           
 
Method Summary
 String getKeyName()
           
 String toString()
           
static Message valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Message[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MEMORY_MONITOR_NAME

public static final Message MEMORY_MONITOR_NAME

MEMORY_MONITOR_REPORT

public static final Message MEMORY_MONITOR_REPORT

MEMORY_MONITOR_SLEEPING

public static final Message MEMORY_MONITOR_SLEEPING

MEMORY_MONITOR_INTERRUPTED

public static final Message MEMORY_MONITOR_INTERRUPTED

SERVICE_LOADED

public static final Message SERVICE_LOADED

NO_SERVICE_CONFIGURED

public static final Message NO_SERVICE_CONFIGURED

VALIDATOR_NONE

public static final Message VALIDATOR_NONE

VALIDATOR_NON_NULL_OBJECT

public static final Message VALIDATOR_NON_NULL_OBJECT

VALIDATOR_NON_NULL_STRING

public static final Message VALIDATOR_NON_NULL_STRING

VALIDATOR_NON_EMPTY_STRING

public static final Message VALIDATOR_NON_EMPTY_STRING

VALIDATOR_NON_NULL_NON_EMPTY_STRING

public static final Message VALIDATOR_NON_NULL_NON_EMPTY_STRING

VALIDATOR_RANGE

public static final Message VALIDATOR_RANGE

VALIDATOR_MEMORY_MONITOR_FREQUENCY

public static final Message VALIDATOR_MEMORY_MONITOR_FREQUENCY

VALIDATOR_NON_NULL_PROPERTY_CHANGE_EVENT

public static final Message VALIDATOR_NON_NULL_PROPERTY_CHANGE_EVENT

VALIDATOR_NON_NULL_CLASS

public static final Message VALIDATOR_NON_NULL_CLASS

VALIDATOR_CLASS_OR_INTERFACE

public static final Message VALIDATOR_CLASS_OR_INTERFACE

VALIDATOR_TO_STRING

public static final Message VALIDATOR_TO_STRING

VALIDATION_ERROR_NULL_OBJECT

public static final Message VALIDATION_ERROR_NULL_OBJECT

VALIDATION_ERROR_NULL_STRING

public static final Message VALIDATION_ERROR_NULL_STRING

VALIDATION_ERROR_EMPTY_STRING

public static final Message VALIDATION_ERROR_EMPTY_STRING

VALIDATION_ERROR_INVALID_FREQUENCY

public static final Message VALIDATION_ERROR_INVALID_FREQUENCY

VALIDATION_ERROR_NULL_CLASS

public static final Message VALIDATION_ERROR_NULL_CLASS

VALIDATION_ERROR_INVALID_PCE_CONTEXT

public static final Message VALIDATION_ERROR_INVALID_PCE_CONTEXT

VALIDATION_ERROR_PCE_PROPERTY_NAME

public static final Message VALIDATION_ERROR_PCE_PROPERTY_NAME

VALIDATION_ERROR_PCE_SOURCE

public static final Message VALIDATION_ERROR_PCE_SOURCE

VALIDATION_ERROR_PCE_TYPE

public static final Message VALIDATION_ERROR_PCE_TYPE

VALIDATION_ERROR_PCE_VALUE

public static final Message VALIDATION_ERROR_PCE_VALUE

VALIDATION_ERROR_RANGE_TOO_SMALL

public static final Message VALIDATION_ERROR_RANGE_TOO_SMALL

VALIDATION_ERROR_RANGE_TOO_LARGE

public static final Message VALIDATION_ERROR_RANGE_TOO_LARGE

VALIDATION_ERROR_CLASS_CAST

public static final Message VALIDATION_ERROR_CLASS_CAST

VALIDATION_ERROR_MISSING_VALUE

public static final Message VALIDATION_ERROR_MISSING_VALUE

VALIDATION_ERROR_INVALID_RANGE_CONTEXT

public static final Message VALIDATION_ERROR_INVALID_RANGE_CONTEXT

VALIDATION_ERROR_CLASS_OR_INTERFACE

public static final Message VALIDATION_ERROR_CLASS_OR_INTERFACE

MARSHALLING_STRATEGY_FILE

public static final Message MARSHALLING_STRATEGY_FILE

MARSHALLING_STRATEGY_INTEGER

public static final Message MARSHALLING_STRATEGY_INTEGER

UNMARSHALLING_STRATEGY_FILE

public static final Message UNMARSHALLING_STRATEGY_FILE

UNMARSHALLING_STRATEGY_INTEGER

public static final Message UNMARSHALLING_STRATEGY_INTEGER

MESSAGE_DESCRIPTION

public static final Message MESSAGE_DESCRIPTION
Field Detail

MSGS

static final com.iparelan.jill.L10n<Message,String> MSGS

keyName

private final String keyName
Method Detail

values

public static Message[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Message c : Message.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Message valueOf(String name)
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.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getKeyName

public String getKeyName()
Specified by:
getKeyName in interface com.iparelan.jill.L10n.ResourceKey

toString

public String toString()
Specified by:
toString in interface com.iparelan.jill.L10n.ResourceKey
Overrides:
toString in class Enum<Message>


Copyright © 2008 Iparelan Solutions, LLC. All rights reserved.