org.gcube.portlets.user.collectionexplorer.client.model
Class ResultsContainer
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 classoptionalParams
- array for optional parameters to pass when returning the recordstype
- type can be results, no results, error.activelinksIntoVRE
- contains the links for redirecting to annotation, ontology, contentviever if any
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.