1   package de.uni_stuttgart.informatik.canu.mobisim.notifications;
2   
3   import de.uni_stuttgart.informatik.canu.mobisim.core.Notification;
4   
5   /**
6    * This user-defined Java class extends the functionality of Notification Java class.
7    * It is used to notify JADE about the vehicle reaching the final destination using a
8    * Boolean flag set to true.
9    * @author prajakta
10   *
11   */
12  public class FinalDestinationReachedNotification extends Notification {
13  
14      private String owner;
15      public String getOwner() {
16          return owner;
17      }
18  
19      public FinalDestinationReachedNotification(Object sender, Object receiver, String ownerID) {
20          super(sender, receiver);
21          setOwner(ownerID);
22  
23  
24      }
25  
26      public void setOwner(String owner) {
27          this.owner = owner;
28  
29      }
30  
31  
32  }
33