Last update: 2011-06-23

org.proteios.io
Class StringPair

java.lang.Object
  extended by org.proteios.io.StringPair
All Implemented Interfaces:
StringPairInterface

public class StringPair
extends Object
implements StringPairInterface

This class contains methods to access a name/value pair of strings.

Author:
olle

Constructor Summary
StringPair()
           
 
Method Summary
 String getName()
          Get the name.
 String getValue()
          Get the value.
 void setName(String name)
          Set the name.
 void setValue(String value)
          Set the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPair

public StringPair()
Method Detail

setName

public void setName(String name)
Set the name.

Parameters:
name - String The name to set.

setValue

public void setValue(String value)
Set the value.

Parameters:
value - String The value to set.

getName

public String getName()
Get the name.

Specified by:
getName in interface StringPairInterface
Returns:
String The name.

getValue

public String getValue()
Get the value.

Specified by:
getValue in interface StringPairInterface
Returns:
String The value.

Last update: 2011-06-23