| 1 | package models; |
| 2 | |
| 3 | public class MessageModel { |
| 4 | |
| 5 | String uId, msgText; |
| 6 | long msgTime; |
| 7 | |
| 8 | public MessageModel() { |
| 9 | } |
| 10 | |
| 11 | public MessageModel(long msgTime, String msgText) { |
| 12 | this.msgTime = msgTime; |
| 13 | this.msgText = msgText; |
| 14 | } |
| 15 | |
| 16 | public MessageModel(String uId, String msgText, long msgTime) { |
| 17 | this.uId = uId; |
| 18 | this.msgText = msgText; |
| 19 | this.msgTime = msgTime; |
| 20 | } |
| 21 | |
| 22 | public String getuId() { |
| 23 | return uId; |
| 24 | } |
| 25 | |
| 26 | public void setuId(String uId) { |
| 27 | this.uId = uId; |
| 28 | } |
| 29 | |
| 30 | public String getMsgText() { |
| 31 | return msgText; |
| 32 | } |
| 33 | |
| 34 | public void setMsgText(String msgText) { |
| 35 | this.msgText = msgText; |
| 36 | } |
| 37 | |
| 38 | public long getMsgTime() { |
| 39 | return msgTime; |
| 40 | } |
| 41 | |
| 42 | public void setMsgTime(long msgTime) { |
| 43 | this.msgTime = msgTime; |
| 44 | } |
| 45 | } |
nothing calls this directly
no outgoing calls
no test coverage detected