This commit is contained in:
JunkJumper 2020-10-22 11:53:28 +02:00
parent 7fdf3e34ef
commit 48a00da209
3 changed files with 22 additions and 11 deletions

View File

@ -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;
}
}

View File

@ -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
*/

View File

@ -3,7 +3,7 @@
associations="true" dependencies="false" nesting-relationships="true" router="FAN">
<class id="1" language="java" name="TD4.travel.Trip" project="M315" file="/M315/src/TD4/travel/Trip.java"
binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="366" y="89"/>
<position height="-1" width="-1" x="305" y="104"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
@ -12,7 +12,7 @@
</class>
<class id="2" language="java" name="TD4.travel.Description" project="M315"
file="/M315/src/TD4/travel/Description.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="589" y="243"/>
<position height="-1" width="-1" x="566" y="361"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
@ -21,7 +21,7 @@
</class>
<interface id="3" language="java" name="TD4.travel.Product" project="M315" file="/M315/src/TD4/travel/Product.java"
binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="583" y="81"/>
<position height="-1" width="-1" x="532" y="103"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
@ -30,7 +30,7 @@
</interface>
<class id="4" language="java" name="TD4.travel.TravelOrganizer" project="M315"
file="/M315/src/TD4/travel/TravelOrganizer.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="84" y="91"/>
<position height="-1" width="-1" x="99" y="108"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
@ -39,7 +39,7 @@
</class>
<interface id="5" language="java" name="TD4.travel.Service" project="M315" file="/M315/src/TD4/travel/Service.java"
binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="101" y="391"/>
<position height="-1" width="-1" x="93" y="387"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
@ -47,13 +47,13 @@
</display>
</interface>
<realization id="6">
<end type="SOURCE" refId="1"/>
<end type="TARGET" refId="3"/>
</realization>
<realization id="7">
<end type="SOURCE" refId="4"/>
<end type="TARGET" refId="5"/>
</realization>
<realization id="7">
<end type="SOURCE" refId="1"/>
<end type="TARGET" refId="3"/>
</realization>
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>