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.

Nachricht.java 578B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
  3. * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
  4. */
  5. package ChatProgramm.model;
  6. /**
  7. *
  8. * @author ahren
  9. */
  10. public class Nachricht
  11. {
  12. private String nachricht;
  13. public Nachricht(String nachricht)
  14. {
  15. this.nachricht = nachricht;
  16. }
  17. /**
  18. * @return the nachricht
  19. */
  20. public String getNachricht() {
  21. return nachricht;
  22. }
  23. public void setNachricht(String nachricht) {
  24. this.nachricht = nachricht;
  25. }
  26. }