Set unsavedAssignmentsReceived = this.assignmentsReceived;  this.assignmentsReceived = this.signet .getAssignmentsByGrantee(this.subjectKey); this.assignmentsReceived.addAll(unsavedAssignmentsReceived);  this.assignmentsReceivedNotYetFetched = false;
statusSet = new HashSet(); statusSet.add(status);
  public Set getAssignmentsReceived    (Status status, Subsystem subsystem, Function function)  {    // I really want to handle this purely through Hibernate    // mappings, but I haven't figured out how yet.    if (this.assignmentsReceivedNotYetFetched == true)    {        // We have not yet fetched the assignments received by this        // PrivilegedSubject from the database. Let's make a copy of        // whatever in-memory assignments we DO have, because they represent        // received-but-not-necessarily-yet-persisted assignments.        Set unsavedAssignmentsReceived = this.assignmentsReceived;        this.assignmentsReceived = this.signet            .getAssignmentsByGrantee(this.subjectKey);        this.assignmentsReceived.addAll(unsavedAssignmentsReceived);        this.assignmentsReceivedNotYetFetched = false;    }    Set resultSet = UnmodifiableSet.decorate(this.assignmentsReceived);    resultSet = filterAssignments(resultSet, status);    resultSet = filterAssignments(resultSet, subsystem);    resultSet = filterAssignments(resultSet, function);    return resultSet;  }