org.fossilec.odettej.service
Class TransferMode

java.lang.Object
  extended by org.fossilec.odettej.service.TransferMode

public final class TransferMode
extends java.lang.Object


Field Summary
static TransferMode BOTH
           
static TransferMode RECEIVER_ONLY
           
static TransferMode SENDER_ONLY
           
 
Method Summary
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 TransferMode getReversed()
           
 java.lang.String getReversedCode()
           
static TransferMode parse(java.lang.String code)
          Convenient method for parsing the proper CommandIdentifier instance given a identifier character.
 java.lang.String toString()
           
static java.util.Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SENDER_ONLY

public static final TransferMode SENDER_ONLY

RECEIVER_ONLY

public static final TransferMode RECEIVER_ONLY

BOTH

public static final TransferMode BOTH
Method Detail

getCode

public java.lang.String getCode()

getDescription

public java.lang.String getDescription()

getReversedCode

public java.lang.String getReversedCode()

getReversed

public TransferMode getReversed()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

parse

public static TransferMode parse(java.lang.String code)
Convenient method for parsing the proper CommandIdentifier instance given a identifier character.

Parameters:
identifier - The command identifier being evaluated
Returns:
CommandIdentifier Instance that correspond to the parameter
Throws:
CommandNotRecognisedException - Command not recognised

values

public static java.util.Collection values()


Copyright © 2005 ObjectWeb Consortium. All Rights Reserved.