|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.map.Attribute
public class Attribute
This class contains name
-value
pair used in IMap
API.
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 |
---|
public Attribute()
public Attribute(String name, Object value)
name
and value
.
name
- attribute namevalue
- attribute valueMethod Detail |
---|
public String getName()
public void setName(String name)
name
- name of this attributepublic Object getValue()
public void setValue(Object value)
value
- value of this attributepublic boolean equals(Object o)
equals
in class Object
o
- another Attribute
instance
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |