org.omg.CosTransactions
Class ResourceHelper

java.lang.Object
  extended byorg.omg.CosTransactions.ResourceHelper

public class ResourceHelper
extends java.lang.Object

Helper class for : Resource

Author:
OpenORB Compiler

Constructor Summary
ResourceHelper()
           
 
Method Summary
static Resource extract(org.omg.CORBA.Any a)
          Extract Resource from an any
static java.lang.String id()
          Return the Resource IDL ID
static void insert(org.omg.CORBA.Any a, Resource t)
          Insert Resource into an any
static Resource narrow(org.omg.CORBA.Object obj)
          Narrow CORBA::Object to Resource
static Resource read(org.omg.CORBA.portable.InputStream istream)
          Read Resource from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the Resource TypeCode
static Resource unchecked_narrow(org.omg.CORBA.Object obj)
          Unchecked Narrow CORBA::Object to Resource
static void write(org.omg.CORBA.portable.OutputStream ostream, Resource value)
          Write Resource into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceHelper

public ResourceHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          Resource t)
Insert Resource into an any

Parameters:
a - an any
t - Resource value

extract

public static Resource extract(org.omg.CORBA.Any a)
Extract Resource from an any

Parameters:
a - an any
Returns:
the extracted Resource value

type

public static org.omg.CORBA.TypeCode type()
Return the Resource TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the Resource IDL ID

Returns:
an ID

read

public static Resource read(org.omg.CORBA.portable.InputStream istream)
Read Resource from a marshalled stream

Parameters:
istream - the input stream
Returns:
the readed Resource value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         Resource value)
Write Resource into a marshalled stream

Parameters:
ostream - the output stream
value - Resource value

narrow

public static Resource narrow(org.omg.CORBA.Object obj)
Narrow CORBA::Object to Resource

Parameters:
obj - the CORBA Object
Returns:
Resource Object

unchecked_narrow

public static Resource unchecked_narrow(org.omg.CORBA.Object obj)
Unchecked Narrow CORBA::Object to Resource

Parameters:
obj - the CORBA Object
Returns:
Resource Object