|
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ireasoning.protocol.snmp.NameValue
This class is a data structure which stores name and value pair.
| Constructor Summary | |
NameValue(String name,
String value)
Constructs a new NameValue instance |
|
| Method Summary | |
String |
getName()
Returns the name associated with a value by this object. |
String |
getValue()
Returns the value associated with this object |
void |
setName(String name)
Sets a new name |
void |
setValue(String v)
Sets a new value |
String |
toString()
Returns the String representation in the format of "name: name, value: value" |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NameValue(String name,
String value)
name - namevalue - the value associated with the passed name| Method Detail |
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String v)
public String toString()
|
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||