|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.umls.meta.impl.STYMetaDescriptionImpl
Default implementation of the STYMetaDescription
interface.
Constructor Summary | |
STYMetaDescriptionImpl()
Instantiates an empty STYMetaDescriptionImpl . |
|
STYMetaDescriptionImpl(String srdef_row)
Instantiates a STYMetaDescription from a row from the SRDEF file. |
Method Summary | |
boolean |
allowsNonHumanFlag()
Indicates whether or not this semantic type or its descendents allow the non human flag. |
int |
compareTo(Object o)
Compares this STYMetaDescription to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
String |
getDef()
Shorthand for getDefinition() . |
String |
getDefinition()
Returns the definition (DEF). |
String |
getEx()
Shorthand for getExamplesAsString() . |
String[] |
getExamples()
Returns a String array of of Metathesaurus strings (EX)
which are examples of this semantic type. |
List |
getExamplesAsList()
Returns a List array of of Metathesaurus strings (EX)
which are examples of this semantic type. |
String |
getExamplesAsString()
Returns a semi-colon (;) separated list of Metathesaurus strings (EX) which are examples of this semantic type. |
String |
getIdentifier()
Returns the unique identifier (UI). |
String |
getName()
Returns the name (STY). |
String |
getNH()
Returns the non human flag value (NH). |
String |
getStn()
Shorthand for getTreeNumber() . |
String |
getSty()
Shorthand for getName() . |
String |
getTreeNumber()
Returns the tree number (STN). |
String |
getUi()
Shorthand for getIdentifier() . |
String |
getUn()
Shorthand for getUsageNote() . |
String |
getUsageNote()
Returns the usage note (UN). |
int |
hashCode()
Return a hash code based on key fields. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public STYMetaDescriptionImpl()
STYMetaDescriptionImpl
.
public STYMetaDescriptionImpl(String srdef_row)
STYMetaDescription
from a row from the SRDEF file.
srdef_row
- row from SRDEF fileMethod Detail |
public String getUi()
getIdentifier()
.
getUi
in interface STYMetaDescription
public String getIdentifier()
getIdentifier
in interface STYMetaDescription
public String getSty()
getName()
.
getSty
in interface STYMetaDescription
public String getName()
getName
in interface STYMetaDescription
public String getStn()
getTreeNumber()
.
getStn
in interface STYMetaDescription
public String getTreeNumber()
getTreeNumber
in interface STYMetaDescription
public String getDef()
getDefinition()
.
getDef
in interface STYMetaDescription
public String getDefinition()
getDefinition
in interface STYMetaDescription
public String getEx()
getExamplesAsString()
.
getEx
in interface STYMetaDescription
public String[] getExamples()
String
array of of Metathesaurus strings (EX)
which are examples of this semantic type.
getExamples
in interface STYMetaDescription
String
array of Metathesaurus examplespublic String getExamplesAsString()
getExamplesAsString
in interface STYMetaDescription
public List getExamplesAsList()
List
array of of Metathesaurus strings (EX)
which are examples of this semantic type.
getExamplesAsList
in interface STYMetaDescription
List
of Metathesaurus examplespublic String getUn()
getUsageNote()
.
getUn
in interface STYMetaDescription
public String getUsageNote()
getUsageNote
in interface STYMetaDescription
public boolean allowsNonHumanFlag()
allowsNonHumanFlag
in interface STYMetaDescription
true
if allowed, false
if notpublic String getNH()
getNH
in interface STYMetaDescription
public int hashCode()
public boolean equals(Object o)
true
if the specified object is
equal to this object. The specified object must be a
STYMetaDescription
with matching key fields.
o
- an Object
to compare against
true
if Object o is equal
false
otherwisepublic int compareTo(Object o)
STYMetaDescription
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 |