code: public static List<Entry> assignmentStructure(Assignment assignment) {
          List<Entry> entryList = new LinkedList<>();
          entryList.add(namedObject(DnFactory.assignment(assignment)));
          entryList.add(namedDescriptiveObject(DnFactory.assignmentProject(assignment), assignment.getProject()));
          entryList.add(namedDescriptiveObject(DnFactory.assignmentUser(assignment), assignment.getUser()));
          entryList.addAll(createAssignmentPermissionsEntries(assignment));
          entryList.addAll(createAssignmentRolesEntries(assignment));
          return entryList;
      }
docs: Returns a list of entries representing an assignment. The list should not be reordered since its order follows
  the tree structure of the DIT. It can be inserted into the DIT right away.