org.marketcetera.util.l10n
Class PropertyMessageInfo

java.lang.Object
  extended by org.marketcetera.util.l10n.MessageInfo
      extended by 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
static PropertyMessageInfo[] EMPTY_ARRAY
          An empty array of class instances.
 
Constructor Summary
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
 boolean equals(Object other)
           
 String getMessageText()
          Returns the receiver's message text.
 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 PropertyMessageInfo[] EMPTY_ARRAY
An empty array of class instances.

Constructor Detail

PropertyMessageInfo

public PropertyMessageInfo(String key,
                           int paramCount,
                           String messageText)
Creates a new meta-information holder with the given message key, parameter count, and message text.

Parameters:
key - The key.
paramCount - The parameter count.
messageText - The text.
Method Detail

getMessageText

public String getMessageText()
Returns the receiver's message text.

Returns:
The text.

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.