com.compoze.util
Class NameValue
java.lang.Object
|
+--com.compoze.util.NameValue
- public class NameValue
- extends java.lang.Object
This class stores a string name/value pair.
Constructor Summary |
NameValue(java.lang.String sName,
java.lang.String sValue)
Constructor. |
Method Summary |
java.lang.String |
getName()
Get the name. |
java.lang.String |
getValue()
Get value. |
void |
setName(java.lang.String sName)
Set the name. |
void |
setValue(java.lang.String sValue)
Set value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameValue
public NameValue(java.lang.String sName,
java.lang.String sValue)
- Constructor.
- Parameters:
sName
- the namesValue
- the value
getName
public java.lang.String getName()
- Get the name.
- Returns:
- the name
setName
public void setName(java.lang.String sName)
- Set the name.
- Parameters:
sName
- the name
getValue
public java.lang.String getValue()
- Get value.
- Returns:
- the value
setValue
public void setValue(java.lang.String sValue)
- Set value.
- Parameters:
sValue
- the value
Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.