com.sap.engine.interfaces.messaging.api
Class MessageDirection
java.lang.Object
com.sap.engine.interfaces.messaging.api.MessageDirection
- All Implemented Interfaces:
- Serializable
public class MessageDirection
- extends Object
- implements Serializable
The MessageDirection object is a typesafe enumeration class that indicates the direction of the
processed message (inbound or outbound). The class encapsulates the database representation of the states in the MSG
table in Java form. There are exactly two possible directions:
- INBOUND: The direction the message has, when it enters the MessagingSystem.
- OUTBOUND: The direction the message has, when it leaves the MessagingSystem.
- See Also:
- Serialized Form
INBOUND
public static final MessageDirection INBOUND
OUTBOUND
public static final MessageDirection OUTBOUND
MessageDirection
protected MessageDirection(String value)
toString
public String toString()
- Returns the string representation of the direction. This value can be used to get a
MessageDirection
instance by a call to valueOf(String).
- Overrides:
toString in class Object
- Returns:
- the string representation of the MessageDirection.
valueOf
public static MessageDirection valueOf(String s)
- Returns an instance of
MessageDirection that represents the direction given as a string. This will
typically be used to create a MessageDirection object from a string retrieved from the database.
- Throws:
NullPointerException - if the argument is null.
IllegalArgumentException - if the argument is not a known transport.
readResolve
protected Object readResolve()
throws ObjectStreamException
- Throws:
ObjectStreamException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getMessageDirections
public static MessageDirection[] getMessageDirections()
- Returns an array of all known MessageDirection constants.
- Returns:
- An array containing all known MessageDirection constants.
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