Class Chatline

Object
Chatline

@Entity public class Chatline extends Object
A chatline, a chatroom that can be defined by players.
  • Constructor Details

    • Chatline

      public Chatline()
  • Method Details

    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getChatname

      public String getChatname()
    • setChatname

      public void setChatname(String chatname)
    • getAttributename

      public String getAttributename()
    • setAttributename

      public void setAttributename(String attributename)
    • getColour

      public String getColour()
    • setColour

      public void setColour(String colour)
    • getLastchattime

      public LocalDateTime getLastchattime()
    • getOwner

      @Nullable public User getOwner()
    • setOwner

      public void setOwner(@Nullable User owner)
    • getUsers

      public Set<Chatlineusers> getUsers()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • updateTime

      public void updateTime()
      Updates the time with when the last chat message was sent.