FileDocCategorySizeDatePackage
ParameterModeHelper.javaAPI DocJava SE 6 API1864Tue Jun 10 01:33:20 BST 2008org.omg.CORBA

ParameterModeHelper

public abstract class ParameterModeHelper extends Object
Enumeration of parameter modes for Parameter. Possible vaues:
  • PARAM_IN - Represents an "in" parameter.
  • PARAM_OUT - Represents an "out" parameter.
  • PARAM_INOUT - Represents an "inout" parameter.

Fields Summary
private static String
_id
private static org.omg.CORBA.TypeCode
__typeCode
Constructors Summary
Methods Summary
public static org.omg.CORBA.ParameterModeextract(org.omg.CORBA.Any a)

    return read (a.create_input_stream ());
  
public static java.lang.Stringid()

    return _id;
  
public static voidinsert(org.omg.CORBA.Any a, org.omg.CORBA.ParameterMode that)


         
  
    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
    a.type (type ());
    write (out, that);
    a.read_value (out.create_input_stream (), type ());
  
public static org.omg.CORBA.ParameterModeread(org.omg.CORBA.portable.InputStream istream)

    return org.omg.CORBA.ParameterMode.from_int (istream.read_long ());
  
public static synchronized org.omg.CORBA.TypeCodetype()

       
  
    if (__typeCode == null)
    {
      __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (org.omg.CORBA.ParameterModeHelper.id (), "ParameterMode", new String[] { "PARAM_IN", "PARAM_OUT", "PARAM_INOUT"} );
    }
    return __typeCode;
  
public static voidwrite(org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.ParameterMode value)

    ostream.write_long (value.value ());