edu.internet2.middleware.grouper.grouperUi.beans
Class NameValuePair

java.lang.Object
  extended by edu.internet2.middleware.grouper.grouperUi.beans.NameValuePair
All Implemented Interfaces:
Serializable

public class NameValuePair
extends Object
implements Serializable

Name value pair

See Also:
Serialized Form

Constructor Summary
NameValuePair()
          Default constructor.
NameValuePair(String name1, String value1)
          Constructor.
 
Method Summary
 boolean equals(Object another)
           
 String getName()
          Return the name.
 String getValue()
          Return the current value.
 int hashCode()
          the hashcode
 void setName(String name1)
          Set the name.
 void setValue(String value1)
          Set the value.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameValuePair

public NameValuePair()
Default constructor.


NameValuePair

public NameValuePair(String name1,
                     String value1)
Constructor.

Parameters:
name1 - The name.
value1 - The value.
Method Detail

setName

public void setName(String name1)
Set the name.

Parameters:
name1 - The new name

getName

public String getName()
Return the name.

Returns:
String name The name

setValue

public void setValue(String value1)
Set the value.

Parameters:
value1 - The new value.

getValue

public String getValue()
Return the current value.

Returns:
String value The current value.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

equals

public boolean equals(Object another)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
the hashcode

Overrides:
hashCode in class Object
Returns:
the hashcode