Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2652

Add constructor with fields to generated beans

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      Automatically generate constructors with fields for generated beans. For instance:

      declare Person
      name : String @key
      age : int @key
      address : Address
      end

      For the above Person bean, generate:

      • default constructor:

      public Person()

      {...}

      * constructor with key fields:

      public Person( String name, int age ) {...}
      • constructor with all fields:

      public Person( String name, int age, Address address )

      {...}

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            etirelli@redhat.com Edson Tirelli
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty