|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CosNaming.NameComponent
public final class NameComponent
The name component, a node in the multi-comonent name.
| Field Summary | |
|---|---|
String |
id
The name component identifier. |
String |
kind
The name component kind (this conception is similar to the file type conception. |
| Constructor Summary | |
|---|---|
NameComponent()
Create the empty name component. |
|
NameComponent(String _id,
String _kind)
Create the initialised name component. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Returns true if both name and kind are equal. |
int |
hashCode()
Return the hashCode of this NameComponent. |
String |
toString()
Get a string representation (id.kind). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String id
public String kind
| Constructor Detail |
|---|
public NameComponent()
public NameComponent(String _id,
String _kind)
| Method Detail |
|---|
public boolean equals(Object other)
equals in class Objectother - the other object.
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||