com.google.code.linkedinapi.client
Class Parameter<Name,Value>

java.lang.Object
  extended by com.google.code.linkedinapi.client.Parameter<Name,Value>

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

The Class Parameter.

Author:
nmukhtar

Field Summary
private  Name name
          The name.
private  Value value
          The value.
 
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
 

Field Detail

name

private Name name
The name.


value

private Value value
The value.

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