KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > ParameterModeHolder


1 package org.omg.CORBA;
2
3 /**
4 * org/omg/CORBA/ParameterModeHolder.java .
5 * Generated by the IDL-to-Java compiler (portable), version "3.2"
6 * from ../../../../src/share/classes/org/omg/PortableInterceptor/CORBAX.idl
7 * Saturday, February 9, 2008 9:40:05 AM GMT
8 */

9
10
11 /**
12    * Enumeration of parameter modes for Parameter. Possible vaues:
13    * <ul>
14    * <li>PARAM_IN - Represents an "in" parameter.</li>
15    * <li>PARAM_OUT - Represents an "out" parameter.</li>
16    * <li>PARAM_INOUT - Represents an "inout" parameter.</li>
17    * </ul>
18    */

19 public final class ParameterModeHolder implements org.omg.CORBA.portable.Streamable JavaDoc
20 {
21   public org.omg.CORBA.ParameterMode JavaDoc value = null;
22
23   public ParameterModeHolder ()
24   {
25   }
26
27   public ParameterModeHolder (org.omg.CORBA.ParameterMode JavaDoc initialValue)
28   {
29     value = initialValue;
30   }
31
32   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
33   {
34     value = org.omg.CORBA.ParameterModeHelper.read (i);
35   }
36
37   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
38   {
39     org.omg.CORBA.ParameterModeHelper.write (o, value);
40   }
41
42   public org.omg.CORBA.TypeCode JavaDoc _type ()
43   {
44     return org.omg.CORBA.ParameterModeHelper.type ();
45   }
46
47 }
48
Popular Tags