001 package org.omg.CosNaming;
002
003 /**
004 * org/omg/CosNaming/BindingTypeHolder.java .
005 * Generated by the IDL-to-Java compiler (portable), version "3.2"
006 * from /home/iurt/rpm/BUILD/geronimo-spec-corba/src/main/idl/CosNaming.idl
007 * Saturday, November 26, 2011 9:53:36 PM UTC
008 */
009
010
011 /**
012 * Specifies whether the given binding is for a object (that is not a
013 * naming context) or for a naming context.
014 */
015 public final class BindingTypeHolder implements org.omg.CORBA.portable.Streamable
016 {
017 public org.omg.CosNaming.BindingType value = null;
018
019 public BindingTypeHolder ()
020 {
021 }
022
023 public BindingTypeHolder (org.omg.CosNaming.BindingType initialValue)
024 {
025 value = initialValue;
026 }
027
028 public void _read (org.omg.CORBA.portable.InputStream i)
029 {
030 value = org.omg.CosNaming.BindingTypeHelper.read (i);
031 }
032
033 public void _write (org.omg.CORBA.portable.OutputStream o)
034 {
035 org.omg.CosNaming.BindingTypeHelper.write (o, value);
036 }
037
038 public org.omg.CORBA.TypeCode _type ()
039 {
040 return org.omg.CosNaming.BindingTypeHelper.type ();
041 }
042
043 }