Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jreceiver.common.callback.rec
Interface Dsetting  view Dsetting download Dsetting.java

All Superinterfaces:
jreceiver.common.rec.Hashable
All Known Subinterfaces:
DsettingBool, DsettingInt, DsettingList, DsettingStr, DsettingUrl
All Known Implementing Classes:
DsettingBoolRec, DsettingIntRec, DsettingListRec, DsettingRec, DsettingStrRec, DsettingUrlRec

public interface Dsetting
extends jreceiver.common.rec.Hashable

An interface describing a single setting item


Field Summary
static int DSETTING_TYPE_BOOL
           
static int DSETTING_TYPE_INT
           
static int DSETTING_TYPE_LIST
           
static int DSETTING_TYPE_STR
           
static int DSETTING_TYPE_URL
           
static java.lang.String HKEY_DSETTING_DESC
           
static java.lang.String HKEY_DSETTING_ID
           
static java.lang.String HKEY_DSETTING_IS_REQUIRED
           
static java.lang.String HKEY_DSETTING_LOCALE_COUNTRY
           
static java.lang.String HKEY_DSETTING_LOCALE_LANG
           
static java.lang.String HKEY_DSETTING_NAME
           
static java.lang.String HKEY_DSETTING_TYPE
           
static boolean OPTIONAL
           
static boolean REQUIRED
           
 
Method Summary
 java.lang.Object getDefaultValue()
          default value get
 java.lang.String getDesc()
           
 java.lang.String getId()
           
 boolean getIsBoolSetting()
           
 boolean getIsIntSetting()
           
 boolean getIsListSetting()
           
 boolean getIsRequired()
           
 boolean getIsStrSetting()
           
 boolean getIsUrlSetting()
           
 java.util.Locale getLocale()
           
 java.lang.String getName()
           
 int getType()
           
 java.lang.Object getValue()
          value get
 void setDefaultValue(java.lang.Object obj)
          default value set
 void setValue(java.lang.Object obj)
          value set
 
Methods inherited from interface jreceiver.common.rec.Hashable
toHash, toString
 

Field Detail

HKEY_DSETTING_ID

public static final java.lang.String HKEY_DSETTING_ID
See Also:
Constant Field Values

HKEY_DSETTING_IS_REQUIRED

public static final java.lang.String HKEY_DSETTING_IS_REQUIRED
See Also:
Constant Field Values

HKEY_DSETTING_TYPE

public static final java.lang.String HKEY_DSETTING_TYPE
See Also:
Constant Field Values

HKEY_DSETTING_NAME

public static final java.lang.String HKEY_DSETTING_NAME
See Also:
Constant Field Values

HKEY_DSETTING_DESC

public static final java.lang.String HKEY_DSETTING_DESC
See Also:
Constant Field Values

HKEY_DSETTING_LOCALE_LANG

public static final java.lang.String HKEY_DSETTING_LOCALE_LANG
See Also:
Constant Field Values

HKEY_DSETTING_LOCALE_COUNTRY

public static final java.lang.String HKEY_DSETTING_LOCALE_COUNTRY
See Also:
Constant Field Values

DSETTING_TYPE_INT

public static final int DSETTING_TYPE_INT
See Also:
Constant Field Values

DSETTING_TYPE_BOOL

public static final int DSETTING_TYPE_BOOL
See Also:
Constant Field Values

DSETTING_TYPE_STR

public static final int DSETTING_TYPE_STR
See Also:
Constant Field Values

DSETTING_TYPE_URL

public static final int DSETTING_TYPE_URL
See Also:
Constant Field Values

DSETTING_TYPE_LIST

public static final int DSETTING_TYPE_LIST
See Also:
Constant Field Values

REQUIRED

public static final boolean REQUIRED
See Also:
Constant Field Values

OPTIONAL

public static final boolean OPTIONAL
See Also:
Constant Field Values
Method Detail

getIsBoolSetting

public boolean getIsBoolSetting()

getIsIntSetting

public boolean getIsIntSetting()

getIsStrSetting

public boolean getIsStrSetting()

getIsUrlSetting

public boolean getIsUrlSetting()

getIsListSetting

public boolean getIsListSetting()

getId

public java.lang.String getId()

getIsRequired

public boolean getIsRequired()

getType

public int getType()

getName

public java.lang.String getName()

getDesc

public java.lang.String getDesc()

getLocale

public java.util.Locale getLocale()

getValue

public java.lang.Object getValue()
value get


setValue

public void setValue(java.lang.Object obj)
value set


getDefaultValue

public java.lang.Object getDefaultValue()
default value get


setDefaultValue

public void setDefaultValue(java.lang.Object obj)
default value set