com.beasys.Tobj
Class LName

java.lang.Object
  |
  +--com.beasys.Tobj.LName

public class LName
extends java.lang.Object

This class implements the names library in CosNaming. This class is a Java-specific implementation of an OMG-defined CORBA pseudo-object, which will be deprecated in a future release.


Method Summary
static LName create_lname()
          Creates a library name pseudo-object.
 LNameComponent delete_component(long long_i)
          Removes and returns the component specified by long_i.
 void destroy()
          Destroys library name component pseudo-objects.
 boolean equal(LName lnp)
          Tests for equality with the library name specified by ln.
 void from_idl_form(NameComponent[] nr)
          Sets the components and kind attribute for a library name from a returned IDL defined structure represented by nr.
 LNameComponent get_component(long long_i)
          Returns the component specified by long_i.
 LName insert_component(long long_i, LNameComponent ncp)
          Inserts a component after the position specified by long_i.
 boolean less_than(LName lnp)
          Tests for the order of a library name in relation to the library name specified by lnp.
 long num_components()
          Returns the number of components in a library name.
 NameComponent[] to_idl_form()
          Produces a structure that can be passed across the IDL request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create_lname

public static LName create_lname()
Creates a library name pseudo-object.

destroy

public void destroy()
Destroys library name component pseudo-objects.

insert_component

public LName insert_component(long long_i,
                              LNameComponent ncp)
                       throws NoComponent,
                              OverFlow
Inserts a component after the position specified by long_i.

get_component

public LNameComponent get_component(long long_i)
                             throws NoComponent
Returns the component specified by long_i.

delete_component

public LNameComponent delete_component(long long_i)
                                throws NoComponent
Removes and returns the component specified by long_i.

num_components

public long num_components()
Returns the number of components in a library name.

equal

public boolean equal(LName lnp)
Tests for equality with the library name specified by ln.

less_than

public boolean less_than(LName lnp)
                  throws NotImplemented
Tests for the order of a library name in relation to the library name specified by lnp.

from_idl_form

public void from_idl_form(NameComponent[] nr)
                   throws OverFlow
Sets the components and kind attribute for a library name from a returned IDL defined structure represented by nr.

to_idl_form

public NameComponent[] to_idl_form()
                            throws InvalidName
Produces a structure that can be passed across the IDL request.