public abstract class ObjectFilterRelation extends ObjectFilterPredicate
Constructor and Description |
---|
ObjectFilterRelation() |
Modifier and Type | Method and Description |
---|---|
protected void |
end() |
RelationBean |
getRelation() |
protected boolean |
match(ObjectMask object,
Optional<Dimensions> dimensions)
A predicate condition for an object to be kept in the collection
|
protected abstract boolean |
match(ObjectMask object,
Optional<Dimensions> dim,
DoubleBiPredicate relation) |
protected boolean |
precondition(ObjectCollection objectsToFilter)
A precondition, which if evaluates to false, cancels the filter i.e.
|
void |
setRelation(RelationBean relation) |
protected void |
start(Optional<Dimensions> dimensions,
ObjectCollection objectsToFilter) |
filter
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected boolean precondition(ObjectCollection objectsToFilter)
ObjectFilterPredicate
precondition
in class ObjectFilterPredicate
protected void start(Optional<Dimensions> dimensions, ObjectCollection objectsToFilter) throws OperationFailedException
start
in class ObjectFilterPredicate
OperationFailedException
protected boolean match(ObjectMask object, Optional<Dimensions> dimensions) throws OperationFailedException
ObjectFilterPredicate
match
in class ObjectFilterPredicate
OperationFailedException
protected abstract boolean match(ObjectMask object, Optional<Dimensions> dim, DoubleBiPredicate relation) throws OperationFailedException
OperationFailedException
protected void end() throws OperationFailedException
end
in class ObjectFilterPredicate
OperationFailedException
public RelationBean getRelation()
public void setRelation(RelationBean relation)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.