org.omg.CosNaming
Class Binding

java.lang.Object
  extended by org.omg.CosNaming.Binding
All Implemented Interfaces:
Serializable, IDLEntity

public final class Binding
extends Object
implements IDLEntity

Defines the binding with the given name and type.

See Also:
Serialized Form

Field Summary
 NameComponent[] binding_name
          The binding name, consisting of the number of the name components.
 BindingType binding_type
          The binding type holds value ncontext for bindings, created with operations bind_context, rebind_context or bind_new_context.
 
Constructor Summary
Binding()
          Create an empty binding.
Binding(NameComponent[] a_name, BindingType a_type)
          Create the binding, initialised to the given values.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

binding_type

public BindingType binding_type
The binding type holds value ncontext for bindings, created with operations bind_context, rebind_context or bind_new_context. It holds value nobject of all other possible bindings.


binding_name

public NameComponent[] binding_name
The binding name, consisting of the number of the name components.

Constructor Detail

Binding

public Binding()
Create an empty binding.


Binding

public Binding(NameComponent[] a_name,
               BindingType a_type)
Create the binding, initialised to the given values.

Parameters:
a_name - the binding name.
a_type - the binding type.