|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jreceiver.common.rec.BaseRec | +--jreceiver.common.rec.driver.DriverBindingRec
Bean to represent a single driverbind record
Fields inherited from interface jreceiver.common.rec.driver.DriverBinding |
HKEY_MASTER_DRV, HKEY_SIGNALS, HKEY_SLAVE_DRV, POPULATE_DRIVER_MASTER, POPULATE_DRIVER_SLAVE, POPULATE_SIGNALS |
Fields inherited from interface jreceiver.common.rec.Rec |
HKEY_KEY, NO_LIMIT |
Fields inherited from interface jreceiver.common.rec.Selectable |
HKEY_CHECKED |
Constructor Summary | |
DriverBindingRec()
ctor - default |
|
DriverBindingRec(DriverBindingKey key)
ctor - shallow |
|
DriverBindingRec(DriverBindingKey key,
java.util.Vector signals,
Driver driver_master,
Driver driver_slave)
ctor - deep |
|
DriverBindingRec(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
Method Summary | |
boolean |
getChecked()
get the current select state |
DriverBindingKey |
getDriverBindingKey()
|
Driver |
getDriverMaster()
|
Driver |
getDriverSlave()
|
java.lang.Object |
getKey()
return the Number-derived, Key-derived or String that serves as this Rec's key. |
java.util.Vector |
getSignals()
|
void |
setChecked(boolean is_checked)
set the select state |
void |
setKey(java.lang.Object key)
assign the Number-derived, Key-derived or String that serves as this Rec's key. |
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.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 |
Constructor Detail |
public DriverBindingRec()
public DriverBindingRec(DriverBindingKey key)
public DriverBindingRec(DriverBindingKey key, java.util.Vector signals, Driver driver_master, Driver driver_slave)
public DriverBindingRec(java.util.Hashtable hash) throws RecException
hash
- Method Detail |
public java.lang.Object getKey()
Rec
getKey
in interface Rec
public void setKey(java.lang.Object key)
setKey
in interface Rec
public DriverBindingKey getDriverBindingKey()
getDriverBindingKey
in interface DriverBinding
public java.util.Vector getSignals()
getSignals
in interface DriverBinding
public Driver getDriverMaster()
getDriverMaster
in interface DriverBinding
public Driver getDriverSlave()
getDriverSlave
in interface DriverBinding
public boolean getChecked()
Selectable
getChecked
in interface Selectable
jreceiver.common.rec.Selectable
boolean
true if the item has been selected by the user; false otherwisepublic void setChecked(boolean is_checked)
Selectable
setChecked
in interface Selectable
jreceiver.common.rec.Selectable
is_checked
- public java.lang.String toString()
toString
in interface Hashable
toString
in class java.lang.Object
public java.util.Hashtable toHash()
Use DriverBindingRec(Hashtable)
to transform the data
back into an object of this type.
toHash
in interface Hashable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |