com.aliasi.medline
Class CommentOrCorrection

java.lang.Object
  extended by com.aliasi.medline.CommentOrCorrection

Deprecated. Moved to lingmed sandbox project.

@Deprecated
public class CommentOrCorrection
extends Object

A CommentOrCorrection object represents one of the many possible comments or corrections that have been applied to an article. these include comments, errat, retractions, etc.

There are various types of comments or corrections, corresponding to the elements used to code them in the XML version of MEDLINE. The following is a complete list with descriptions:

TypeDescription
CommentOn Reference upon which this article comments
CommentIn Reference containing a comment about this article
ErratumIn Reference containing published erratum to this article
ErratumFor The original article for which there is a published erratum
RepublishedFrom The original article
RepublishedIn Reference of the corrected and republished article
RetractionOf The article being retracted
RetractionIn The reference containing a retraction of the article
PartialRetractionOf The article being retracted
PartialRetractionIn The reference containing a retraction of the article
UpdateIn Reference containing and update to the article
UpdateOf The article being updated
SummaryForPatientsIn Reference containing a patient summary article
OriginalReportIn Scientific article associated with a patient summary
ReprintIn 2005 addition not yet documented by NLM
ReprintOf 2005 addition not yet documented by NLM

More information on these fields is available from:

NLM Fact Sheet: Errata, Retraction, Duplicate Publication and Comment Policy for MEDLINE

Since:
LingPipe2.0
Version:
3.9.1
Author:
Bob Carpenter

Method Summary
 String note()
          Deprecated. Returns a clarifying note on the data, or the empty (length zero) string if no note was provided.
 String pmid()
          Deprecated. Returns the PubMed identifier of the associated record in PubMed, or the empty (zero length) string if none is available.
 String refSource()
          Deprecated. Returns a string representation of the citation for the cross-referenced article.
 String toString()
          Deprecated. Returns a string representation of this comment or correction.
 String type()
          Deprecated. Returns the type of this comment or correction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

type

public String type()
Deprecated. 
Returns the type of this comment or correction. See the class documentation for an enumeration of possible values.

Returns:
Type of this comment or correction.

refSource

public String refSource()
Deprecated. 
Returns a string representation of the citation for the cross-referenced article. The relation between the cross-referenced article and this article is determined by type as described in the class documentation above.

Returns:
The cross-reference for this comment or correction.

pmid

public String pmid()
Deprecated. 
Returns the PubMed identifier of the associated record in PubMed, or the empty (zero length) string if none is available. The relation between the associated record is based on type and described in the class documentation above.

Returns:
The PubMed identifier of the cross-reference for this comment or correction.

note

public String note()
Deprecated. 
Returns a clarifying note on the data, or the empty (length zero) string if no note was provided. Notes appear infrequently, but when used, often accompanies an erratum correcting authors name. Other usages correct dosage errors in original abstracts and clarification of the scope of retractions of and retracted in comments or corrections.

Returns:
A clarifying note on the data.

toString

public String toString()
Deprecated. 
Returns a string representation of this comment or correction.

Overrides:
toString in class Object
Returns:
A string representation of this comment or correction.