Esri Geoportal Server
1.0

com.esri.gpt.framework.request
Class HybridCriteria<ACT extends ActionCriteria,QCT extends QueryCriteria>

java.lang.Object
  extended by com.esri.gpt.framework.request.Criteria
      extended by com.esri.gpt.framework.request.HybridCriteria<ACT,QCT>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HeCriteria, HjCriteria, HrCriteria, MmdCriteria

public class HybridCriteria<ACT extends ActionCriteria,QCT extends QueryCriteria>
extends Criteria

Holds both action and query criteria.


generic: ACT represents the ActionCriteria type
generic: QCT represents the QueryCriteria type

See Also:
Serialized Form

Constructor Summary
HybridCriteria()
          Default constructor.
HybridCriteria(ACT actionCriteria, QCT queryCriteria)
          Constructs with supplied criteria.
 
Method Summary
 ACT getActionCriteria()
          Gets the action criteria.
 QCT getQueryCriteria()
          Gets the query criteria.
 void reset()
          Resets the criteria.
 void setActionCriteria(ACT criteria)
          Sets the action criteria.
 void setQueryCriteria(QCT criteria)
          Sets the query criteria
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HybridCriteria

public HybridCriteria()
Default constructor.


HybridCriteria

public HybridCriteria(ACT actionCriteria,
                      QCT queryCriteria)
Constructs with supplied criteria.

Parameters:
actionCriteria - the action criteria
queryCriteria - the query criteria
Method Detail

getActionCriteria

public ACT getActionCriteria()
Gets the action criteria.

Returns:
the action criteria

setActionCriteria

public void setActionCriteria(ACT criteria)
Sets the action criteria.

Parameters:
criteria - the action criteria

getQueryCriteria

public QCT getQueryCriteria()
Gets the query criteria.

Returns:
the query criteria

setQueryCriteria

public void setQueryCriteria(QCT criteria)
Sets the query criteria

Parameters:
criteria - the query criteria

reset

public void reset()
Resets the criteria.

Specified by:
reset in class Criteria

Esri Geoportal Server
1.0

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