RCSBlackBerry/src/blackberry/Parameter.java
//#preprocess
/* *************************************************
* Copyright (c) 2010 - 2010
* HT srl, All rights reserved.
* Project : RCS, RCSBlackBerry_lib
* File : Parameter.java
* Created : 26-mar-2010
* *************************************************/
package blackberry;
/**
* The Class Parameter.
*/
public class Parameter {
//#ifdef DEBUG
//#endif
/**
* Factory.
*
* @param paramsId
* the params id
* @param confParams
* the conf params
* @return the parameter
*/
public static Parameter factory(final int paramsId, final byte[] confParams) {
final Parameter parameter = new Parameter(paramsId, confParams);
return parameter;
}
/** The Parameter id. */
public int parameterId = -1;
/** The Conf params. */
byte[] confParams;
/**
* Instantiates a new parameter.
*
* @param paramsId
* the params id
* @param confParams
* the conf params
*/
public Parameter(final int parameterId_, final byte[] confParams_) {
parameterId = parameterId_;
confParams = confParams_;
}
}