org.marketcetera.util.l10n
Class I18NMessageInfo

java.lang.Object
  extended by org.marketcetera.util.l10n.MessageInfo
      extended by org.marketcetera.util.l10n.I18NMessageInfo

public class I18NMessageInfo
extends MessageInfo

Holder of meta-information about an internationalized message.

Since:
0.6.0
Version:
$Id: I18NMessageInfo.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com

Field Summary
static I18NMessageInfo[] EMPTY_ARRAY
          An empty array of class instances.
 
Constructor Summary
I18NMessageInfo(String key, int paramCount, I18NMessage message)
          Creates a new meta-information holder with the given message key, parameter count, and internationalized message.
 
Method Summary
 boolean equals(Object other)
           
 I18NMessage getMessage()
          Returns the receiver's internationalized message.
 int hashCode()
           
 
Methods inherited from class org.marketcetera.util.l10n.MessageInfo
getKey, getList, getParamCount
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final I18NMessageInfo[] EMPTY_ARRAY
An empty array of class instances.

Constructor Detail

I18NMessageInfo

public I18NMessageInfo(String key,
                       int paramCount,
                       I18NMessage message)
Creates a new meta-information holder with the given message key, parameter count, and internationalized message.

Parameters:
key - The key.
paramCount - The parameter count.
message - The message.
Method Detail

getMessage

public I18NMessage getMessage()
Returns the receiver's internationalized message.

Returns:
The message.

hashCode

public int hashCode()
Overrides:
hashCode in class MessageInfo

equals

public boolean equals(Object other)
Overrides:
equals in class MessageInfo


Copyright © 2012. All Rights Reserved.