![]() ![]() ![]() |

Flat | Previous Topic | Next Topic |
Poster | Thread |
---|---|
xenocide | Posted on: 2012/10/15 15:46 |
Just popping in ![]() ![]() Joined: 2012/9/4 From: Posts: 15 |
rapidly create operations/attributes part2 As a preface, I am using Astah to model Perl software built with the Moose object system. Perl has no programmatic-ally enforced encapsulation, and Moose attributes can automatically create getters and setters depending on setting read-only, read-write, or bare (none).
I notice that Astah has the ability to create getter/setter from an attribute, this seems neat, but I have the problem that it uses Java-esque naming conventions. Perl's naming conventions are completely different. Generally with moose I leave my getter/setter to have the same name as the attribute. Can I change the template Astah uses to create these names? Even better can I set it so that when I create an attribute it automatically creates an appropriately named getter? |
Flat | Previous Topic | Next Topic |
Subject | Poster | Date |
---|---|---|
» ![]() |
xenocide | 2012/10/15 15:46 |
![]() |
Joba | 2012/10/16 15:58 |
