All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class SHOE.Unique_Elt

java.lang.Object
   |
   +----SHOE.Unique_Elt

public class Unique_Elt
extends Object
A class that represents an internet wide unique identifier for an ontology element.


Constructor Index

 o Unique_Elt(String, String, String)
Create a new unique element id from an ontology id, ontology version number and the name of an element in the ontology.

Method Index

 o equals(Object)
Return true if the other unique element is equivalent to this one.
 o getName()
Return the local name of this element in its home ontology.
 o getOntId()
Return the ontology id for this unique element.
 o getOntVer()
Return the ontology version number for this unique element.
 o hashCode()
Returns a hash code for the object.
 o toString()
Returns a string representation of the unique element object.

Constructors

 o Unique_Elt
 public Unique_Elt(String id,
                   String ver,
                   String nm)
Create a new unique element id from an ontology id, ontology version number and the name of an element in the ontology.

Methods

 o getOntId
 public String getOntId()
Return the ontology id for this unique element.

 o getOntVer
 public String getOntVer()
Return the ontology version number for this unique element.

 o getName
 public String getName()
Return the local name of this element in its home ontology.

 o equals
 public boolean equals(Object otherObj)
Return true if the other unique element is equivalent to this one.

Overrides:
equals in class Object
 o hashCode
 public int hashCode()
Returns a hash code for the object.

Overrides:
hashCode in class Object
 o toString
 public String toString()
Returns a string representation of the unique element object.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index