diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java (renamed from sandbox/travelsample/trip-contribution/src/scatours/trip/TripContents.java) | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sandbox/travelsample/trip-contribution/src/scatours/trip/TripContents.java b/sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java index 0484dde02e..5aa3ef94f5 100644 --- a/sandbox/travelsample/trip-contribution/src/scatours/trip/TripContents.java +++ b/sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java @@ -16,20 +16,21 @@ * specific language governing permissions and limitations * under the License. */ -package scatours.trip; +package scatours.travel; + -import org.apache.tuscany.sca.data.collection.Collection; import org.osoa.sca.annotations.Remotable; import scatours.common.TripItem; /** - * The Trip service interface + * The TravelBooking service interface */ @Remotable -public interface TripContents extends Collection<String, TripItem> { - +public interface TravelBooking { + void addTripItem(String id); void removeTripItem(String id); double getTotalPrice(); + void purchaseTrip(); } |