Novell exteNd Messaging Platform 5.1

org.omg.CosNaming
Class NameComponent

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

public final class NameComponent
extends Object
implements 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 "". The naming system does not interpret, assign, or manage these values in any way. Higher level of software may make policies about the use and management of these values.

See Also:
Serialized Form

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

Field Detail

id

public String id

kind

public String kind
Constructor Detail

NameComponent

public NameComponent()

NameComponent

public NameComponent(String id,
                     String kind)

Novell exteNd Messaging Platform 5.1

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.