Package main.repository
Interface Repository.RepositoryRule<ModelObject>
- Type Parameters:
ModelObject
- the type of model object stored in the repository
- Enclosing class:
Repository<ModelObject extends Model>
public static interface Repository.RepositoryRule<ModelObject>
Provides a rule for filtering model objects in the repository.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isMatch
(ModelObject modelObject) Checks whether the specified model object matches the rule.
-
Method Details
-
isMatch
Checks whether the specified model object matches the rule.- Parameters:
modelObject
- the model object to check- Returns:
- true if the model object matches the rule, false otherwise
-