|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.barracudamvc.plankton.data.Param
Define a Param object as having key and value properties (both of which are Strings)
Constructor Summary | |
Param()
Create an empty Param |
|
Param(String ikey,
String ivalue)
Create a Param for a given key/value |
Method Summary | |
boolean |
equals(Object o)
Check for equality (if both key & value match) |
String |
getKey()
Get the key |
String |
getValue()
Get the value |
void |
setKey(String ikey)
Set the key |
void |
setValue(String ivalue)
Set the value |
String |
toString()
Return a string representation of the param |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Param()
public Param(String ikey, String ivalue)
ikey
- the param keyivalue
- the param valueMethod Detail |
public void setKey(String ikey)
ikey
- the param keypublic String getKey()
public void setValue(String ivalue)
ivalue
- the param valuepublic String getValue()
public boolean equals(Object o)
o
- the object we are comparing against
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |