com.bowstreet.util
Class SimpleNameValuePair

java.lang.Object
  extended by com.bowstreet.util.SimpleNameValuePair
All Implemented Interfaces:
NameValuePair

public class SimpleNameValuePair
extends java.lang.Object
implements NameValuePair

Class for implementing NameValuePair


Constructor Summary
SimpleNameValuePair(java.lang.String name, java.lang.Object value)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Return the name
 java.lang.Object getValue()
          Return the value
 void setName(java.lang.String name)
          Set the name
 void setValue(java.lang.Object value)
          Set the value
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNameValuePair

public SimpleNameValuePair(java.lang.String name,
                           java.lang.Object value)
Constructor

Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getName

public java.lang.String getName()
Return the name

Specified by:
getName in interface NameValuePair
Returns:
Name

getValue

public java.lang.Object getValue()
Return the value

Specified by:
getValue in interface NameValuePair
Returns:
Value

setName

public void setName(java.lang.String name)
Set the name


setValue

public void setValue(java.lang.Object value)
Set the value



Copyright © 2009 IBM. All Rights Reserved.