public class Direction extends Object implements Serializable
The Direction object is a typed enumeration class that indicates the direction of CPA configuration
(inbound or outbound) for the Channel and Binding object (sender/receiver agreement in
XI notation). Note that the direction in the Adapter Framework is handled in respect to the Adapter Framework itself,
instead of the Integration Server. There are exactly two possible directions:
Binding,
Channel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static Direction |
INBOUND |
static Direction |
OUTBOUND |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDBFlag()
Returns the String representation of the direction for storage in the database.
|
static Direction |
getDirectionFromDBFlag(String flag)
Returns the
Direction instance for a given DB representation String. |
int |
hashCode() |
protected Object |
readResolve() |
String |
toString()
Returns the string representation of the direction.
|
static Direction |
valueOf(String s)
Returns an instance of
Direction that represents the direction given as a String. |
public static final Direction INBOUND
public static final Direction OUTBOUND
public String toString()
Direction
instance by a call to valueOf
(String).toString in class ObjectvalueOf(String)public String getDBFlag()
Direction instance with the getDirectionFromDBFlag.getDirectionFromDBFlag(String)public static Direction getDirectionFromDBFlag(String flag)
Direction instance for a given DB representation String.flag - The direction string as it's written in the DB table. Can be either I or O.Direction instance for the given DB representation String.getDBFlag()public static Direction valueOf(String s)
Direction that represents the direction given as a String.s - The String representation where the Direction is to be created from.NullPointerException - if the argument is null.IllegalArgumentException - if the argument is not a known direction.protected Object readResolve() throws ObjectStreamException
ObjectStreamException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice