No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Notification.java 418B

1234567891011121314151617181920212223242526
  1. package chat;
  2. import java.io.Serializable;
  3. abstract class Notification implements Serializable{
  4. protected User author;
  5. protected Boolean redirected;
  6. public void setAuthor(User new_author)
  7. {
  8. author = new_author;
  9. }
  10. public User getAuthor()
  11. {
  12. return author;
  13. }
  14. public Boolean isRedirected()
  15. {
  16. return redirected;
  17. }
  18. public void setRedirected(Boolean in_redirected)
  19. {
  20. redirected = in_redirected;
  21. }
  22. }