31 lines
578 B
Java
31 lines
578 B
Java
/*
|
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
|
*/
|
|
|
|
package ChatProgramm.model;
|
|
|
|
/**
|
|
*
|
|
* @author ahren
|
|
*/
|
|
public class Nachricht
|
|
{
|
|
private String nachricht;
|
|
|
|
public Nachricht(String nachricht)
|
|
{
|
|
this.nachricht = nachricht;
|
|
}
|
|
|
|
/**
|
|
* @return the nachricht
|
|
*/
|
|
public String getNachricht() {
|
|
return nachricht;
|
|
}
|
|
|
|
public void setNachricht(String nachricht) {
|
|
this.nachricht = nachricht;
|
|
}
|
|
} |