|
||||||||||
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
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 AttributeName s for this SourceMetaDescription . |
List |
getAttributeNamesAsList()
Returns the AttributeName s 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 TermType s. |
List |
getTermTypesAsList()
Returns the TermType s 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 MRSABMethod Detail |
public String getVcui()
getVersionedConceptIdentifier()
.
getVcui
in interface SourceMetaDescription
public String getVersionedConceptIdentifier()
getVersionedConceptIdentifier
in interface SourceMetaDescription
public String getRcui()
getRootConceptIdentifier()
.
getRcui
in interface SourceMetaDescription
public String getRootConceptIdentifier()
getRootConceptIdentifier
in interface SourceMetaDescription
public String getVsab()
getVsab
in interface SourceMetaDescription
public String getVersionedSourceAbbreviation()
getVersionedSourceAbbreviation
in interface SourceMetaDescription
public String getRsab()
getRootSourceAbbreviation()
.
getRsab
in interface SourceMetaDescription
public String getRootSourceAbbreviation()
getRootSourceAbbreviation
in interface SourceMetaDescription
public String getSon()
getOfficialName()
.
getSon
in interface SourceMetaDescription
public String getOfficialName()
getOfficialName
in interface SourceMetaDescription
public String getSsn()
getShortName()
.
getSsn
in interface SourceMetaDescription
public String getShortName()
getShortName
in interface SourceMetaDescription
public String getScit()
getCitation()
.
getScit
in interface SourceMetaDescription
public String getCitation()
getCitation
in interface SourceMetaDescription
public String getSf()
getSourceFamily()
.
getSf
in interface SourceMetaDescription
public String getSourceFamily()
getSourceFamily
in interface SourceMetaDescription
public String getSver()
getVersion()
.
getSver
in interface SourceMetaDescription
public String getVersion()
getVersion
in interface SourceMetaDescription
public Date getMstart()
getValidStartDate()
.
getMstart
in interface SourceMetaDescription
public Date getValidStartDate()
getValidStartDate
in interface SourceMetaDescription
public Date getMend()
getValidEndDate()
.
getMend
in interface SourceMetaDescription
public Date getValidEndDate()
getValidEndDate
in interface SourceMetaDescription
public String getInsertMetaVersion()
getInsertMetaVersion
in interface SourceMetaDescription
public String getImeta()
getInsertMetaVersion()
getImeta
in interface SourceMetaDescription
public String getRmeta()
getRemoveMetaVersion()
getRmeta
in interface SourceMetaDescription
public String getRemoveMetaVersion()
getRemoveMetaVersion
in interface SourceMetaDescription
public String getSlc()
getLicenseContact()
.
getSlc
in interface SourceMetaDescription
public String getLicenseContact()
getLicenseContact
in interface SourceMetaDescription
public String getContentContact()
getContentContact
in interface SourceMetaDescription
public String getScc()
getContentContact()
.
getScc
in interface SourceMetaDescription
public String getSrl()
getRestrictionLevel()
.
getSrl
in interface SourceMetaDescription
public String getRestrictionLevel()
getRestrictionLevel
in interface SourceMetaDescription
public int getTfr()
getTermFrequency()
getTfr
in interface SourceMetaDescription
public int getTermFrequency()
getTermFrequency
in interface SourceMetaDescription
public int getCfr()
getConceptFrequency()
getCfr
in interface SourceMetaDescription
public int getConceptFrequency()
getConceptFrequency
in interface SourceMetaDescription
public String getCxty()
getContextType()
.
getCxty
in interface SourceMetaDescription
public String getContextType()
getContextType
in interface SourceMetaDescription
public TermType[] getTermTypes()
TermType
s.
getTermTypes
in interface SourceMetaDescription
TermType
spublic List getTermTypesAsList()
TermType
s as a List
.
getTermTypesAsList
in interface SourceMetaDescription
TermType
s as a List
public String getTtyl()
getTermTypesAsString()
.
getTtyl
in interface SourceMetaDescription
public String getTermTypesAsString()
getTermTypesAsString
in interface SourceMetaDescription
public AttributeName[] getAttributeNames()
AttributeName
s for this SourceMetaDescription
.
Returns the AttributeName
s.
getAttributeNames
in interface SourceMetaDescription
AttributeName
spublic List getAttributeNamesAsList()
AttributeName
s as a List
.
getAttributeNamesAsList
in interface SourceMetaDescription
AttributeName
s as a List
public String getAtnl()
getAttributeNamesAsString()
.
getAtnl
in interface SourceMetaDescription
public String getAttributeNamesAsString()
getAttributeNamesAsString
in interface SourceMetaDescription
public Language getLat()
getLanguage()
.
getLat
in interface SourceMetaDescription
Language
public Language getLanguage()
Language
(LAT).
getLanguage
in interface SourceMetaDescription
Language
public String getCenc()
getCharacterEncoding()
.
getCenc
in interface SourceMetaDescription
public String getCharacterEncoding()
getCharacterEncoding
in interface SourceMetaDescription
public String getCurver()
getCurver
in interface SourceMetaDescription
public boolean isCurrentVersion()
isCurrentVersion
in interface SourceMetaDescription
true
if it does, false
otherwise.public String getSabin()
getSabin
in interface SourceMetaDescription
public boolean inCurrentSubset()
inCurrentSubset
in interface SourceMetaDescription
true
if it is, false
otherwise.public void setInCurrentSubset(boolean sabin)
setInCurrentSubset
in interface SourceMetaDescription
sabin
- boolean
public void setSabin(String sabin)
setSabin
in interface SourceMetaDescription
sabin
- "in current subset" valuepublic int hashCode()
public 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.
o
- 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 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 |