Class Chat


  • @Entity
    public class Chat
    extends java.lang.Object
    Entity class for storing information about a chat with chatId as primary key
    • Constructor Detail

      • Chat

        public Chat​(Activity activity,
                    java.util.Set<Message> messages)
      • Chat

        public Chat()
    • Method Detail

      • getActivity

        public Activity getActivity()
      • setActivity

        public void setActivity​(Activity activity)
      • getMessages

        public java.util.Set<Message> getMessages()
      • setMessages

        public void setMessages​(java.util.Set<Message> messages)
      • getChatId

        public long getChatId()
      • setChatId

        public void setChatId​(long chatId)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object