Class Trashcan.CircularRefInfo

java.lang.Object
net.sf.basedb.core.Trashcan.CircularRefInfo
Enclosing class:
Trashcan

static class Trashcan.CircularRefInfo extends Object
Helper class for holding information about a single item, other items using it and other information that is relevant for resolving circular references.
Since:
3.8
  • Field Details

  • Constructor Details

  • Method Details

    • isUsingNonRemovableItem

      boolean isUsingNonRemovableItem(Set<ItemProxy> itemsToRemove)
      Check if all using items of the main items is found among the 'itemsToRemove'. If not, this item can't be removed even if circular references are broken.
      Returns:
      True if this item is using a non-removable item, false otherwise