Пример #1
0
 /**
  * Removes the application.
  *
  * @param application the application
  */
 public void removeApplication(Application application) {
   this.applications.remove(application);
   application.setOwner(null);
 }
Пример #2
0
 /**
  * Adds the application.
  *
  * @param application the application
  */
 public void addApplication(Application application) {
   application.setOwner(this);
   this.applications.add(application);
 }