public abstract class Message extends BaseDataRecord implements java.io.Serializable
COLUMN_ID
构造器和说明 |
---|
Message() |
Message(java.lang.String userId,
java.lang.String message,
java.lang.String url,
int urlType) |
Message(java.lang.String userId,
java.lang.String username,
java.lang.String message,
java.lang.String url,
int type,
int urlType) |
限定符和类型 | 方法和说明 |
---|---|
abstract MessageEntity |
createEntity() |
java.util.Date |
getCreateTime() |
java.util.Date |
getDatetime() |
java.lang.String |
getMessage() |
int |
getType() |
java.lang.String |
getUrl() |
int |
getUrlType() |
java.lang.String |
getUserId() |
java.lang.String |
getUsername() |
boolean |
isReaded() |
boolean |
isToasted() |
void |
setCreateTime(java.util.Date createTime) |
void |
setDatetime(java.util.Date datetime) |
void |
setMessage(java.lang.String message) |
void |
setReaded(boolean readed) |
MessageEntity |
setSelf2Entity(MessageEntity entity) |
void |
setToasted(boolean toasted) |
void |
setType(int type) |
void |
setUrl(java.lang.String url) |
void |
setUrlType(int urlType) |
void |
setUserId(java.lang.String userId) |
void |
setUsername(java.lang.String username) |
getId, setId, toString
public Message()
public Message(java.lang.String userId, java.lang.String message, java.lang.String url, int urlType)
public Message(java.lang.String userId, java.lang.String username, java.lang.String message, java.lang.String url, int type, int urlType)
public abstract MessageEntity createEntity()
public MessageEntity setSelf2Entity(MessageEntity entity)
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.util.Date getDatetime()
public void setDatetime(java.util.Date datetime)
public java.util.Date getCreateTime()
public void setCreateTime(java.util.Date createTime)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public boolean isToasted()
public void setToasted(boolean toasted)
public boolean isReaded()
public void setReaded(boolean readed)
public int getType()
public void setType(int type)
public int getUrlType()
public void setUrlType(int urlType)