KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CosNaming > BindingTypeHolder


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

9
10
11 /**
12    * Specifies whether the given binding is for a object (that is not a
13    * naming context) or for a naming context.
14    */

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