0 Replies Latest reply on Jan 25, 2008 2:02 PM by dsimpson_cs3

    POJO to actionscript class converter  ?

    dsimpson_cs3
      Does anyone know of a simple POJO to AS3 class converter exists? If not, I guess I'll get started.

      I'm talking about only regenerating members, getters, and setters (from a pure POJO, of course).

      /* Java */
      public class User {
      private String firstName;

      public String getFirstName() {
      return firstName;
      }
      }


      /* AS3 */
      public class User {
      var firstName:String;

      public function getFirstName() : String {
      return firstName;
      }
      }