Class AbstractProvider
- java.lang.Object
-
- hu.icellmobilsoft.coffee.model.base.AbstractProvider
-
- Direct Known Subclasses:
AuditProvider,TimestampsProvider
public abstract class AbstractProvider extends Object
Abstract class of providers.- Since:
- 2.0.0
- Author:
- zsolt.vasi
-
-
Constructor Summary
Constructors Constructor Description AbstractProvider()Default constructor, constructs a new object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.commons.lang3.tuple.Pair<List<Field>,List<Method>>getAllFieldsAndMethods(Class<?> clazz)Returns all the fields and methods of the specified class in a pair of listsprotected FieldgetFieldByMethod(Method method, List<Field> allFields)Returns the field from the specified list associated with the specified getter method based on its name
-
-
-
Method Detail
-
getFieldByMethod
protected Field getFieldByMethod(Method method, List<Field> allFields)
Returns the field from the specified list associated with the specified getter method based on its name- Parameters:
method- the getter methodallFields- list of fields- Returns:
- the associated field
-
-