* Different Types of Bean Injection in Spring

* BAEL-1585

* Revert "Different Types of Bean Injection in Spring"

This reverts commit ae47827879.

* Revert "BAEL-1585"

This reverts commit e792f17f82.

* BAEL-1585

* rev1
This commit is contained in:
Ciro Alvino
2018-04-11 19:52:21 +02:00
committed by Grzegorz Piwowarek
parent 64e9b41aef
commit 61504c948b
2 changed files with 58 additions and 0 deletions
@@ -0,0 +1,31 @@
package com.baeldung.java_8_features;
public class Car {
private String model;
private int topSpeed;
public Car(String model, int topSpeed) {
super();
this.model = model;
this.topSpeed = topSpeed;
}
public String getModel() {
return model;
}
public void setModel(String model) {
this.model = model;
}
public int getTopSpeed() {
return topSpeed;
}
public void setTopSpeed(int topSpeed) {
this.topSpeed = topSpeed;
}
}