public final class NameComponent extends java.lang.Object implements org.omg.CORBA.portable.IDLEntity
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
id
The name component identifier.
|
java.lang.String |
kind
The name component kind (this conception is similar to
the file type conception.
|
| Constructor and Description |
|---|
NameComponent()
Create the empty name component.
|
NameComponent(java.lang.String _id,
java.lang.String _kind)
Create the initialised name component.
|
public java.lang.String id
public java.lang.String kind
public NameComponent()
public NameComponent(java.lang.String _id, java.lang.String _kind)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the Object to compare toObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)public int hashCode()
hashCode in class java.lang.ObjectObject.equals(Object),
System.identityHashCode(Object)