com.sfm.ap210.jsdai.param
Class IntegerParamImpl
java.lang.Object
com.sfm.ap210.jsdai.param.IntegerParamImpl
- All Implemented Interfaces:
- IntegerParam, Param
public class IntegerParamImpl
- extends java.lang.Object
- implements IntegerParam
A minimal implementation of IntegerParam.
|
Field Summary |
protected java.lang.String |
name
|
protected int |
value
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected java.lang.String name
value
protected int value
IntegerParamImpl
public IntegerParamImpl(java.lang.String name,
int value)
getIntegerValue
public int getIntegerValue()
- Specified by:
getIntegerValue in interface IntegerParam
getValue
public java.lang.Integer getValue()
- Specified by:
getValue in interface IntegerParam- Specified by:
getValue in interface Param
getName
public java.lang.String getName()
- Specified by:
getName in interface Param
toString
public java.lang.String toString()
- Specified by:
toString in interface Param- Overrides:
toString in class java.lang.Object