com.raritantechnologies.verity.parametric
Class ParamResult

java.lang.Object
  extended bycom.raritantechnologies.searchApp.BasicResult
      extended bycom.raritantechnologies.verity.parametric.ParamResult
All Implemented Interfaces:
IResult

public class ParamResult
extends BasicResult

Wraps a Verity parametric Document object as a Raritan IResult.


Developed by Raritan Technologies .

Author:
Ted Sullivan

Field Summary
 
Fields inherited from class com.raritantechnologies.searchApp.BasicResult
fieldValues
 
Constructor Summary
ParamResult()
           
ParamResult(Document doc)
           
 
Method Summary
 java.lang.String getValue(java.lang.String field)
          returns the value of a vield.
 java.lang.String getValue(java.lang.String field, java.lang.String defaultVal)
          returns the value of a result field OR the past defaultVal parameter if the field does not exist.
 void setValue(java.lang.String field, java.lang.String value)
          Sets a field value in the result, replacing any previously set value.
 
Methods inherited from class com.raritantechnologies.searchApp.BasicResult
addNestedResult, addNestedResults, addTree, addValue, clearValue, getDOM, getFieldNames, getFullTextFormats, getIDField, getNestedFieldNames, getNestedResults, getResultSet, getSearchSource, getSearchSourceName, getTitleField, getTree, getTreeNames, getURLField, getValues, getXML, getXML, getXML, getXML, hasMultipleValues, hasNestedResults, setIDField, setNestedResults, setSearchSourceName, setTitleField, setURLField, setValues, setWrapCData, writeFullText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamResult

public ParamResult()

ParamResult

public ParamResult(Document doc)
Method Detail

getValue

public java.lang.String getValue(java.lang.String field)
Description copied from interface: IResult
returns the value of a vield. For multiple value fields, implementation should return a delimited string.

Specified by:
getValue in interface IResult
Overrides:
getValue in class BasicResult

setValue

public void setValue(java.lang.String field,
                     java.lang.String value)
Description copied from class: BasicResult
Sets a field value in the result, replacing any previously set value.

Specified by:
setValue in interface IResult
Overrides:
setValue in class BasicResult

getValue

public java.lang.String getValue(java.lang.String field,
                                 java.lang.String defaultVal)
Description copied from interface: IResult
returns the value of a result field OR the past defaultVal parameter if the field does not exist.

Specified by:
getValue in interface IResult
Overrides:
getValue in class BasicResult