nl.beesting.beangenerator.util
Class ParameterPair

java.lang.Object
  extended by nl.beesting.beangenerator.util.ParameterPair

public class ParameterPair
extends java.lang.Object

Author:
WeerdG Contains a parameter name x value

Constructor Summary
ParameterPair()
           
ParameterPair(java.lang.String name)
           
ParameterPair(java.lang.String name, java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object thatObj)
           
 java.lang.String getName()
          Returns the name.
 java.lang.String getValue()
          Returns the value.
 java.util.List<java.lang.String> getValues()
           
 int hashCode()
           
 void setName(java.lang.String name)
          Sets the name.
 void setValue(java.lang.String value)
          Sets the value.
 void setValues(java.util.List<java.lang.String> values)
           
 java.lang.String toString()
          Creates a default String value for the given class over multiple lines.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterPair

public ParameterPair()

ParameterPair

public ParameterPair(java.lang.String name)

ParameterPair

public ParameterPair(java.lang.String name,
                     java.lang.String value)
Method Detail

getName

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

Returns:
String

getValue

public java.lang.String getValue()
Returns the value.

Returns:
String

setName

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

Parameters:
name - The name to set

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - The value to set

setValues

public void setValues(java.util.List<java.lang.String> values)

getValues

public java.util.List<java.lang.String> getValues()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Creates a default String value for the given class over multiple lines.

Overrides:
toString in class java.lang.Object
Returns:
string representation of the class


Copyright 2008. All Rights Reserved.