Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package hausaufgabensystem;
- /**
- *
- * @author macbook
- */
- public class Aufgabe {
- public String aufgabenStellung;
- public Lehrer lehrer;
- public boolean aktiv;
- Aufgabe(String aufgabenStellung, Lehrer lehrer) {
- this.aufgabenStellung = aufgabenStellung;
- this.lehrer = lehrer;
- this.aktiv = true;
- }
- public void setAktiv(boolean aktiv) {
- this.aktiv = aktiv;
- }
- public boolean getAktiv() {
- return this.aktiv;
- }
- public Lehrer getLehrer() {
- return this.lehrer;
- }
- public String getAufgabenStellung() {
- return this.aufgabenStellung;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement