Build first maven project

- added maven wrapper
- added kst4contest package
- moved tests to src/test/main and added @Test as first step
- moved resources to src/main/resource
This commit is contained in:
Konrad Neitzel
2023-11-10 08:33:17 +01:00
parent af75993474
commit 0e9ba8d42b
56 changed files with 11857 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
package kst4contest.model;
public class AirPlane {
String apCallSign, apSizeCategory;
int distanceKm, potential, arrivingDurationMinutes;
public String getApCallSign() {
return apCallSign;
}
public void setApCallSign(String apCallSign) {
this.apCallSign = apCallSign;
}
public String getApSizeCategory() {
return apSizeCategory;
}
public void setApSizeCategory(String apSizeCategory) {
this.apSizeCategory = apSizeCategory;
}
public int getDistanceKm() {
return distanceKm;
}
public void setDistanceKm(int distanceKm) {
this.distanceKm = distanceKm;
}
public int getPotential() {
return potential;
}
public void setPotential(int potential) {
this.potential = potential;
}
public int getArrivingDurationMinutes() {
return arrivingDurationMinutes;
}
public void setArrivingDurationMinutes(int arrivingDurationMinutes) {
this.arrivingDurationMinutes = arrivingDurationMinutes;
}
@Override
public String toString() {
String toStringString = "\n";
toStringString += this.apCallSign + ", category: " + this.apSizeCategory + ", distance: " + this.getDistanceKm() + ", potential: " + this.potential + ", distance: " + this.getDistanceKm() + ", duration " + this.arrivingDurationMinutes + "" ;
return toStringString;
}
}