com.sap.engine.interfaces.messaging.api
Class MessageKey
java.lang.Object
com.sap.engine.interfaces.messaging.api.MessageKey
- All Implemented Interfaces:
- Serializable
public class MessageKey
- extends Object
- implements Serializable
The MessageKey consists of a message Id string and the MessageDirection typesafe enumeration class.
- Version:
- $Id: //tc/xpi.ms/710_SP_REL/src/_interface/pifce/api/com/sap/engine/interfaces/messaging/api/MessageKey.java#3 $
- See Also:
- Serialized Form
MessageKey
public MessageKey(String messageId,
MessageDirection direction)
- The default constructor.
- Parameters:
messageId - direction -
getMessageId
public String getMessageId()
getDirection
public MessageDirection getDirection()
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getMessageKeyFromMessageKeyString
public static MessageKey getMessageKeyFromMessageKeyString(String msgKey)
- Parameters:
msgKey - A MessageKey-String that was created via the toString method of this class
- Returns:
- A new MessageKey instance or null, if errors occured during parsing of the argument.
Copyright 2007 SAP AG Complete Copyright Notice