org.ogf.saga.rpc
Enum IOMode

java.lang.Object
  extended by java.lang.Enum<IOMode>
      extended by org.ogf.saga.rpc.IOMode
All Implemented Interfaces:
Serializable, Comparable<IOMode>

public enum IOMode
extends Enum<IOMode>

Describes parameter modes.


Enum Constant Summary
IN
          The parameter is an input parameter.
INOUT
          The parameter is an input and output parameter.
OUT
          The parameter is an output parameter.
 
Method Summary
 int getValue()
          Returns the integer value of this enumeration literal.
static IOMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IOMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IN

public static final IOMode IN
The parameter is an input parameter.


OUT

public static final IOMode OUT
The parameter is an output parameter.


INOUT

public static final IOMode INOUT
The parameter is an input and output parameter.

Method Detail

values

public static IOMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IOMode c : IOMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IOMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public int getValue()
Returns the integer value of this enumeration literal.

Returns:
the value.


Copyright © 2014 Open Grid Forum. All rights reserved.