|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.util.l10n.MessageInfoPair
public class MessageInfoPair
Holder of dual meta-information about a message. Both meta-information components must have the same message key, hence containing meta-information for two different representations of the same message.
| Field Summary | |
|---|---|
static MessageInfoPair[] |
EMPTY_ARRAY
An empty array of class instances. |
| Constructor Summary | |
|---|---|
MessageInfoPair(MessageInfo srcInfo,
MessageInfo dstInfo)
Creates a new meta-information holder from the given component holders. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
MessageInfo |
getDstInfo()
Returns the receiver's destination meta-information. |
MessageInfo |
getSrcInfo()
Returns the receiver's source meta-information. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final MessageInfoPair[] EMPTY_ARRAY
| Constructor Detail |
|---|
public MessageInfoPair(MessageInfo srcInfo,
MessageInfo dstInfo)
srcInfo - The source meta-information.dstInfo - The destination meta-information.| Method Detail |
|---|
public MessageInfo getSrcInfo()
public MessageInfo getDstInfo()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||