public class BasicArticle extends Object implements Article
Basic article implements basic functions related with article operations
Copyright: Copyright (c) 2003
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected String |
abt |
protected String |
body |
protected int |
category |
protected Date |
date |
protected String |
key |
protected int |
length |
protected String |
meta |
protected String |
rawText |
protected String |
title |
| Constructor and Description |
|---|
BasicArticle() |
BasicArticle(String rawText) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
String |
getAbstract() |
String |
getBody() |
int |
getCategory()
Gets the label of the article
|
Date |
getDate() |
String |
getKey()
The unique string-based entry number of an article.
|
int |
getLength() |
String |
getMeta()
The meta data of an article refers to topical terms (often manually coded) for the articles
|
String |
getRawText() |
String |
getTitle() |
void |
setAbstract(String abt) |
void |
setBody(String body) |
void |
setCategory(int category) |
void |
setDate(Date date) |
void |
setKey(String key) |
void |
setLength(int length) |
void |
setMeta(String meta) |
void |
setTitle(String title) |
protected String rawText
protected String key
protected String title
protected String meta
protected String abt
protected String body
protected Date date
protected int category
protected int length
public BasicArticle(String rawText)
public BasicArticle()
public String getRawText()
public int getCategory()
ArticlegetCategory in interface Articlepublic void setCategory(int category)
setCategory in interface Articlepublic String getMeta()
Articlepublic String getKey()
Articlepublic String getAbstract()
getAbstract in interface Articlepublic void setAbstract(String abt)
setAbstract in interface Articlepublic int compareTo(Object obj)
compareTo in interface ComparableCopyright © 2018 JULIE Lab, Germany. All rights reserved.