|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.meta.impl.SourceMetaDescriptionImpl
public class SourceMetaDescriptionImpl
Default implementation of the SourceMetaDescription interface.
| Constructor Summary | |
|---|---|
SourceMetaDescriptionImpl()
Instantiates an empty SourceMetaDescriptionImpl. |
|
SourceMetaDescriptionImpl(String mrsab_row)
Instantiates the SourceMetaDescription with the fields
from a MRSAB row. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this SourceMetaDescription to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
String |
getAtnl()
Shorthand for getAttributeNamesAsString(). |
AttributeName[] |
getAttributeNames()
Get the AttributeNames for this SourceMetaDescription. |
List |
getAttributeNamesAsList()
Returns the AttributeNames as a List. |
String |
getAttributeNamesAsString()
Returns the attribute names as a comma (,) separated list of attribute name abbreviations (ATNL). |
String |
getCenc()
Shorthand for getCharacterEncoding(). |
int |
getCfr()
Shorthand for getConceptFrequency() |
String |
getCharacterEncoding()
Returns the ISO character encoding (CENC). |
String |
getCitation()
Returns the source citation (SCIT). |
int |
getConceptFrequency()
Returns the frequency of concepts (CFR). |
String |
getContentContact()
Returns the content contact information (SCC). |
String |
getContextType()
Returns the context type (CXTY). |
String |
getCurver()
Returns the "is current version" value (CURVER). |
String |
getCxty()
Shorthand for getContextType(). |
String |
getImeta()
Shorthand for getInsertMetaVersion() |
String |
getInsertMetaVersion()
Returns the version of the Metathesaurus in which this source first appeared (IMETA). |
Language |
getLanguage()
Returns the Language (LAT). |
Language |
getLat()
Shorthand for getLanguage(). |
String |
getLicenseContact()
Returns the license contact information (SLC). |
Date |
getMend()
Shorthand for getValidEndDate(). |
Date |
getMstart()
Shorthand for getValidStartDate(). |
String |
getOfficialName()
Returns the source official name (SON). |
String |
getRcui()
Shorthand for getRootConceptIdentifier(). |
String |
getRemoveMetaVersion()
Returns the first version of the Metathesaurus in which this source no longer (RMETA). |
String |
getRestrictionLevel()
Returns the restriction level (SRL). |
String |
getRmeta()
Shorthand for getRemoveMetaVersion() |
String |
getRootConceptIdentifier()
Returns the concept identifier for the root SRC concept (VCUI). |
String |
getRootSourceAbbreviation()
Returns the root source abbreviation (RSAB). |
String |
getRsab()
Shorthand for getRootSourceAbbreviation(). |
String |
getSabin()
Returns the "in current subset" value (SABIN). |
String |
getScc()
Shorthand for getContentContact(). |
String |
getScit()
Shorthand for getCitation(). |
String |
getSf()
Shorthand for getSourceFamily(). |
String |
getShortName()
Returns the source short name (SSN). |
String |
getSlc()
Shorthand for getLicenseContact(). |
String |
getSon()
Shorthand for getOfficialName(). |
String |
getSourceFamily()
Returns the source family (SF). |
String |
getSrl()
Shorthand for getRestrictionLevel(). |
String |
getSsn()
Shorthand for getShortName(). |
String |
getSver()
Shorthand for getVersion(). |
int |
getTermFrequency()
Returns the frequency of terms (TFR). |
TermType[] |
getTermTypes()
Returns the TermTypes. |
List |
getTermTypesAsList()
Returns the TermTypes as a List. |
String |
getTermTypesAsString()
Returns the term types as a comma (,) separated list of term type abbreviations (TTYL). |
int |
getTfr()
Shorthand for getTermFrequency() |
String |
getTtyl()
Shorthand for getTermTypesAsString(). |
Date |
getValidEndDate()
Returns the date when this source is no longer valid in the Metathesaurus (MEND). |
Date |
getValidStartDate()
Returns the date when this source becomes valid in the Metathesaurus (MSTART). |
String |
getVcui()
Shorthand for getVersionedConceptIdentifier(). |
String |
getVersion()
Returns source version (SVER). |
String |
getVersionedConceptIdentifier()
Returns the concept identifier for the versioned SRC concept (VCUI). |
String |
getVersionedSourceAbbreviation()
Returns the versioned source abbreviation (VSAB). |
String |
getVsab()
Shorthand for (@ link #getVersionedSourceAbbreviation()}. |
int |
hashCode()
Return a hash code based on key fields. |
boolean |
inCurrentSubset()
Indicates whether or not this source is represented in the current subset. |
boolean |
isCurrentVersion()
Indicates whether or not this represents the current version of the source. |
void |
setInCurrentSubset(boolean sabin)
Sets whether or not this represents the current version of the source. |
void |
setSabin(String sabin)
Sets the "in current subset" value (SABIN). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourceMetaDescriptionImpl()
SourceMetaDescriptionImpl.
public SourceMetaDescriptionImpl(String mrsab_row)
SourceMetaDescription with the fields
from a MRSAB row.
mrsab_row - row from MRSAB| Method Detail |
|---|
public String getVcui()
getVersionedConceptIdentifier().
getVcui in interface SourceMetaDescriptionpublic String getVersionedConceptIdentifier()
getVersionedConceptIdentifier in interface SourceMetaDescriptionpublic String getRcui()
getRootConceptIdentifier().
getRcui in interface SourceMetaDescriptionpublic String getRootConceptIdentifier()
getRootConceptIdentifier in interface SourceMetaDescriptionpublic String getVsab()
getVsab in interface SourceMetaDescriptionpublic String getVersionedSourceAbbreviation()
getVersionedSourceAbbreviation in interface SourceMetaDescriptionpublic String getRsab()
getRootSourceAbbreviation().
getRsab in interface SourceMetaDescriptionpublic String getRootSourceAbbreviation()
getRootSourceAbbreviation in interface SourceMetaDescriptionpublic String getSon()
getOfficialName().
getSon in interface SourceMetaDescriptionpublic String getOfficialName()
getOfficialName in interface SourceMetaDescriptionpublic String getSsn()
getShortName().
getSsn in interface SourceMetaDescriptionpublic String getShortName()
getShortName in interface SourceMetaDescriptionpublic String getScit()
getCitation().
getScit in interface SourceMetaDescriptionpublic String getCitation()
getCitation in interface SourceMetaDescriptionpublic String getSf()
getSourceFamily().
getSf in interface SourceMetaDescriptionpublic String getSourceFamily()
getSourceFamily in interface SourceMetaDescriptionpublic String getSver()
getVersion().
getSver in interface SourceMetaDescriptionpublic String getVersion()
getVersion in interface SourceMetaDescriptionpublic Date getMstart()
getValidStartDate().
getMstart in interface SourceMetaDescriptionpublic Date getValidStartDate()
getValidStartDate in interface SourceMetaDescriptionpublic Date getMend()
getValidEndDate().
getMend in interface SourceMetaDescriptionpublic Date getValidEndDate()
getValidEndDate in interface SourceMetaDescriptionpublic String getInsertMetaVersion()
getInsertMetaVersion in interface SourceMetaDescriptionpublic String getImeta()
getInsertMetaVersion()
getImeta in interface SourceMetaDescriptionpublic String getRmeta()
getRemoveMetaVersion()
getRmeta in interface SourceMetaDescriptionpublic String getRemoveMetaVersion()
getRemoveMetaVersion in interface SourceMetaDescriptionpublic String getSlc()
getLicenseContact().
getSlc in interface SourceMetaDescriptionpublic String getLicenseContact()
getLicenseContact in interface SourceMetaDescriptionpublic String getContentContact()
getContentContact in interface SourceMetaDescriptionpublic String getScc()
getContentContact().
getScc in interface SourceMetaDescriptionpublic String getSrl()
getRestrictionLevel().
getSrl in interface SourceMetaDescriptionpublic String getRestrictionLevel()
getRestrictionLevel in interface SourceMetaDescriptionpublic int getTfr()
getTermFrequency()
getTfr in interface SourceMetaDescriptionpublic int getTermFrequency()
getTermFrequency in interface SourceMetaDescriptionpublic int getCfr()
getConceptFrequency()
getCfr in interface SourceMetaDescriptionpublic int getConceptFrequency()
getConceptFrequency in interface SourceMetaDescriptionpublic String getCxty()
getContextType().
getCxty in interface SourceMetaDescriptionpublic String getContextType()
getContextType in interface SourceMetaDescriptionpublic TermType[] getTermTypes()
TermTypes.
getTermTypes in interface SourceMetaDescriptionTermTypespublic List getTermTypesAsList()
TermTypes as a List.
getTermTypesAsList in interface SourceMetaDescriptionTermTypes as a Listpublic String getTtyl()
getTermTypesAsString().
getTtyl in interface SourceMetaDescriptionpublic String getTermTypesAsString()
getTermTypesAsString in interface SourceMetaDescriptionpublic AttributeName[] getAttributeNames()
AttributeNames for this SourceMetaDescription.
Returns the AttributeNames.
getAttributeNames in interface SourceMetaDescriptionAttributeNamespublic List getAttributeNamesAsList()
AttributeNames as a List.
getAttributeNamesAsList in interface SourceMetaDescriptionAttributeNames as a Listpublic String getAtnl()
getAttributeNamesAsString().
getAtnl in interface SourceMetaDescriptionpublic String getAttributeNamesAsString()
getAttributeNamesAsString in interface SourceMetaDescriptionpublic Language getLat()
getLanguage().
getLat in interface SourceMetaDescriptionLanguagepublic Language getLanguage()
Language (LAT).
getLanguage in interface SourceMetaDescriptionLanguagepublic String getCenc()
getCharacterEncoding().
getCenc in interface SourceMetaDescriptionpublic String getCharacterEncoding()
getCharacterEncoding in interface SourceMetaDescriptionpublic String getCurver()
getCurver in interface SourceMetaDescriptionpublic boolean isCurrentVersion()
isCurrentVersion in interface SourceMetaDescriptiontrue if it does, false otherwise.public String getSabin()
getSabin in interface SourceMetaDescriptionpublic boolean inCurrentSubset()
inCurrentSubset in interface SourceMetaDescriptiontrue if it is, false otherwise.public void setInCurrentSubset(boolean sabin)
setInCurrentSubset in interface SourceMetaDescriptionsabin - booleanpublic void setSabin(String sabin)
setSabin in interface SourceMetaDescriptionsabin - "in current subset" valuepublic 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
SourceMetaDescription 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)
SourceMetaDescription 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 | ||||||||