org.exoplatform.social.client.api.service
Class QueryParams.QueryParamOption

java.lang.Object
  extended by org.exoplatform.social.client.api.service.QueryParams.QueryParamOption
Type Parameters:
T -
Enclosing interface:
QueryParams

public static class QueryParams.QueryParamOption
extends Object

Defines the Query Parameter for create Base URL.

Author:
thanh_vucong

Constructor Summary
QueryParams.QueryParamOption(String queryName, Object defaultValue)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getQueryName()
          Gets query parameter name
 Object getValue()
          Gets the default value for query parameter.
 QueryParams.QueryParamOption setValue(Object value)
          Sets value for Query Parameter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParams.QueryParamOption

public QueryParams.QueryParamOption(String queryName,
                                    Object defaultValue)
Method Detail

getQueryName

public String getQueryName()
Gets query parameter name

Returns:

getValue

public Object getValue()
Gets the default value for query parameter.

Returns:
T

setValue

public QueryParams.QueryParamOption setValue(Object value)
Sets value for Query Parameter

Parameters:
value -

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011-2012 eXo Platform. All Rights Reserved.