jreceiver.common.callback.rec
Class DsettingBoolRec
java.lang.Object
|
+--jreceiver.common.rec.BaseRec
|
+--jreceiver.common.callback.rec.DsettingRec
|
+--jreceiver.common.callback.rec.DsettingBoolRec
- All Implemented Interfaces:
- Dsetting, DsettingBool, Hashable
- public final class DsettingBoolRec
- extends DsettingRec
- implements DsettingBool
Bean to represent a boolean setting item (usually appears as checkbox)
- Version:
- $Revision: 1.3 $ $Date: 2002/12/29 00:44:09 $
- Author:
- Reed Esau
Fields inherited from interface jreceiver.common.callback.rec.Dsetting |
DSETTING_TYPE_BOOL, DSETTING_TYPE_INT, DSETTING_TYPE_LIST, DSETTING_TYPE_STR, DSETTING_TYPE_URL, HKEY_DSETTING_DESC, HKEY_DSETTING_ID, HKEY_DSETTING_IS_REQUIRED, HKEY_DSETTING_LOCALE_COUNTRY, HKEY_DSETTING_LOCALE_LANG, HKEY_DSETTING_NAME, HKEY_DSETTING_TYPE, OPTIONAL, REQUIRED |
Constructor Summary |
DsettingBoolRec(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
DsettingBoolRec(java.lang.String id,
java.lang.String name,
java.lang.String desc,
java.util.Locale locale,
boolean def_value)
|
Methods inherited from class jreceiver.common.callback.rec.DsettingRec |
createInstance, getDefaultValue, getDesc, getId, getIsBoolSetting, getIsIntSetting, getIsListSetting, getIsRequired, getIsStrSetting, getIsUrlSetting, getLocale, getName, getType, getValue, reconstitute, reconstituteMap, setDefaultValue, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jreceiver.common.callback.rec.Dsetting |
getDefaultValue, getDesc, getId, getIsBoolSetting, getIsIntSetting, getIsListSetting, getIsRequired, getIsStrSetting, getIsUrlSetting, getLocale, getName, getType, getValue, setDefaultValue, setValue |
DsettingBoolRec
public DsettingBoolRec(java.lang.String id,
java.lang.String name,
java.lang.String desc,
java.util.Locale locale,
boolean def_value)
DsettingBoolRec
public DsettingBoolRec(java.util.Hashtable hash)
- ctor - construct from a hashtable, usually retrieved via XML-RPC
getValueBool
public boolean getValueBool()
- Specified by:
getValueBool
in interface DsettingBool
setValueBool
public void setValueBool(boolean value)
- Specified by:
setValueBool
in interface DsettingBool
getDefaultValueBool
public boolean getDefaultValueBool()
- Specified by:
getDefaultValueBool
in interface DsettingBool
setDefaultValueBool
public void setDefaultValueBool(boolean def_value)
- Specified by:
setDefaultValueBool
in interface DsettingBool
toHash
public java.util.Hashtable toHash()
- Store the object as a hash suitable for
transport over an XML-RPC connection or similar.
Use DsettingRec(Hashtable)
to transform the data
back into an object of this type.
- Specified by:
toHash
in interface Hashable
- Overrides:
toHash
in class DsettingRec
- Returns:
-
Copyright © 2001-2002 Reed Esau, All Rights Reserved.