/** * Removes the application. * * @param application the application */ public void removeApplication(Application application) { this.applications.remove(application); application.setOwner(null); }
/** * Adds the application. * * @param application the application */ public void addApplication(Application application) { application.setOwner(this); this.applications.add(application); }