Package net.sf.basedb.core
Class Trashcan.CircularRefInfo
java.lang.Object
net.sf.basedb.core.Trashcan.CircularRefInfo
- Enclosing class:
- Trashcan
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 Summary
Modifier and TypeFieldDescription(package private) final Identifiable
(package private) final ItemProxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) boolean
isUsingNonRemovableItem
(Set<ItemProxy> itemsToRemove) Check if all using items of the main items is found among the 'itemsToRemove'.
-
Field Details
-
item
-
proxy
-
usingItems
-
-
Constructor Details
-
CircularRefInfo
-
-
Method Details
-
isUsingNonRemovableItem
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
-