Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-943

Create POJOPrompt as a quick way to input values for a Plain-Old Java Object

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1
    • 2.1
    • wtk, wtk-terra
    • None
    • All

    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.

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: