com.j_spaces.map
Class Attribute

java.lang.Object
  extended by com.j_spaces.map.Attribute
All Implemented Interfaces:
Serializable

Deprecated.

public class Attribute
extends Object
implements Serializable

This class contains name-value pair used in IMap API.

See Also:
Serialized Form

Constructor Summary
Attribute()
          Deprecated. No argument constructor.
Attribute(String name, Object value)
          Deprecated. Constructor with name and value.
 
Method Summary
 boolean equals(Object o)
          Deprecated. Returns true if names of the attributes are the same.
 String getName()
          Deprecated. Returns the name of this attribute.
 Object getValue()
          Deprecated. Returns the value of this attribute.
 int hashCode()
          Deprecated. 
 void setName(String name)
          Deprecated. Sets the name of this attribute.
 void setValue(Object value)
          Deprecated. Sets the value of this attribute.
 String toString()
          Deprecated. 
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Deprecated. 
No argument constructor.


Attribute

public Attribute(String name,
                 Object value)
Deprecated. 
Constructor with name and value.

Parameters:
name - attribute name
value - attribute value
Method Detail

getName

public String getName()
Deprecated. 
Returns the name of this attribute.

Returns:
name of this attribute

setName

public void setName(String name)
Deprecated. 
Sets the name of this attribute.

Parameters:
name - name of this attribute

getValue

public Object getValue()
Deprecated. 
Returns the value of this attribute.

Returns:
value of this attribute

setValue

public void setValue(Object value)
Deprecated. 
Sets the value of this attribute.

Parameters:
value - value of this attribute

equals

public boolean equals(Object o)
Deprecated. 
Returns true if names of the attributes are the same.

Overrides:
equals in class Object
Parameters:
o - another Attribute instance
Returns:
if the two Attribute instances are the same

hashCode

public int hashCode()
Deprecated. 

Overrides:
hashCode in class Object

toString

public String toString()
Deprecated. 

Overrides:
toString in class Object