com.sfm.ap210.jsdai.param
Class BooleanParamImpl
java.lang.Object
com.sfm.ap210.jsdai.param.BooleanParamImpl
- All Implemented Interfaces:
- BooleanParam, Param
public class BooleanParamImpl
- extends java.lang.Object
- implements BooleanParam
A minimal implementation of BooleanParam.
|
Field Summary |
protected java.lang.String |
name
|
protected boolean |
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 boolean value
BooleanParamImpl
public BooleanParamImpl(java.lang.String name,
boolean value)
getName
public java.lang.String getName()
- Specified by:
getName in interface Param
getBooleanValue
public boolean getBooleanValue()
- Specified by:
getBooleanValue in interface BooleanParam
getValue
public java.lang.Boolean getValue()
- Specified by:
getValue in interface BooleanParam- Specified by:
getValue in interface Param
toString
public java.lang.String toString()
- Specified by:
toString in interface Param- Overrides:
toString in class java.lang.Object