com.sfm.ap210.jsdai.param
Class IntegerParamImpl

java.lang.Object
  extended by 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
           
 
Constructor Summary
IntegerParamImpl(java.lang.String name, int value)
           
 
Method Summary
 int getIntegerValue()
           
 java.lang.String getName()
           
 java.lang.Integer getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

value

protected int value
Constructor Detail

IntegerParamImpl

public IntegerParamImpl(java.lang.String name,
                        int value)
Method Detail

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