public void setCompleted(boolean completed) {
   if (completed) {
     this.currentProgress.set(this.progressCompletionTarget);
     dissociateFromParent();
     managerNotifications.dismissNotification(targetsHashid);
   }
   this.completed = completed;
 }
  public void clean() {
    this.managerNotifications = null;
    this.notificationType = null;
    this.actionsTargetName = null;
    this.targetsHashid = 0;
    this.notificationHashid = 0;
    this.notificationUpdateProgress = null;
    this.currentProgress = null;
    this.progressCompletionTarget = 0;
    this.completed = false;

    dissociateFromParent();
    removeSubNotifications();
    this.subNotifications = null;
  }
 public void removeSubNotifications() {
   for (ViewNotification subNotification : subNotifications) {
     subNotification.dissociateFromParent();
   }
   return;
 }