Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

PointOfViewServer
Class ResultImpl  view ResultImpl download ResultImpl.java

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byPointOfViewServer.ResultImpl
All Implemented Interfaces:
java.rmi.Remote, Result, java.io.Serializable

public class ResultImpl
extends java.rmi.server.UnicastRemoteObject
implements Result


Field Summary
private  java.util.Date dLastModTime
           
private  double dPopRank
           
private  long lDocSize
           
private  long lRecID
           
private  java.util.LinkedList pDimensionValues
           
private  java.lang.String sBody
           
private  java.lang.String sCharSet
           
private  java.lang.String sConLanguage
           
private  java.lang.String sConType
           
private  java.lang.String sTitle
           
private  java.lang.String sUrl
           
 
Fields inherited from class java.rmi.server.UnicastRemoteObject
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ResultImpl(long id)
          Main constructor.
 
Method Summary
 java.lang.String getBody()
          Return document body (if available).
 java.lang.String getCharSet()
          Return charset used in document.
 java.lang.String getConLanguage()
          Return content language.
 java.lang.String getConType()
          Return content type (text,image,mp3,...)
 java.util.LinkedList getDimensionValues()
          Return dimensions values corresponding to dimensions defined in current search object.
 long getDocSize()
          Return document size.
 java.util.Date getLastModTime()
          Return last modified time.
 double getPopRank()
          Return popularity rank.
 long getRecID()
          Return result ID.
 java.lang.String getTitle()
          Return title of document.
 java.lang.String getUrl()
          Return complete URL.
 void setBody(java.lang.String body)
          Set document body.
 void setCharSet(java.lang.String charset)
          Set document charset.
 void setConLanguage(java.lang.String conlanguage)
          Set document language.
 void setConType(java.lang.String contype)
          Set content type (text,image,mp3,...).
 void setDocSize(long docsize)
          Set document size.
 void setLastModTime(java.util.Date lastmodtime)
          Set last modified time.
 void setPopRank(double poprank)
          Set document popularity rank.
 void setRecID(long recid)
          Set document ID.
 void setTitle(java.lang.String title)
          Set document title.
 void setURL(java.lang.String url)
          Set document URL.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lRecID

private long lRecID

lDocSize

private long lDocSize

dLastModTime

private java.util.Date dLastModTime

dPopRank

private double dPopRank

sUrl

private java.lang.String sUrl

sTitle

private java.lang.String sTitle

sConType

private java.lang.String sConType

sConLanguage

private java.lang.String sConLanguage

sCharSet

private java.lang.String sCharSet

sBody

private java.lang.String sBody

pDimensionValues

private java.util.LinkedList pDimensionValues
Constructor Detail

ResultImpl

public ResultImpl(long id)
           throws java.rmi.RemoteException
Main constructor.

Method Detail

getRecID

public long getRecID()
              throws java.rmi.RemoteException
Return result ID.

Specified by:
getRecID in interface Result

getDocSize

public long getDocSize()
                throws java.rmi.RemoteException
Return document size.

Specified by:
getDocSize in interface Result

getLastModTime

public java.util.Date getLastModTime()
                              throws java.rmi.RemoteException
Return last modified time.

Specified by:
getLastModTime in interface Result

getPopRank

public double getPopRank()
                  throws java.rmi.RemoteException
Return popularity rank.

Specified by:
getPopRank in interface Result

getUrl

public java.lang.String getUrl()
                        throws java.rmi.RemoteException
Return complete URL.

Specified by:
getUrl in interface Result

getTitle

public java.lang.String getTitle()
                          throws java.rmi.RemoteException
Return title of document.

Specified by:
getTitle in interface Result

getConType

public java.lang.String getConType()
                            throws java.rmi.RemoteException
Return content type (text,image,mp3,...)

Specified by:
getConType in interface Result

getConLanguage

public java.lang.String getConLanguage()
                                throws java.rmi.RemoteException
Return content language.

Specified by:
getConLanguage in interface Result

getCharSet

public java.lang.String getCharSet()
                            throws java.rmi.RemoteException
Return charset used in document.

Specified by:
getCharSet in interface Result

getBody

public java.lang.String getBody()
                         throws java.rmi.RemoteException
Return document body (if available).

Specified by:
getBody in interface Result

getDimensionValues

public java.util.LinkedList getDimensionValues()
                                        throws java.rmi.RemoteException
Return dimensions values corresponding to dimensions defined in current search object.

Specified by:
getDimensionValues in interface Result

setRecID

public void setRecID(long recid)
              throws java.rmi.RemoteException
Set document ID.

Specified by:
setRecID in interface Result

setDocSize

public void setDocSize(long docsize)
                throws java.rmi.RemoteException
Set document size.

Specified by:
setDocSize in interface Result

setLastModTime

public void setLastModTime(java.util.Date lastmodtime)
                    throws java.rmi.RemoteException
Set last modified time.

Specified by:
setLastModTime in interface Result

setPopRank

public void setPopRank(double poprank)
                throws java.rmi.RemoteException
Set document popularity rank.

Specified by:
setPopRank in interface Result

setURL

public void setURL(java.lang.String url)
            throws java.rmi.RemoteException
Set document URL.

Specified by:
setURL in interface Result

setTitle

public void setTitle(java.lang.String title)
              throws java.rmi.RemoteException
Set document title.

Specified by:
setTitle in interface Result

setConType

public void setConType(java.lang.String contype)
                throws java.rmi.RemoteException
Set content type (text,image,mp3,...).

Specified by:
setConType in interface Result

setConLanguage

public void setConLanguage(java.lang.String conlanguage)
                    throws java.rmi.RemoteException
Set document language.

Specified by:
setConLanguage in interface Result

setCharSet

public void setCharSet(java.lang.String charset)
                throws java.rmi.RemoteException
Set document charset.

Specified by:
setCharSet in interface Result

setBody

public void setBody(java.lang.String body)
             throws java.rmi.RemoteException
Set document body.

Specified by:
setBody in interface Result