|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.umls.meta.impl.IndexEntryImpl
Default implementation of the IndexEntry
interface.
Constructor Summary | |
IndexEntryImpl()
Instantiates an empty IndexEntry . |
|
IndexEntryImpl(IndexEntry ie)
Instantiates an IndexEntry from the specified IndexEntry . |
Method Summary | |
int |
compareTo(Object o)
Compares this IndexEntry to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
String |
getConceptIdentifier()
Returns a String representation of the CUI. |
String |
getCui()
Returns a String representation of the CUI. |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
String |
getLanguage()
Returns a String representation of the language. |
String |
getLat()
Returns a String representation of the language. |
String |
getLui()
Returns a String representation of the LUI. |
String |
getStringIdentifier()
Return the string identifier (SUI). |
String |
getSui()
Returns a String representation of the SUI. |
String |
getTermIdentifier()
Returns the term identifier (LUI). |
String |
getValue()
Returns the String that is being indexed. |
int |
hashCode()
Return a hash code based on all fields. |
void |
setConceptIdentifier(String cui)
Sets the CUI. |
void |
setCui(String cui)
Sets the CUI. |
void |
setLanguage(String lat)
Sets the language abbreviation. |
void |
setLat(String lat)
Sets the language abbreviation. |
void |
setLui(String lui)
Sets the LUI. |
void |
setStringIdentifier(String sui)
Sets the string identifier (SUI). |
void |
setSui(String sui)
Sets the SUI. |
void |
setTermIdentifier(String lui)
Sets the term identifier (LUI). |
void |
setValue(String value)
Set the String being indexed |
String |
toString()
Returns a String representation of the index entry. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IndexEntryImpl()
IndexEntry
.
public IndexEntryImpl(IndexEntry ie)
IndexEntry
from the specified IndexEntry
.
ie
- IndexEntry
to be copiedMethod Detail |
public int hashCode()
public boolean equals(Object o)
true
if the specified object is
equal to this object. The specified object must be an
IndexEntry
with matching key fields.
o
- an Object
to compare against
true
if Object o is equal
false
otherwisepublic String toString()
String
representation of the index entry.
String
representation of the index entrypublic String getKeyFields()
String
key which can be used
by equals, compareTo, and hashCode methods.
getKeyFields
in interface IndexEntry
String
composed from the cui, aui, sui,
versioned source, tty, and code.public int compareTo(Object o)
IndexEntry
to another one. Results
are indeterminate if the specified parameter is not of the
same class.
o
- the Object
to compare to
int
representing the relative ordering
of this and the compare-to objectpublic String getCui()
String
representation of the CUI.
getCui
in interface IndexEntry
String
representation of the CUIpublic void setCui(String cui)
setCui
in interface IndexEntry
cui
- the String
CUI valuepublic String getConceptIdentifier()
String
representation of the CUI.
getConceptIdentifier
in interface IndexEntry
String
representation of the CUIpublic void setConceptIdentifier(String cui)
setConceptIdentifier
in interface IndexEntry
cui
- the String
CUI valuepublic String getLui()
String
representation of the LUI.
getLui
in interface IndexEntry
String
representation of the LUIpublic void setLui(String lui)
setLui
in interface IndexEntry
lui
- the String
LUI valuepublic String getTermIdentifier()
getTermIdentifier
in interface IndexEntry
public void setTermIdentifier(String lui)
setTermIdentifier
in interface IndexEntry
lui
- the LUIpublic String getSui()
String
representation of the SUI.
getSui
in interface IndexEntry
String
representation of the SUIpublic void setSui(String sui)
setSui
in interface IndexEntry
sui
- a String
SUI valuepublic String getStringIdentifier()
getStringIdentifier
in interface IndexEntry
public void setStringIdentifier(String sui)
setStringIdentifier
in interface IndexEntry
sui
- the SUIpublic String getLat()
String
representation of the language.
getLat
in interface IndexEntry
String
representation of the languagepublic void setLat(String lat)
setLat
in interface IndexEntry
lat
- the language abbreviationpublic String getLanguage()
String
representation of the language.
getLanguage
in interface IndexEntry
String
representation of the languagepublic void setLanguage(String lat)
setLanguage
in interface IndexEntry
lat
- the language abbreviationpublic String getValue()
String
that is being indexed.
getValue
in interface IndexEntry
String
that is being indexedpublic void setValue(String value)
String
being indexed
setValue
in interface IndexEntry
value
- the String
being indexed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |