jreceiver.common.callback.rec
Class DsettingUrlRec

java.lang.Object
  |
  +--jreceiver.common.rec.BaseRec
        |
        +--jreceiver.common.callback.rec.DsettingRec
              |
              +--jreceiver.common.callback.rec.DsettingUrlRec
All Implemented Interfaces:
Dsetting, DsettingUrl, Hashable

public final class DsettingUrlRec
extends DsettingRec
implements DsettingUrl

Bean to represent a url setting item

Version:
$Revision: 1.2 $ $Date: 2002/07/20 01:40:43 $
Author:
Reed Esau

Fields inherited from class jreceiver.common.callback.rec.DsettingRec
def_value, desc, id, is_required, locale, name, set_type, value
 
Fields inherited from interface jreceiver.common.callback.rec.DsettingUrl
HKEY_URL_DEF_VALUE, HKEY_URL_VALUE
 
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
DsettingUrlRec(java.util.Hashtable hash)
          ctor - construct from a hashtable, usually retrieved via XML-RPC
DsettingUrlRec(java.lang.String id, boolean is_required, java.lang.String name, java.lang.String desc, java.util.Locale locale, java.net.URL def_url)
           
 
Method Summary
 java.net.URL getDefaultUrl()
           
 java.lang.String getDefaultValueUrl()
           
 java.net.URL getUrl()
           
 java.lang.String getValueUrl()
           
 void setDefaultUrl(java.net.URL def_url)
           
 void setDefaultValueUrl(java.lang.String s_def_url)
           
 void setUrl(java.net.URL url)
           
 void setValueUrl(java.lang.String s_url)
           
 java.util.Hashtable toHash()
          Store the object as a hash suitable for transport over an XML-RPC connection or similar.
 java.lang.String toString()
          Returns a string representation of the object.
 
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
 
Methods inherited from class jreceiver.common.rec.BaseRec
dissolve, dissolveMap, find, find, find, find
 
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
 

Constructor Detail

DsettingUrlRec

public DsettingUrlRec(java.lang.String id,
                      boolean is_required,
                      java.lang.String name,
                      java.lang.String desc,
                      java.util.Locale locale,
                      java.net.URL def_url)

DsettingUrlRec

public DsettingUrlRec(java.util.Hashtable hash)
               throws java.net.MalformedURLException
ctor - construct from a hashtable, usually retrieved via XML-RPC
Method Detail

getUrl

public java.net.URL getUrl()
Specified by:
getUrl in interface DsettingUrl

setUrl

public void setUrl(java.net.URL url)
Specified by:
setUrl in interface DsettingUrl

getValueUrl

public java.lang.String getValueUrl()
Specified by:
getValueUrl in interface DsettingUrl

setValueUrl

public void setValueUrl(java.lang.String s_url)
                 throws java.net.MalformedURLException
Specified by:
setValueUrl in interface DsettingUrl

getDefaultUrl

public java.net.URL getDefaultUrl()
Specified by:
getDefaultUrl in interface DsettingUrl

setDefaultUrl

public void setDefaultUrl(java.net.URL def_url)
Specified by:
setDefaultUrl in interface DsettingUrl

getDefaultValueUrl

public java.lang.String getDefaultValueUrl()
Specified by:
getDefaultValueUrl in interface DsettingUrl

setDefaultValueUrl

public void setDefaultValueUrl(java.lang.String s_def_url)
                        throws java.net.MalformedURLException
Specified by:
setDefaultValueUrl in interface DsettingUrl

toString

public java.lang.String toString()
Returns a string representation of the object.
Specified by:
toString in interface Hashable
Overrides:
toString in class DsettingRec
Returns:
a string representation of the object.

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.