org.omg.CosNaming
Class NameComponent

java.lang.Object
  extended byorg.omg.CosNaming.NameComponent
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public final class NameComponent
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

Many of the operations defined on a naming context take names as parameters. Names have structure. A name is an ordered sequence of components.

A name with a single component is called a simple name; a name with multiple components is called a compound name. Each component except the last is used to name a context; the last component denotes the bound object.

A name component consists of two attributes: the identifier attribute and the kind attribute. Both the identifier attribute and the kind attribute are represented as IDL strings. The kind attribute adds descriptive power to names in a syntax-independent way. Examples of the value of the kind attribute include c_source, object_code, executable, postscript, or " ".

See Also:
Serialized Form

Field Summary
 java.lang.String id
           
 java.lang.String kind
           
 
Constructor Summary
NameComponent()
           
NameComponent(java.lang.String _id, java.lang.String _kind)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id

kind

public java.lang.String kind
Constructor Detail

NameComponent

public NameComponent()

NameComponent

public NameComponent(java.lang.String _id,
                     java.lang.String _kind)


Copyright © {inceptionYear}-2007 null. All Rights Reserved.