Interface IEntityFieldExtractor
- All Known Implementing Classes:
EntityFieldExtractor
public interface IEntityFieldExtractor
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescription<F extends Field>
ExtendedIterable<F> extractStoredFieldsFromEntity(Object entity, Class<F> fieldClass)
-
Method Details
-
extractStoredFieldsFromEntity
<F extends Field> ExtendedIterable<F> extractStoredFieldsFromEntity(Object entity, Class<F> fieldClass) - Type Parameters:
F- the type of theFields that will be extract from the given entity- Parameters:
entity-fieldClass-- Returns:
- the
Fields from the given entity. - Throws:
RuntimeException- if the given entity is null.RuntimeException- if the given fieldClass is null.
-