A generic object is a way to pass any object to a java action. This is for example used in the mail module to pass an object that this used to get tokenvalues from.
You can not return a generic object from a microflow because Mendix microflows are strongly typed. Object inheritance is an alternative, in combination with casting.