|
|||||||||
| 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
public class 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 copied| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic 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.
equals in class Objecto - an Object to compare against
true if Object o is equal
false otherwisepublic String toString()
String representation of the index entry.
toString in class ObjectString representation of the index entrypublic String getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
getKeyFields in interface IndexEntryString 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 IndexEntryString representation of the CUIpublic void setCui(String cui)
setCui in interface IndexEntrycui - the String CUI valuepublic String getConceptIdentifier()
String representation of the CUI.
getConceptIdentifier in interface IndexEntryString representation of the CUIpublic void setConceptIdentifier(String cui)
setConceptIdentifier in interface IndexEntrycui - the String CUI valuepublic String getLui()
String representation of the LUI.
getLui in interface IndexEntryString representation of the LUIpublic void setLui(String lui)
setLui in interface IndexEntrylui - the String LUI valuepublic String getTermIdentifier()
getTermIdentifier in interface IndexEntrypublic void setTermIdentifier(String lui)
setTermIdentifier in interface IndexEntrylui - the LUIpublic String getSui()
String representation of the SUI.
getSui in interface IndexEntryString representation of the SUIpublic void setSui(String sui)
setSui in interface IndexEntrysui - a String SUI valuepublic String getStringIdentifier()
getStringIdentifier in interface IndexEntrypublic void setStringIdentifier(String sui)
setStringIdentifier in interface IndexEntrysui - the SUIpublic String getLat()
String representation of the language.
getLat in interface IndexEntryString representation of the languagepublic void setLat(String lat)
setLat in interface IndexEntrylat - the language abbreviationpublic String getLanguage()
String representation of the language.
getLanguage in interface IndexEntryString representation of the languagepublic void setLanguage(String lat)
setLanguage in interface IndexEntrylat - the language abbreviationpublic String getValue()
String that is being indexed.
getValue in interface IndexEntryString that is being indexedpublic void setValue(String value)
String being indexed
setValue in interface IndexEntryvalue - the String being indexed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||