Package uk.co.jemos.podam.api
Class ObjectStrategy
- java.lang.Object
-
- uk.co.jemos.podam.api.ObjectStrategy
-
- All Implemented Interfaces:
AttributeStrategy<Object>
public class ObjectStrategy extends Object implements AttributeStrategy<Object>
A default Object strategy, just to provide a default toPodamCollection.collectionElementStrategy().- Author:
- mtedone
-
-
Constructor Summary
Constructors Constructor Description ObjectStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetValue(Class<?> attrType, List<Annotation> attrAnnotations)It returns a value of the given type
-
-
-
Method Detail
-
getValue
public Object getValue(Class<?> attrType, List<Annotation> attrAnnotations)
It returns a value of the given type- Specified by:
getValuein interfaceAttributeStrategy<Object>- Parameters:
attrType- an attribute's typeattrAnnotations- list of annotations attached to an attribute- Returns:
- A value of the given type
-
-