|
||||||||||
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.site.RootRec
Bean to represent a single root folder record
Field Summary | |
protected int |
folder_id
The key in the folders table which represents the root. |
protected boolean |
is_checked
is the item selected in the form? |
protected RootKey |
key
|
Fields inherited from interface jreceiver.common.rec.site.Root |
HKEY_FOLDER_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 | |
RootRec()
ctor - default |
|
RootRec(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
|
RootRec(RootKey key)
ctor - shallow |
|
RootRec(RootKey key,
int folder_id)
ctor - deep |
Method Summary | |
boolean |
getChecked()
get the current select state |
int |
getFolderId()
|
java.lang.Object |
getKey()
return the Integer or Key object that serves as this Rec's key. |
void |
setChecked(boolean is_checked)
set the select state |
void |
setFolderId(int folder_id)
|
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 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 |
Field Detail |
protected RootKey key
protected boolean is_checked
protected int folder_id
Constructor Detail |
public RootRec()
public RootRec(RootKey key)
public RootRec(RootKey key, int folder_id)
public RootRec(java.util.Hashtable hash)
Method Detail |
public java.lang.Object getKey()
getKey
in interface Rec
public void setKey(java.lang.Object new_key)
setKey
in interface Rec
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 int getFolderId()
getFolderId
in interface Root
public void setFolderId(int folder_id)
setFolderId
in interface Root
public java.lang.String toString()
toString
in interface Hashable
toString
in class java.lang.Object
public java.util.Hashtable toHash()
Use RootRec(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 |