org.openprivacy.reptile.search
Class SearchRecord

java.lang.Object
  |
  +--org.openprivacy.reptile.search.SearchRecord

public class SearchRecord
extends java.lang.Object

Version:
$Id: SearchRecord.java,v 1.12 2002/02/06 01:06:03 burton Exp $
Author:
Kevin A. Burton

Field Summary
static int NO_INDEX
           
 
Constructor Summary
SearchRecord()
           
 
Method Summary
 void assertValid(SearchProvider provider)
          Make sure we can use this.
 java.lang.String getChannel()
          Get the value of channel.
 long getDateFound()
          Get the value of dateFound.
 java.lang.String getDescription()
          Get the value of description.
 int getIndex()
          Get the value of index.
 java.lang.String getLink()
          Get the value of link.
 java.lang.String getTitle()
          Get the value of title.
 org.jdom.Element serialize()
          Serialize this is a JDOM element.
 void setChannel(java.lang.String channel)
          Set the value of channel.
 void setDateFound(long dateFound)
          Set the value of dateFound.
 void setDescription(java.lang.String description)
          Set the value of description.
 void setIndex(int index)
          Set the value of index.
 void setLink(java.lang.String link)
          Set the value of link.
 void setTitle(java.lang.String title)
          Set the value of title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_INDEX

public static final int NO_INDEX
See Also:
Constant Field Values
Constructor Detail

SearchRecord

public SearchRecord()
Method Detail

setIndex

public void setIndex(int index)
Set the value of index.


getIndex

public int getIndex()

Get the value of index.

Note that all indexes begin at 0


getLink

public java.lang.String getLink()
Get the value of link.


setLink

public void setLink(java.lang.String link)
Set the value of link.


getDescription

public java.lang.String getDescription()
Get the value of description.


setDescription

public void setDescription(java.lang.String description)
Set the value of description.


getTitle

public java.lang.String getTitle()
Get the value of title.


setTitle

public void setTitle(java.lang.String title)
Set the value of title.


setDateFound

public void setDateFound(long dateFound)
Set the value of dateFound.


getDateFound

public long getDateFound()
Get the value of dateFound.


getChannel

public java.lang.String getChannel()
Get the value of channel.


setChannel

public void setChannel(java.lang.String channel)
Set the value of channel.


serialize

public org.jdom.Element serialize()
Serialize this is a JDOM element.


assertValid

public void assertValid(SearchProvider provider)
                 throws java.lang.Exception
Make sure we can use this.

java.lang.Exception