org.omg.CosTransactions

Class ResourceHelper

public class ResourceHelper extends Object

Helper class for : Resource

Author: OpenORB Compiler

Method Summary
static Resourceextract(Any a)
Extract Resource from an any
static Stringid()
Return the Resource IDL ID
static voidinsert(Any a, Resource t)
Insert Resource into an any
static Resourcenarrow(Object obj)
Narrow CORBA::Object to Resource
static Resourceread(InputStream istream)
Read Resource from a marshalled stream
static TypeCodetype()
Return the Resource TypeCode
static Resourceunchecked_narrow(Object obj)
Unchecked Narrow CORBA::Object to Resource
static voidwrite(OutputStream ostream, Resource value)
Write Resource into a marshalled stream

Method Detail

extract

public static Resource extract(Any a)
Extract Resource from an any

Parameters: a an any

Returns: the extracted Resource value

id

public static String id()
Return the Resource IDL ID

Returns: an ID

insert

public static void insert(Any a, Resource t)
Insert Resource into an any

Parameters: a an any t Resource value

narrow

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

Parameters: obj the CORBA Object

Returns: Resource Object

read

public static Resource read(InputStream istream)
Read Resource from a marshalled stream

Parameters: istream the input stream

Returns: the readed Resource value

type

public static TypeCode type()
Return the Resource TypeCode

Returns: a TypeCode

unchecked_narrow

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

Parameters: obj the CORBA Object

Returns: Resource Object

write

public static void write(OutputStream ostream, Resource value)
Write Resource into a marshalled stream

Parameters: ostream the output stream value Resource value