|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jreceiver.common.rec.driver.DriverCommandRec
Bean to represent a single 'command list' record
| Fields inherited from interface jreceiver.common.rec.driver.DriverCommand |
HKEY_COMMAND_IDS, HKEY_DRV_SLAVE_ID |
| Fields inherited from interface jreceiver.common.rec.Rec |
HKEY_KEY, NO_LIMIT |
| Fields inherited from interface jreceiver.common.rec.Selectable |
HKEY_CHECKED |
| Constructor Summary | |
DriverCommandRec(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
|
DriverCommandRec(int drv_slave_id,
java.util.Vector command_ids)
ctor - shallow |
|
| Method Summary | |
boolean |
getChecked()
get the current select state |
java.util.Vector |
getCommandIds()
|
java.lang.Object |
getKey()
return the Number-derived, Key-derived or String that serves as this Rec's key. |
static java.util.Vector |
reconstitute(java.util.Vector vector)
Reconstitute each DriverCommandRec object that appears as a hash in the list. |
void |
setChecked(boolean is_checked)
set the select state |
void |
setCommandIds(java.util.Vector command_ids)
|
void |
setKey(java.lang.Object new_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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DriverCommandRec(int drv_slave_id,
java.util.Vector command_ids)
public DriverCommandRec(java.util.Hashtable hash)
hash - | Method Detail |
public java.lang.Object getKey()
RecgetKey in interface Recpublic void setKey(java.lang.Object new_key)
setKey in interface Recpublic java.util.Vector getCommandIds()
getCommandIds in interface DriverCommandpublic void setCommandIds(java.util.Vector command_ids)
setCommandIds in interface DriverCommandpublic boolean getChecked()
SelectablegetChecked in interface Selectablejreceiver.common.rec.Selectableboolean true if the item has been selected by the user; false otherwisepublic void setChecked(boolean is_checked)
SelectablesetChecked in interface Selectablejreceiver.common.rec.Selectableis_checked - public java.lang.String toString()
toString in interface HashabletoString in class java.lang.Objectpublic java.util.Hashtable toHash()
Use DriverCommandRec(Hashtable) to transform the data
back into an object of this type.
toHash in interface Hashablepublic static java.util.Vector reconstitute(java.util.Vector vector)
vector -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||