org.jacorb.idl

Interface Operation

All Superinterfaces:
Serializable
Known Implementing Classes:
Method, OpDecl

public interface Operation
extends Serializable

Version:
$Id: Operation.java,v 1.15 2004/05/06 12:39:58 nicolas Exp $

Author:
Gerald Brose

Method Summary

void
accept(IDLTreeVisitor visitor)
String
name()
name gives the plain name of the operation
String
opName()
opName gives the mangled name in case of attributes (_get_, _set_).
void
printDelegatedMethod(PrintWriter ps)
Method code for skeletons
void
printInvocation(PrintWriter ps)
void
printMethod(PrintWriter ps, String classname, boolean is_local, boolean is_abstract)
printMethod produces the method code for stubs.
void
printSignature(PrintWriter ps)
void
printSignature(PrintWriter ps, boolean printModifiers)
void
print_sendc_Method(PrintWriter ps, String classname)
String
signature()

Method Details

accept

public void accept(IDLTreeVisitor visitor)


name

public String name()
name gives the plain name of the operation

Returns:
a String value


opName

public String opName()
opName gives the mangled name in case of attributes (_get_, _set_).

Returns:
a String value


printDelegatedMethod

public void printDelegatedMethod(PrintWriter ps)
Method code for skeletons

Parameters:
ps - a PrintWriter value


printInvocation

public void printInvocation(PrintWriter ps)


printMethod

public void printMethod(PrintWriter ps,
                        String classname,
                        boolean is_local,
                        boolean is_abstract)
printMethod produces the method code for stubs.

Parameters:
ps - a PrintWriter value
classname - a String value
is_local - a boolean value
is_abstract - a boolean value used by Interface to denote an abstract.


printSignature

public void printSignature(PrintWriter ps)


printSignature

public void printSignature(PrintWriter ps,
                           boolean printModifiers)

Parameters:
printModifiers - whether "public abstract" should be added


print_sendc_Method

public void print_sendc_Method(PrintWriter ps,
                               String classname)


signature

public String signature()