public class UserAttribute
extends java.lang.Object
implements java.io.Serializable
User
Constructor and Description |
---|
UserAttribute()
Bean constructor
|
UserAttribute(int userId,
java.lang.String key,
java.lang.String value)
Convienence constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey() |
int |
getUserId() |
java.lang.String |
getValue() |
int |
hashCode() |
void |
setKey(java.lang.String key) |
void |
setUserId(int userId) |
void |
setValue(java.lang.String value) |
public UserAttribute()
public UserAttribute(int userId, java.lang.String key, java.lang.String value)
userId
- The userId to setkey
- The key to setvalue
- The value to setpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getUserId()
public void setUserId(int userId)
userId
- the userId to setpublic java.lang.String getKey()
public void setKey(java.lang.String key)
key
- the key to setpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value to set