Esri Geoportal Server
1.0

com.esri.gpt.framework.request
Class HybridResult<ART extends ActionResult,QRT extends QueryResult<? extends Records<? extends Record>>>

java.lang.Object
  extended by com.esri.gpt.framework.request.Result
      extended by com.esri.gpt.framework.request.HybridResult<ART,QRT>
Direct Known Subclasses:
HeResult, HjResult, HrResult, MmdResult

public class HybridResult<ART extends ActionResult,QRT extends QueryResult<? extends Records<? extends Record>>>
extends Result

Holds both an action and query result.


generic: ART represents the ActionResult type
generic: QRT represents the QueryResult type


Constructor Summary
HybridResult()
          Default constructor.
HybridResult(ART actionResult, QRT queryResult)
          Constructs with supplied results.
 
Method Summary
 ART getActionResult()
          Gets the action result.
 QRT getQueryResult()
          Gets the query result.
 void reset()
          Resets the result.
 void setActionResult(ART result)
          Sets the action result.
 void setQueryResult(QRT result)
          Sets the query result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HybridResult

public HybridResult()
Default constructor.


HybridResult

public HybridResult(ART actionResult,
                    QRT queryResult)
Constructs with supplied results.

Parameters:
actionResult - the action result
queryResult - the query result
Method Detail

getActionResult

public ART getActionResult()
Gets the action result.

Returns:
the action result

setActionResult

public void setActionResult(ART result)
Sets the action result.

Parameters:
result - the action result

getQueryResult

public QRT getQueryResult()
Gets the query result.

Returns:
the query result

setQueryResult

public void setQueryResult(QRT result)
Sets the query result.

Parameters:
result - the query result

reset

public void reset()
Resets the result.

Specified by:
reset in class Result

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.