Package org.marketcetera.util.l10n
Class I18NMessageInfo
- java.lang.Object
-
- org.marketcetera.util.l10n.MessageInfo
-
- 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
Fields Modifier and Type Field Description static I18NMessageInfo[]EMPTY_ARRAYAn empty array of class instances.private I18NMessagemMessage
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)I18NMessagegetMessage()Returns the receiver's internationalized message.inthashCode()-
Methods inherited from class org.marketcetera.util.l10n.MessageInfo
getKey, getList, getParamCount
-
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final I18NMessageInfo[] EMPTY_ARRAY
An empty array of class instances.
-
mMessage
private I18NMessage mMessage
-
-
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:
hashCodein classMessageInfo
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classMessageInfo
-
-