dragon.onlinedb
Interface Article

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
BasicArticle, BibTeXArticle

public interface Article
extends java.lang.Comparable

Interface of Article which is the unit of collections

Copyright: Copyright (c) 2005

Company: IST, Drexel University

Version:
1.0
Author:
Davis Zhou

Method Summary
 java.lang.String getAbstract()
           
 java.lang.String getBody()
           
 int getCategory()
          Gets the label of the article
 java.util.Date getDate()
           
 java.lang.String getKey()
          The unique string-based entry number of an article.
 int getLength()
           
 java.lang.String getMeta()
          The meta data of an article refers to topical terms (often manually coded) for the articles
 java.lang.String getTitle()
           
 void setAbstract(java.lang.String abt)
           
 void setBody(java.lang.String body)
           
 void setCategory(int category)
           
 void setDate(java.util.Date date)
           
 void setKey(java.lang.String key)
           
 void setLength(int length)
           
 void setMeta(java.lang.String meta)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getCategory

public int getCategory()
Gets the label of the article

Returns:
usually the label of the article.

setCategory

public void setCategory(int category)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getMeta

public java.lang.String getMeta()
The meta data of an article refers to topical terms (often manually coded) for the articles

Returns:
meta data

setMeta

public void setMeta(java.lang.String meta)

getKey

public java.lang.String getKey()
The unique string-based entry number of an article. It is required for dragon toolkit.

Returns:
the document number

setKey

public void setKey(java.lang.String key)

getAbstract

public java.lang.String getAbstract()

setAbstract

public void setAbstract(java.lang.String abt)

getBody

public java.lang.String getBody()

setBody

public void setBody(java.lang.String body)

getDate

public java.util.Date getDate()

setDate

public void setDate(java.util.Date date)

getLength

public int getLength()

setLength

public void setLength(int length)