Package org.marketcetera.util.l10n
Class PropertyMessageInfo
- java.lang.Object
-
- org.marketcetera.util.l10n.MessageInfo
-
- org.marketcetera.util.l10n.PropertyMessageInfo
-
public class PropertyMessageInfo extends MessageInfo
Holder of meta-information about a message stored in a properties file.- Since:
- 0.6.0
- Version:
- $Id: PropertyMessageInfo.java 16154 2012-07-14 16:34:05Z colin $
- Author:
- tlerios@marketcetera.com
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyMessageInfo[]EMPTY_ARRAYAn empty array of class instances.private StringmMessageText
-
Constructor Summary
Constructors Constructor Description PropertyMessageInfo(String key, int paramCount, String messageText)Creates a new meta-information holder with the given message key, parameter count, and message text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetMessageText()Returns the receiver's message text.inthashCode()-
Methods inherited from class org.marketcetera.util.l10n.MessageInfo
getKey, getList, getParamCount
-
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final PropertyMessageInfo[] EMPTY_ARRAY
An empty array of class instances.
-
mMessageText
private String mMessageText
-
-
Method Detail
-
getMessageText
public String getMessageText()
Returns the receiver's message text.- Returns:
- The text.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMessageInfo
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classMessageInfo
-
-