|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.model.Document
public class Document
Class, which is representing content of one document.
Constructor Summary | |
---|---|
Document(java.lang.String content,
java.lang.String topic)
Constructor of the class. |
Method Summary | |
---|---|
java.lang.String |
getContentDocument()
Returns the tex contents of the document. |
int |
getID()
Gets a document identifier. |
java.lang.String |
getTopic()
Gets a document class. |
void |
setID(int id)
Sets a document identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Document(java.lang.String content, java.lang.String topic)
Method Detail |
---|
public java.lang.String getContentDocument()
public void setID(int id)
id
- a new identifierpublic int getID()
public java.lang.String getTopic()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |