-
Notifications
You must be signed in to change notification settings - Fork 0
/
Autos
125 lines (99 loc) · 2.39 KB
/
Autos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
public class Autos {
private String kraftStoffArt;
private byte anzahlZylinder;
private double hubRaum;
private int leistung;
private int drehMoment;
private double beschleunigung;
private int maxGeschwindigkeit;
private double verbrauch;
private String getriebeArt;
private String antriebArt;
private int tankVolumen;
private byte anzahlTueren;
//---------------- Setter und Getter Methoden fuer die Attributen
//String kraftStoffArt
public String getKraftstoffArt() {
return kraftStoffArt;
}
public void setKraftStoffArt( String kraftStoffArt ) {
this.kraftStoffArt = kraftStoffArt;
}
//anzahlZylinder
public byte getAnzahlZylinder() {
return anzahlZylinder;
}
public void setAnzahlZylinder( byte anzahlZylinder ) {
this.anzahlZylinder = anzahlZylinder;
}
//hubraum
public double getHubraum() {
return hubRaum;
}
public void setHubraum( double hubRaum ) {
this.hubRaum = hubRaum;
}
//leistung
public int getLeistung() {
return leistung;
}
public void setLeistung( int leistung ) {
this.leistung = leistung;
}
//drehMoment
public int getDrehmoment() {
return drehMoment;
}
public void setDrehmoment( int drehMoment ) {
this.drehMoment = drehMoment;
}
//beschleunigung
public double getBeschleunigung() {
return beschleunigung;
}
public void setBeschleunigung( double beschleunigung ) {
this.beschleunigung = beschleunigung;
}
//maxGeschwindigkeit
public int getMaxGeschwindigkeit() {
return maxGeschwindigkeit;
}
public void setMaxGeschwindigkeit( int maxGeschwindigkeit ) {
this.maxGeschwindigkeit = maxGeschwindigkeit;
}
//verbrauch
public double getVerbrauch() {
return verbrauch;
}
public void setVerbrauch( double verbrauch ) {
this.verbrauch = verbrauch;
}
//getriebeArt
public String getGetriebeArt() {
return getriebeArt;
}
public void setGetriebeArt( String getriebeArt ) {
this.getriebeArt = getriebeArt;
}
//antriebArt
public String getAntriebArt() {
return antriebArt;
}
public void setAntriebArt( String antriebArt ) {
this.antriebArt = antriebArt;
}
//tankVolumen
public int getTankVolumen() {
return tankVolumen;
}
public void setTankVolumen( int tankVolumen ) {
this.tankVolumen = tankVolumen;
}
//anzahlTueren
public byte getAnzahlTueren() {
return anzahlTueren;
}
public void setAnzahlTueren( byte anzahlTueren ) {
this.anzahlTueren = anzahlTueren;
}
}