com.licorize.api.client
Class Parameter<Name,Value>

java.lang.Object
  extended by com.licorize.api.client.Parameter<Name,Value>

public class Parameter<Name,Value>
extends java.lang.Object

Author:
Federico Soldani - fsoldani@open-lab.com

Constructor Summary
Parameter(Name name, Value value)
          Instantiates a new parameter.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Name getName()
          Gets the name.
 Value getValue()
          Gets the value.
 int hashCode()
           
 void setName(Name name)
          Sets the name.
 void setValue(Value value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(Name name,
                 Value value)
Instantiates a new parameter.

Parameters:
name - the name
value - the value
Method Detail

getName

public Name getName()
Gets the name.

Returns:
the name

setName

public void setName(Name name)
Sets the name.

Parameters:
name - the name to set

getValue

public Value getValue()
Gets the value.

Returns:
the value

setValue

public void setValue(Value value)
Sets the value.

Parameters:
value - the value to set

hashCode

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

equals

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


Copyright © 2010. All Rights Reserved.