org.omg.CosTrading

Class ConstraintHelper

public class ConstraintHelper extends Object

Helper class for : Constraint

Author: OpenORB Compiler

Method Summary
static Stringextract(Any a)
Extract Constraint from an any
static Stringid()
Return the Constraint IDL ID
static voidinsert(Any a, String t)
Insert Constraint into an any
static Stringread(InputStream istream)
Read Constraint from a marshalled stream
static TypeCodetype()
Return the Constraint TypeCode
static voidwrite(OutputStream ostream, String value)
Write Constraint into a marshalled stream

Method Detail

extract

public static String extract(Any a)
Extract Constraint from an any

Parameters: a an any

Returns: the extracted Constraint value

id

public static String id()
Return the Constraint IDL ID

Returns: an ID

insert

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

Parameters: a an any t Constraint value

read

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

Parameters: istream the input stream

Returns: the readed Constraint value

type

public static TypeCode type()
Return the Constraint TypeCode

Returns: a TypeCode

write

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

Parameters: ostream the output stream value Constraint value