|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.util.NameValuePair
Object similar to valid values, but it mainly represents the common usage of a name representing a value.
| Constructor Summary | |
NameValuePair()
Constructor that creates a null name and null value. |
|
NameValuePair(String newName,
Object newValue)
Constructs a name value pair with the given name and given object value. |
|
| Method Summary | |
String |
getName()
Retrieve the name for this name value pair |
Object |
getValue()
Get the actual value object |
int |
hashCode()
Override on hash code. |
void |
setName(String name)
Set the name for this pair |
void |
setValue(Object value)
Set the value for the name value pair |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NameValuePair()
public NameValuePair(String newName,
Object newValue)
newName - the name of the name value pairnewValue - the object or value part of the pair| Method Detail |
public String getName()
public void setName(String name)
name - java.lang.Stringpublic void setValue(Object value)
value - java.lang.Objectpublic Object getValue()
public int hashCode()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||