KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > TIR > InterfaceDef


1 /* $Id: InterfaceDef.java,v 1.1.1.1 2003/02/11 16:19:41 bures Exp $ */
2 package SOFA.SOFAnode.Made.TIR;
3 import java.rmi.RemoteException JavaDoc;
4
5 /** Interface for the <b>CDL Inteface</b>. */
6 public interface InterfaceDef extends Container, Contained, CDLType {
7   /** Base interfaces of this interface. */
8   public InterfaceDef[] base_interfaces() throws RemoteException JavaDoc;
9   /** Protocol of this interface */
10   public ProtocolDef protocol() throws RemoteException JavaDoc;
11
12   /** Set base interfaces. */
13   public void setBaseInterfaces(InterfaceDef[] base_interfaces) throws RemoteException JavaDoc, TIRExceptCreate;
14   /** Create new constant in this interface. */
15   public ConstantDef create_constant(Identification id, CDLType type, ExprOperDef value) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
16   /** Create new struct in this interface. */
17   public StructDef create_struct(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
18   /** Create new union in this interface. */
19   public UnionDef create_union(Identification id, CDLType switch_type) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
20   /** Create new enum in this interface. */
21   public EnumDef create_enum(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
22   /** Create new typedef in this interface. */
23   public TypedefDef create_typedef(Identification id, CDLType orig_type) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
24   /** Create new exception in this interface. */
25   public ExceptionDef create_exception(Identification id) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
26    /** Create new attribute in this interface. */
27   public AttributeDef create_attribute(Identification name, CDLType type, int mode) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
28   /** Create new operation in this interface. */
29   public OperationDef create_operation(Identification name, CDLType result, ExceptionDef[] exceptions) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
30   /** Create protocol of this interface. */
31   public ProtocolDef create_protocol() throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
32 }
33
Popular Tags