package com.aincc.lib.network.common;
import java.util.LinkedHashMap;
import android.os.Bundle;
/**
*
* <h3><b>BaseParam</b></h3></br>
*
* @author aincc@barusoft.com
* @version 1.0.0
* @since 1.0.0
*/
public class BaseParam
{
/**
* user defined request key
*
* @since 1.0.0
*/
protected String requestKey = null;
/**
* user defined parameter list
*
* @since 1.0.0
*/
protected LinkedHashMap<String, String> userParam = new LinkedHashMap<String, String>();
/**
* extra bundle
*
* @since 1.0.0
*/
protected Bundle extraParam = new Bundle();
/**
* constructor
*
* @since 1.0.0
* @param requestKey
*/
public BaseParam(String requestKey)
{
super();
this.requestKey = requestKey;
}
/**
* @return the requestKey
*/
public String getRequestKey()
{
return requestKey;
}
/**
* @param requestKey
* the requestKey to set
*/
public void setRequestKey(String requestKey)
{
this.requestKey = requestKey;
}
/**
* @return the userParam
*/
public LinkedHashMap<String, String> getUserParam()
{
return userParam;
}
/**
* @param userParam
* the userParam to set
*/
public void setUserParam(LinkedHashMap<String, String> userParam)
{
this.userParam = userParam;
}
/**
* @return the extraParam
*/
public Bundle getExtraParam()
{
return extraParam;
}
/**
* @param extraParam
* the extraParam to set
*/
public void setExtraParam(Bundle extraParam)
{
this.extraParam = extraParam;
}
}