|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.meta.SourceTermType
public class SourceTermType
Represents a tuple consisting of a Source and a TermType.
| Constructor Summary | |
|---|---|
SourceTermType()
Instantiate an empty SourceTermType. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this SourceTermType to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
Source |
getSource()
Returns the Source. |
Suppressible |
getSuppress()
Returns the suppressibility value (SUPPRESS). |
TermType |
getTermType()
Returns tbe TermType. |
int |
hashCode()
Return a hash code based on key fields. |
boolean |
isObsolete()
Indicates whether or not this SourceTermType is obsolete. |
boolean |
isSuppressible()
Indicates whether or not this SourceTermType is suppressible. |
void |
setSource(Source source)
Sets the Source. |
void |
setSuppress(Suppressible suppress)
Sets the suppressibility value (SUPPRESS). |
void |
setTermType(TermType tty)
Sets tbe TermType. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourceTermType()
SourceTermType.
| Method Detail |
|---|
public Source getSource()
Source.
Sourcepublic void setSource(Source source)
Source.
source - the Sourcepublic TermType getTermType()
TermType.
TermTypepublic void setTermType(TermType tty)
TermType.
tty - tbe TermTypepublic Suppressible getSuppress()
getSuppress in interface SuppressibleElementSuppressible valuepublic boolean isSuppressible()
SourceTermType is suppressible.
isSuppressible in interface SuppressibleElementtrue if suppressible,
false if not suppressiblepublic void setSuppress(Suppressible suppress)
setSuppress in interface SuppressibleElementsuppress - the Suppressible valuepublic boolean isObsolete()
SourceTermType is obsolete.
isObsolete in interface SuppressibleElementtrue if obsolete,
false if not obsoletepublic 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
SourceTermType with matching key fields.
equals in class Objecto - an Object to compare against
true if Object o is equal
false otherwisepublic int compareTo(Object o)
SourceTermType to another one. Results
are indeterminate if the specified parameter is not of the
same class.
compareTo in interface Comparableo - the Object to compare to
int representing the relative ordering
of this and the compare-to object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||