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:
| Modifier and Type | Field and Description |
|---|---|
static MessageDirection |
INBOUND |
static MessageDirection |
OUTBOUND |
| Modifier | Constructor and Description |
|---|---|
protected |
MessageDirection(String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MessageDirection[] |
getMessageDirections()
Returns an array of all known MessageDirection constants.
|
int |
hashCode() |
protected Object |
readResolve() |
String |
toString()
Returns the string representation of the direction.
|
static MessageDirection |
valueOf(String s)
Returns an instance of
MessageDirection that represents the direction given as a string. |
public static final MessageDirection INBOUND
public static final MessageDirection OUTBOUND
protected MessageDirection(String value)
public String toString()
MessageDirection
instance by a call to valueOf(String).public static MessageDirection valueOf(String s)
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.NullPointerException - if the argument is null.IllegalArgumentException - if the argument is not a known transport.protected Object readResolve() throws ObjectStreamException
ObjectStreamExceptionpublic static MessageDirection[] getMessageDirections()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.ifc.facade
|
api
|
BC-XI
|
Copyright 2016 SAP AG Complete Copyright Notice