Description
Often a POJO is used to hold data in a Java program. And a Pivot Prompt can be used to input values. This proposed class is an extension of a plain Prompt that iterates through the accessible fields and getter/setter methods of a POJO and generates a dynamic Prompt to display and set the values of the given object. This is a convenience class that encapsulates a lot of work involved in automatically generating such an input form, including validators.
I have done a similar thing in our application, and it can be quite effective for rapidly developing or prototyping an application.