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.
-
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.
-
equals(Object)
- Return true if the other unique element is equivalent to this one.
-
getName()
- Return the local name of this element in its home ontology.
-
getOntId()
- Return the ontology id for this unique element.
-
getOntVer()
- Return the ontology version number for this unique element.
-
hashCode()
- Returns a hash code for the object.
-
toString()
- Returns a string representation of the unique element object.
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.
getOntId
public String getOntId()
- Return the ontology id for this unique element.
getOntVer
public String getOntVer()
- Return the ontology version number for this unique element.
getName
public String getName()
- Return the local name of this element in its home ontology.
equals
public boolean equals(Object otherObj)
- Return true if the other unique element is equivalent to this one.
- Overrides:
- equals in class Object
hashCode
public int hashCode()
- Returns a hash code for the object.
- Overrides:
- hashCode in class Object
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