< prev index next >

src/java.corba/share/classes/com/sun/tools/corba/se/idl/ParameterEntry.java

Print this page




  71       module (module () + "/" + name ());
  72   } // ctor
  73 
  74   public Object clone ()
  75   {
  76     return new ParameterEntry (this);
  77   } // clone
  78 
  79   /** Invoke the paramter generator.
  80       @param symbolTable the symbol table is a hash table whose key is
  81        a fully qualified type name and whose value is a SymtabEntry or
  82        a subclass of SymtabEntry.
  83       @param stream the stream to which the generator should sent its output.
  84       @see SymtabEntry */
  85   public void generate (Hashtable symbolTable, PrintWriter stream)
  86   {
  87     parameterGen.generate (symbolTable, this, stream);
  88   } // generate
  89 
  90   /** Access the parameter generator.
  91       @returns an object which implements the ParameterGen interface.
  92       @see ParameterGen */
  93   public Generator generator ()
  94   {
  95     return parameterGen;
  96   } // generator
  97 
  98   /** This indicates the pass type of this parameter. */
  99   public void passType (int passType)
 100   {
 101     if (passType >= In && passType <= Out)
 102       _passType = passType;
 103   } // passType
 104 
 105   /** This indicates the pass type of this parameter. */
 106   public int passType ()
 107   {
 108     return _passType;
 109   } // passType
 110 
 111   private int _passType = In;


  71       module (module () + "/" + name ());
  72   } // ctor
  73 
  74   public Object clone ()
  75   {
  76     return new ParameterEntry (this);
  77   } // clone
  78 
  79   /** Invoke the paramter generator.
  80       @param symbolTable the symbol table is a hash table whose key is
  81        a fully qualified type name and whose value is a SymtabEntry or
  82        a subclass of SymtabEntry.
  83       @param stream the stream to which the generator should sent its output.
  84       @see SymtabEntry */
  85   public void generate (Hashtable symbolTable, PrintWriter stream)
  86   {
  87     parameterGen.generate (symbolTable, this, stream);
  88   } // generate
  89 
  90   /** Access the parameter generator.
  91       @return an object which implements the ParameterGen interface.
  92       @see ParameterGen */
  93   public Generator generator ()
  94   {
  95     return parameterGen;
  96   } // generator
  97 
  98   /** This indicates the pass type of this parameter. */
  99   public void passType (int passType)
 100   {
 101     if (passType >= In && passType <= Out)
 102       _passType = passType;
 103   } // passType
 104 
 105   /** This indicates the pass type of this parameter. */
 106   public int passType ()
 107   {
 108     return _passType;
 109   } // passType
 110 
 111   private int _passType = In;
< prev index next >