|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.portal.utils.NameValue
public class NameValue
Utility class for storing and retrieving a name-value pair. The
name
and the value
are stored as
String
objects. Users of this utility class are expected to
carry out any validation they require.
Constructor Summary | |
---|---|
NameValue()
|
|
NameValue(java.lang.String name,
java.lang.String value)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Gets the name of this NameValue object. |
java.lang.String |
getValue()
Gets the vaule of this NameValue object. |
void |
setName(java.lang.String name)
Sets the name of this NameValue object. |
void |
setValue(java.lang.String value)
Sets the value of this NameValue object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameValue()
public NameValue(java.lang.String name, java.lang.String value)
Method Detail |
---|
public void setName(java.lang.String name)
NameValue
object.
name
- - a name.public java.lang.String getName()
NameValue
object.
NameValue
object.public void setValue(java.lang.String value)
NameValue
object.
value
- - a value.public java.lang.String getValue()
NameValue
object.
NameValue
object.
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |