List of all members.
Detailed Description
An access adapter for IHierarchicalCategory-annotations.
Note: This interface contains an IAccessAdapterTest which can be run by Tesla's JUnit-Component. Developers who re-implement this interface should run this component to validate their implementation.
- Author:
- sschwieb
- Parameters:
-
Method Details
| List<Annotation<T> > getCategoriesByValues |
( |
Range |
range, |
|
|
Order |
order, |
|
|
int |
minSubCategoryMatches, |
|
|
String |
mainCategory, |
|
|
String... |
subCategories |
|
) |
| |
Returns all annotations which match the given Range, sorted by Order, which match the given mainCategory such that IHierarchicalCategory#getCategory().equals(mainCategory) and which further match the given categories via IHierarchicalCategory#getSubCategories().contains(category). If at least minMatches of the subCategories of an annotation match, the annotation is returned. If mainCategory isnull, only subCategories are analyzed. If range is null, all annotations of all signals are returned. If order is null, the order of the returned elements is unspecified. If no matching annotations were found, an empty list is returned. Never returns null.
- Parameters:
-
| range | the range to search in |
| order | the order of the returned elements |
| categories | the list of categories to search |
- Returns:
- the list of matching annotations