parent
0d91f704c2
commit
754480d447
|
@ -5,7 +5,6 @@ import lombok.Data;
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Data
|
@Data
|
||||||
public class Car {
|
public class Car {
|
||||||
|
|
||||||
String manufacturerName;
|
String manufacturerName;
|
||||||
String fuleType;
|
String fuleType;
|
||||||
String modelNo;
|
String modelNo;
|
||||||
|
@ -32,4 +31,5 @@ public class Car {
|
||||||
public void enableChildLock() {
|
public void enableChildLock() {
|
||||||
//Enable child lock in the car
|
//Enable child lock in the car
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,21 +8,25 @@ public class FordAdapter implements ManufacturingPort {
|
||||||
@Override
|
@Override
|
||||||
public void manufacturingMethodology(Car car) {
|
public void manufacturingMethodology(Car car) {
|
||||||
// Process for manufacturing ford car
|
// Process for manufacturing ford car
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void manufacturingLocation(String location) {
|
public void manufacturingLocation(String location) {
|
||||||
// Location at which ford manufacturing will take place
|
// Location at which ford manufacturing will take place
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void logoForTheCar(Car car) {
|
public void logoForTheCar(Car car) {
|
||||||
// Put ford logo on the car
|
// Put ford logo on the car
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void timeToMarketForTheCar(Car car) {
|
public void timeToMarketForTheCar(Car car) {
|
||||||
// Find time to market for a particular ford car model
|
// Find time to market for a particular ford car model
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -40,4 +44,5 @@ public class FordAdapter implements ManufacturingPort {
|
||||||
public void fordEngineFuelTest(Car car) {
|
public void fordEngineFuelTest(Car car) {
|
||||||
//Do engine test for ford
|
//Do engine test for ford
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,21 +8,25 @@ public class HondaAdapter implements ManufacturingPort {
|
||||||
@Override
|
@Override
|
||||||
public void manufacturingMethodology(Car car) {
|
public void manufacturingMethodology(Car car) {
|
||||||
// Process for manufacturing honda car
|
// Process for manufacturing honda car
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void manufacturingLocation(String location) {
|
public void manufacturingLocation(String location) {
|
||||||
// Location at which honda manufacturing will take place
|
// Location at which honda manufacturing will take place
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void logoForTheCar(Car car) {
|
public void logoForTheCar(Car car) {
|
||||||
// Put honda logo on the car
|
// Put honda logo on the car
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void timeToMarketForTheCar(Car car) {
|
public void timeToMarketForTheCar(Car car) {
|
||||||
// Find time to market for a particular honda car model
|
// Find time to market for a particular honda car model
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -40,4 +44,5 @@ public class HondaAdapter implements ManufacturingPort {
|
||||||
public void carCrashAndSafetyTest(Car car) {
|
public void carCrashAndSafetyTest(Car car) {
|
||||||
//Do car crash test got honda car
|
//Do car crash test got honda car
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue