This abstract class implements the Parameterized interface to ease the development of simple Data Transforms. If a more complicated set of parameters is needed then what is obtained from Parameter#getParamsFromMethods(java.lang.Object) than there is no reason to use this class. @author Edw
| 14 | * @author Edward Raff |
| 15 | */ |
| 16 | abstract public class DataTransformBase implements DataTransform, Parameterized |
| 17 | { |
| 18 | |
| 19 | @Override |
| 20 | public List<Parameter> getParameters() |
| 21 | { |
| 22 | return Parameter.getParamsFromMethods(this); |
| 23 | } |
| 24 | |
| 25 | @Override |
| 26 | public Parameter getParameter(String paramName) |
| 27 | { |
| 28 | return Parameter.toParameterMap(getParameters()).get(paramName); |
| 29 | } |
| 30 | |
| 31 | @Override |
| 32 | abstract public DataTransform clone(); |
| 33 | |
| 34 | } |
nothing calls this directly
no outgoing calls
no test coverage detected