|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgraphServer.graph.RawDocument
public class RawDocument
RawDocument is created when a new document is published, it is given a key value as a way of indexing all documents that are published. The title of the document is not learned until it is a query hit so does not need to be passed in the constructor.
Constructor Summary | |
---|---|
RawDocument(java.lang.String community,
java.lang.String document)
Keys the document. |
Method Summary | |
---|---|
java.lang.String |
getCommunity()
Gets the community this document is in. |
java.lang.String |
getDocument()
Gets the document's identifier String. |
int |
getKey()
Gets the key value (index) of this Document |
java.lang.String |
getTitle()
Gets the title of the document. |
void |
setTitle(java.lang.String title)
Sets the title of the document. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RawDocument(java.lang.String community, java.lang.String document)
community
- the community this document resides in.document
- the document's identifier.Method Detail |
---|
public int getKey()
public java.lang.String getCommunity()
public java.lang.String getDocument()
public void setTitle(java.lang.String title)
title
- The title this document will be given.public java.lang.String getTitle()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |