com.sage.orion.sdata.servlet
Class QueryParameter

java.lang.Object
  extended by com.sage.orion.sdata.servlet.QueryParameter

public class QueryParameter
extends java.lang.Object


Nested Class Summary
static class QueryParameter.QueryType
          The different query parameter types
 
Constructor Summary
QueryParameter()
          Constructor.
QueryParameter(QueryParameter.QueryType type, java.lang.String querystring)
          Constructor.
 
Method Summary
 java.lang.String getOperationName()
          Gets the value corresponds to the QueryType
 QueryParameter.QueryType getQueryType()
          Gets the QueryType from a particular query parameter
 java.lang.String getValue()
          Gets the value corresponds to the QueryType
 void setOperationName(java.lang.String opName)
          Sets the QueryType from a particular query parameter
 void setQueryType(QueryParameter.QueryType type)
          Sets the QueryType from a particular query parameter
 void setValue(java.lang.String value)
          Sets the value corresponds to the QueryType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParameter

public QueryParameter()
Constructor.


QueryParameter

public QueryParameter(QueryParameter.QueryType type,
                      java.lang.String querystring)
Constructor.

Parameters:
type - the QueryParameter.QueryType of this instance
querystring - the actual value of the query parameter
Method Detail

getOperationName

public java.lang.String getOperationName()
Gets the value corresponds to the QueryType

Returns:
a String containing the operation name, or null

getValue

public java.lang.String getValue()
Gets the value corresponds to the QueryType

Returns:
a String containing the value, or null

getQueryType

public QueryParameter.QueryType getQueryType()
Gets the QueryType from a particular query parameter

Returns:
the QueryParameter.QueryType of this instance

setValue

public void setValue(java.lang.String value)
Sets the value corresponds to the QueryType

Parameters:
value - the value

setQueryType

public void setQueryType(QueryParameter.QueryType type)
Sets the QueryType from a particular query parameter

Parameters:
type - the QueryParameter.QueryType

setOperationName

public void setOperationName(java.lang.String opName)
Sets the QueryType from a particular query parameter

Parameters:
opName - the operation name


Copyright © 2011 Sage Software, Inc. All rights reserved.