diff --git a/2020-2021/src/TD4/travel/TravelOrganizer.java b/2020-2021/src/TD4/travel/TravelOrganizer.java index ec4c65c..11cf158 100644 --- a/2020-2021/src/TD4/travel/TravelOrganizer.java +++ b/2020-2021/src/TD4/travel/TravelOrganizer.java @@ -2,4 +2,10 @@ package TD4.travel; public class TravelOrganizer implements Service { + @Override + public Product find(Description d) { + // TODO Auto-generated method stub + return null; + } + } diff --git a/2020-2021/src/TD4/travel/Trip.java b/2020-2021/src/TD4/travel/Trip.java index aa49591..23d5690 100644 --- a/2020-2021/src/TD4/travel/Trip.java +++ b/2020-2021/src/TD4/travel/Trip.java @@ -1,7 +1,7 @@ package TD4.travel; public class Trip implements Product { - + private Description desc; public Trip(Description d) { @@ -12,10 +12,15 @@ public class Trip implements Product { return .0; } - public void addItem() { + public void addItem(Product p) { } + @Override + public String toString() { + return "Trip [desc=" + desc + "]"; + } + /** * @return the desc */ diff --git a/2020-2021/src/TD4/travel/travels.ucls b/2020-2021/src/TD4/travel/travels.ucls index 40e93aa..8019af4 100644 --- a/2020-2021/src/TD4/travel/travels.ucls +++ b/2020-2021/src/TD4/travel/travels.ucls @@ -3,7 +3,7 @@ associations="true" dependencies="false" nesting-relationships="true" router="FAN"> - + @@ -12,7 +12,7 @@ - + @@ -21,7 +21,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -47,13 +47,13 @@ - - - - + + + +