com.sfm.ap210.jsdai.param
Class BooleanParamImpl

java.lang.Object
  extended by 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
           
 
Constructor Summary
BooleanParamImpl(java.lang.String name, boolean value)
           
 
Method Summary
 boolean getBooleanValue()
           
 java.lang.String getName()
           
 java.lang.Boolean 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 boolean value
Constructor Detail

BooleanParamImpl

public BooleanParamImpl(java.lang.String name,
                        boolean value)
Method Detail

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