I am using kundera to define my data model which will be stored in hbase. There is a class called "Task" which should have a generic type of submission like so:
public class Task {
...
Object submission;
}
The submission could be of any type since I want to keep it generic.
So my question is: 1. Is the above method a good practice? Will it work? 2. What is the best way to achieve this?