org.gcube.portlets.user.collectionexplorer.client.model
Class ResultsContainer

java.lang.Object
  extended by org.gcube.portlets.user.collectionexplorer.client.model.ResultsContainer
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class ResultsContainer
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

ResultsContainer class contains the information neede to retrieve search results

Version:
January 2009 (0.1)
Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it

Constructor Summary
ResultsContainer()
          Default Constructor
ResultsContainer(Vector<ResultObj> resultRecords, String[] optionalParams, ResultType type, HashMap<String,String> activelinksIntoVRE)
           
 
Method Summary
 HashMap<String,String> getActivelinksIntoVRE()
           
 String[] getOptionalParams()
           
 Vector<ResultObj> getResultRecords()
           
 ResultType getType()
           
 void setActivelinksIntoVRE(HashMap<String,String> activelinksIntoVRE)
           
 void setOptionalParamsVector(String[] optionalParams)
           
 void setResultRecords(Vector<ResultObj> resultRecords)
           
 void setType(ResultType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsContainer

public ResultsContainer()
Default Constructor


ResultsContainer

public ResultsContainer(Vector<ResultObj> resultRecords,
                        String[] optionalParams,
                        ResultType type,
                        HashMap<String,String> activelinksIntoVRE)
Parameters:
resultRecords - The actual results from search as ResultObj class
optionalParams - array for optional parameters to pass when returning the records
type - type can be results, no results, error.
activelinksIntoVRE - contains the links for redirecting to annotation, ontology, contentviever if any
Method Detail

getOptionalParams

public String[] getOptionalParams()
Returns:
s

setOptionalParamsVector

public void setOptionalParamsVector(String[] optionalParams)
Parameters:
optionalParams - s

getResultRecords

public Vector<ResultObj> getResultRecords()
Returns:
s

setResultRecords

public void setResultRecords(Vector<ResultObj> resultRecords)
Parameters:
resultRecords - s

getType

public ResultType getType()
Returns:
s

setType

public void setType(ResultType type)
Parameters:
type - d

getActivelinksIntoVRE

public HashMap<String,String> getActivelinksIntoVRE()
Returns:
d

setActivelinksIntoVRE

public void setActivelinksIntoVRE(HashMap<String,String> activelinksIntoVRE)
Parameters:
activelinksIntoVRE - d


Copyright © 2014. All Rights Reserved.