org.jacorb.idl
Class OpDecl
- Operation, Serializable
Version:
- Gerald Brose
OpDecl(int num) - class constructor
|
OpDecl(IdlSymbol myInterface, String name, List paramDecls) - Constructs a normal (not oneway) operation with void return type
and no raises-Expression.
|
OpDecl(IdlSymbol myInterface, int opAttribute, TypeSpec opTypeSpec, String name, List paramDecls, org.jacorb.idl.RaisesExpr raisesExpr) - Constructs a new OpDecl with the given characteristics.
|
accept , addImportedAlias , addImportedName , addImportedName , addImportedNameHolder , deEscapeName , escapeName , generateIncluded , getEnclosingSymbol , get_token , id , isEscaped , is_included , is_pseudo , name , new_num , omgPrefix , parse , print , printIdMethod , printImport , setEnclosingSymbol , setPackage , setPrintPhaseNames , set_name , set_pseudo , set_token |
NO_ATTRIBUTE
public static final int NO_ATTRIBUTE
- 0
ONEWAY
public static final int ONEWAY
- 1
opAttribute
public int opAttribute
paramDecls
public Vector paramDecls
raisesExpr
public org.jacorb.idl.RaisesExpr raisesExpr
OpDecl
public OpDecl(int num)
class constructor
OpDecl
public OpDecl(IdlSymbol myInterface,
String name,
List paramDecls)
Constructs a normal (not oneway) operation with void return type
and no raises-Expression.
OpDecl
public OpDecl(IdlSymbol myInterface,
int opAttribute,
TypeSpec opTypeSpec,
String name,
List paramDecls,
org.jacorb.idl.RaisesExpr raisesExpr)
Constructs a new OpDecl with the given characteristics.
getIRInfo
public void getIRInfo(Hashtable irInfoTable)
collect Interface Repository information in the argument hashtable
name
public String name()
name
gives the plain name of the operation
- name in interface Operation
- name in interface IdlSymbol
- a
String
value
opName
public String opName()
opName
gives the mangled name in case of attributes
(_get_, _set_).
- opName in interface Operation
- a
String
value
parse
public void parse()
empty parse
- parse in interface IdlSymbol
print
public void print(PrintWriter ps)
- print in interface IdlSymbol
printDelegatedMethod
public void printDelegatedMethod(PrintWriter ps)
Method code for skeletons
- printDelegatedMethod in interface Operation
ps
- a PrintWriter
value
printMethod
public void printMethod(PrintWriter ps,
String classname,
boolean is_local,
boolean is_abstract)
printMethod
produces the method code for stubs.
- printMethod in interface Operation
ps
- a PrintWriter
valueclassname
- a String
valueis_local
- a boolean
valueis_abstract
- a boolean
value used by Interface to
denote an abstract.
printSignature
public void printSignature(PrintWriter ps,
boolean printModifiers)
- printSignature in interface Operation
printModifiers
- whether "public abstract" should be added
setEnclosingSymbol
public void setEnclosingSymbol(IdlSymbol s)
- setEnclosingSymbol in interface IdlSymbol
setPackage
public void setPackage(String s)
- setPackage in interface IdlSymbol