|
|||||||||
| 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
public class 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 file| Method Detail |
|---|
public String getUi()
getIdentifier().
getUi in interface STYMetaDescriptionpublic String getIdentifier()
getIdentifier in interface STYMetaDescriptionpublic String getSty()
getName().
getSty in interface STYMetaDescriptionpublic String getName()
getName in interface STYMetaDescriptionpublic String getStn()
getTreeNumber().
getStn in interface STYMetaDescriptionpublic String getTreeNumber()
getTreeNumber in interface STYMetaDescriptionpublic String getDef()
getDefinition().
getDef in interface STYMetaDescriptionpublic String getDefinition()
getDefinition in interface STYMetaDescriptionpublic String getEx()
getExamplesAsString().
getEx in interface STYMetaDescriptionpublic String[] getExamples()
String array of of Metathesaurus strings (EX)
which are examples of this semantic type.
getExamples in interface STYMetaDescriptionString array of Metathesaurus examplespublic String getExamplesAsString()
getExamplesAsString in interface STYMetaDescriptionpublic List getExamplesAsList()
List array of of Metathesaurus strings (EX)
which are examples of this semantic type.
getExamplesAsList in interface STYMetaDescriptionList of Metathesaurus examplespublic String getUn()
getUsageNote().
getUn in interface STYMetaDescriptionpublic String getUsageNote()
getUsageNote in interface STYMetaDescriptionpublic boolean allowsNonHumanFlag()
allowsNonHumanFlag in interface STYMetaDescriptiontrue if allowed, false if notpublic String getNH()
getNH in interface STYMetaDescriptionpublic 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 a
STYMetaDescription 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)
STYMetaDescription 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 | ||||||||