se.kmr.scam.client.http.helper
Class SearchBean

java.lang.Object
  extended byse.kmr.scam.client.http.helper.SearchBean

public class SearchBean
extends Object

General search-command container. Contains a query and a model with the result of executing the query on the repository.

Version:
$Revision: 1.5 $
Author:
jorans, jand
Created:
den 16 maj 2002

Field Summary
static String NAME
          Bean-name
 
Constructor Summary
SearchBean(Object query)
           
SearchBean(Object query, Model model)
          Constructor for the SearchBean object
 
Method Summary
 Model getModel()
          The mdoel representing the result of the query
 Object getQuery()
          The query expression
 void setModel(Model result)
          Sets the model
 void setQuery(Object query)
          Sets the query expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Bean-name

See Also:
Constant Field Values
Constructor Detail

SearchBean

public SearchBean(Object query,
                  Model model)
Constructor for the SearchBean object

Parameters:
query - Query that generated the Manifest
model - The model containig the search-result

SearchBean

public SearchBean(Object query)
Method Detail

getQuery

public Object getQuery()
The query expression

Returns:
The rdqlResult value

setQuery

public void setQuery(Object query)
Sets the query expression

Parameters:
query - The new query value

getModel

public Model getModel()
The mdoel representing the result of the query

Returns:
The manifest

setModel

public void setModel(Model result)
Sets the model

Parameters:
result - The new Manifest


Copyright © 2003 SCAM. All Rights Reserved.