Interface RecordCompletePredicate
public interface RecordCompletePredicate
A predicate to be used when obtaining a complex record field-by-field from an external source.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RecordCompletePredicateThe default predicate just tells if the field is already in values. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisComplete(Map<String, Object> values, String field) Returns whether a record with given field-value mapping can be considered to be complete when readingfieldwithout field being yet added tovalues.
-
Field Details
-
DEFAULT
The default predicate just tells if the field is already in values.
-
-
Method Details
-
isComplete
Returns whether a record with given field-value mapping can be considered to be complete when readingfieldwithout field being yet added tovalues.- Parameters:
values- the values to testfield- the name of the field being in processing- Returns:
truefor complete,falsefor incomplete
-