|
||||||||||
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.RootKey
An interface describing a root
Field Summary | |
protected java.io.File |
file_path
the physical file path for the root |
static java.lang.String |
HKEY_FILE_PATH
|
static java.lang.String |
HKEY_SITE_ID
|
protected int |
site_id
The site on which this root exists. |
Constructor Summary | |
RootKey(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
|
RootKey(int site_id,
java.io.File file_path)
ctor |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.io.File |
getFilePath()
|
java.lang.String |
getPath()
for retrieval via struts |
int |
getSiteId()
|
void |
setPath(java.lang.String path)
placeholder for odd call by struts to set the path. |
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String HKEY_SITE_ID
public static final java.lang.String HKEY_FILE_PATH
protected java.io.File file_path
protected int site_id
Site.SITE_HOME is the current machine.
Constructor Detail |
public RootKey(int site_id, java.io.File file_path)
public RootKey(java.util.Hashtable hash)
hash
- Method Detail |
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int getSiteId()
public java.io.File getFilePath()
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.util.Hashtable toHash()
Use
toHash
in interface Hashable
public java.lang.String toString()
Hashable
toString
in interface Hashable
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |