- package org.omg.CosNaming;
-
-
- /**
- * org/omg/CosNaming/NameComponent.java .
- * Generated by the IDL-to-Java compiler (portable), version "3.1"
- * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
- * Monday, February 23, 2004 7:03:07 AM GMT
- */
-
-
- /**
- * Many of the operations defined on a naming context take names as
- * parameters. Names have structure. A name is an ordered sequence of
- * components. <p>
- *
- * 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. <p>
- *
- * 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 " ".
- */
- public final class NameComponent implements org.omg.CORBA.portable.IDLEntity
- {
- public String id = null;
- public String kind = null;
-
- public NameComponent ()
- {
- } // ctor
-
- public NameComponent (String _id, String _kind)
- {
- id = _id;
- kind = _kind;
- } // ctor
-
- } // class NameComponent