|
||||||||||
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.security.MethodKey
An interface representing a single master/slave binding key
Field Summary | |
static java.lang.String |
HKEY_HANDLER_NAME
|
static java.lang.String |
HKEY_METHOD_NAME
|
Constructor Summary | |
MethodKey()
ctor - default |
|
MethodKey(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
|
MethodKey(java.lang.String handler_name,
java.lang.String method_name)
ctor - shallow |
Method Summary | |
int |
compareTo(java.lang.Object obj)
Compares this object with the specified object for order. |
static MethodKey |
createFromFormattedKey(java.lang.String formatted_key)
create a new MethodKey object from a formatted method key String |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getFormattedKey()
obtain the key, formatted as "handler_name.method_name" |
java.lang.String |
getHandlerName()
|
boolean |
getIsValid()
return true if the key is sound |
java.lang.String |
getMethodName()
|
java.util.Map |
getParams()
return the url parameters necessary to identify this rec by key |
int |
hashCode()
Returns a hash code value for the object. |
void |
setHandlerName(java.lang.String handler_name)
|
void |
setMethodName(java.lang.String method_name)
|
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, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String HKEY_HANDLER_NAME
public static final java.lang.String HKEY_METHOD_NAME
Constructor Detail |
public MethodKey()
public MethodKey(java.lang.String handler_name, java.lang.String method_name)
public MethodKey(java.util.Hashtable hash)
Method Detail |
public int hashCode()
java.util.Hashtable
.hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public java.lang.String getHandlerName()
public void setHandlerName(java.lang.String handler_name)
public java.lang.String getMethodName()
public void setMethodName(java.lang.String method_name)
public java.lang.String getFormattedKey()
public static MethodKey createFromFormattedKey(java.lang.String formatted_key) throws RecException
public boolean getIsValid()
public java.util.Map getParams()
public java.lang.String toString()
toString
in interface Hashable
toString
in class java.lang.Object
public java.util.Hashtable toHash()
Use MethodRec(Hashtable)
to transform the data
back into an object of this type.
toHash
in interface Hashable
jreceiver.common.rec.Hashable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |