2023-10-05 23:49:36 +02:00
|
|
|
/*
|
|
|
|
============================================================
|
|
|
|
This is the "Karte" file from Author: Philipp Kotte
|
|
|
|
written on: 05 / 10 / 2023 at: 23:28
|
|
|
|
============================================================
|
|
|
|
*/
|
|
|
|
package Domain.Karten;
|
|
|
|
|
2023-10-10 14:24:38 +02:00
|
|
|
public abstract class Karte {
|
2023-10-05 23:49:36 +02:00
|
|
|
|
2023-10-10 14:24:38 +02:00
|
|
|
// Statische Konstanten
|
2023-10-12 08:51:24 +02:00
|
|
|
|
2023-10-10 14:24:38 +02:00
|
|
|
// Statische Attribute
|
2023-10-12 08:51:24 +02:00
|
|
|
private int id;
|
2023-10-10 14:24:38 +02:00
|
|
|
// Attribute des Ojektes
|
2023-10-12 08:51:24 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// Konstruktoren
|
|
|
|
public Karte() {
|
2023-10-12 08:51:24 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
}
|
2023-10-12 08:51:24 +02:00
|
|
|
|
|
|
|
public Karte(int id) {
|
|
|
|
this.id = id;
|
2023-10-10 16:46:11 +02:00
|
|
|
}
|
2023-10-12 08:51:24 +02:00
|
|
|
|
|
|
|
// Statische Methoden
|
|
|
|
|
2023-10-10 14:24:38 +02:00
|
|
|
// Getter und Setter
|
2023-10-12 08:51:24 +02:00
|
|
|
|
|
|
|
public int getId() {
|
|
|
|
return this.id;
|
|
|
|
}
|
|
|
|
|
2023-10-10 14:24:38 +02:00
|
|
|
// @Overrides
|
2023-10-12 08:51:24 +02:00
|
|
|
|
2023-10-10 14:24:38 +02:00
|
|
|
// Public Methoden (öffentliche Methoden)
|
2023-10-12 08:51:24 +02:00
|
|
|
|
2023-10-10 14:24:38 +02:00
|
|
|
// Private Methoden (Hilfsmethoden)
|
2023-10-05 23:49:36 +02:00
|
|
|
}
|