com.sap.aii.af.service.administration.api.monitoring

Class ChannelDirection

java.lang.Object
  extended by com.sap.aii.af.service.administration.api.monitoring.ChannelDirection
All Implemented Interfaces:
Serializable

public final class ChannelDirection
extends Object
implements Serializable

The ChannelDirection class identifies the direction of an adapter's channel, i.e. whether its is a sender or a receiver.

Version:
$Id: //tc/xpi.af/710_SP_REL/src/_af_service/psrv/api/com/sap/aii/af/service/administration/api/monitoring/ChannelDirection.java#2 $
See Also:
Serialized Form

Field Summary
static ChannelDirection RECEIVER
          Identifies a receiver channel.
static ChannelDirection SENDER
          Identifies a sender channel.
 
Method Summary
protected  Object readResolve()
          This is called after the deserialization of an instance of this class has taken place.
 String toString()
          Converts this object into a string representation.
static ChannelDirection valueOf(String direction)
          Get one of the static class members from their depending String as returned from toString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SENDER

public static final ChannelDirection SENDER
Identifies a sender channel.


RECEIVER

public static final ChannelDirection RECEIVER
Identifies a receiver channel.

Method Detail

toString

public String toString()
Converts this object into a string representation.

Overrides:
toString in class Object
Returns:
the string representation of this ChannelDirection

valueOf

public static ChannelDirection valueOf(String direction)
Get one of the static class members from their depending String as returned from toString.

Parameters:
category - a String as returned by the toString method
Returns:
one of the static members of this class
Throws:
NullPointerException - if the argument is null
IllegalArgumentException - if the argument is a unknown direction String

readResolve

protected Object readResolve()
                      throws ObjectStreamException
This is called after the deserialization of an instance of this class has taken place. The Object returned by this method is the one that will be used as the deserialized one. we will ensure that only the static class instanced above will exist.

Throws:
ObjectStreamException


Copyright 2007 SAP AG Complete Copyright Notice