com.sap.engine.interfaces.messaging.api

Class MessageKey

java.lang.Object
  extended by 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.

See Also:
Serialized Form

Constructor Summary
MessageKey(String messageId, MessageDirection direction)
          The default constructor.
 
Method Summary
 boolean equals(Object obj)
           
 MessageDirection getDirection()
           
 String getMessageId()
           
static MessageKey getMessageKeyFromMessageKeyString(String msgKey)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageKey

public MessageKey(String messageId,
                  MessageDirection direction)
The default constructor.

Parameters:
messageId -
direction -
Method Detail

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.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.af.ifc.facade api BC-XI


Copyright 2014 SAP AG Complete Copyright Notice