public NSArray<org.pachyderm.foundation.eof.PDBScreen> everyScreen(
      EOQualifier qualifier, NSArray<EOSortOrdering> sortOrderings, boolean fetch) {
    NSArray<org.pachyderm.foundation.eof.PDBScreen> results;
    if (fetch) {
      EOQualifier fullQualifier;
      EOQualifier inverseQualifier =
          ERXQ.equals(org.pachyderm.foundation.eof.PDBScreen.PRESENTATION_KEY, this);

      if (qualifier == null) {
        fullQualifier = inverseQualifier;
      } else {
        fullQualifier = ERXQ.and(qualifier, inverseQualifier);
      }

      results =
          org.pachyderm.foundation.eof.PDBScreen.fetchPDBScreens(
              editingContext(), fullQualifier, sortOrderings);
    } else {
      results = everyScreen();
      if (qualifier != null) {
        results =
            (NSArray<org.pachyderm.foundation.eof.PDBScreen>)
                EOQualifier.filteredArrayWithQualifier(results, qualifier);
      }
      if (sortOrderings != null) {
        results =
            (NSArray<org.pachyderm.foundation.eof.PDBScreen>)
                EOSortOrdering.sortedArrayUsingKeyOrderArray(results, sortOrderings);
      }
    }
    return results;
  }
 public NSArray<er.rbac.eof.ERPrivilege> privileges(
     EOQualifier qualifier, NSArray<EOSortOrdering> sortOrderings) {
   NSArray<er.rbac.eof.ERPrivilege> results;
   results = privileges();
   if (qualifier != null) {
     results =
         (NSArray<er.rbac.eof.ERPrivilege>)
             EOQualifier.filteredArrayWithQualifier(results, qualifier);
   }
   if (sortOrderings != null) {
     results =
         (NSArray<er.rbac.eof.ERPrivilege>)
             EOSortOrdering.sortedArrayUsingKeyOrderArray(results, sortOrderings);
   }
   return results;
 }