|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.umls.meta.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
.
Source
public void setSource(Source source)
Source
.
source
- the Source
public TermType getTermType()
TermType
.
TermType
public void setTermType(TermType tty)
TermType
.
tty
- tbe TermType
public Suppressible getSuppress()
getSuppress
in interface SuppressibleElement
Suppressible
valuepublic boolean isSuppressible()
SourceTermType
is suppressible.
isSuppressible
in interface SuppressibleElement
true
if suppressible,
false
if not suppressiblepublic void setSuppress(Suppressible suppress)
setSuppress
in interface SuppressibleElement
suppress
- the Suppressible
valuepublic boolean isObsolete()
SourceTermType
is obsolete.
isObsolete
in interface SuppressibleElement
true
if obsolete,
false
if not obsoletepublic int hashCode()
public 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.
o
- 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 Comparable
o
- 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 |