public class FirstResultFilter extends Object implements ResultFilter
| Constructor and Description |
|---|
FirstResultFilter() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<Entity> |
filterResults(Iterable<Entity> results,
Entity annotatedEntity,
boolean updateMode) |
Collection<Attribute> |
getRequiredAttributes() |
public Collection<Attribute> getRequiredAttributes()
getRequiredAttributes in interface EntityProcessorCollection of atomic Attribute that must be present in the annotated
Entity.public com.google.common.base.Optional<Entity> filterResults(Iterable<Entity> results, Entity annotatedEntity, boolean updateMode)
filterResults in interface ResultFilterCopyright © 2017. All rights reserved.