Story #29283
As a developer I want to be able to delete default methods if I don't need them
| Status: | Resolved | Start date: | 2011-08-26 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Nico de Haen | % Done: | 100% |
|
| Category: | Code Creation | |||
| Target version: | 2.1 | |||
| Story points | - | |||
| Velocity based estimate | - | |||
| Remaining hours | ||||
| Votes: | 0 |
Description
This means, that efault methods should only be added on first save
Currently it is not possible, to remove (as example) a setter method for a property that is not needed. It will be recreated each time you save you model again. We should implement some "new" flag in code ceation process, to add the default methods only the first time the related property or relation is added. Thus it would be possible to remove methods manually in the code, and the extension builder won't recreate them.
Associated revisions
[TASK] Create methods only when properties are new
Property related methods should only be created the first time a property is added
This enables to remove methods also
Resolves #29283
Change-Id: Ic6344e38fc78bf429419ecd3b14da92cf9a174ad
History
Updated by Nico de Haen over 1 year ago
- Tracker changed from Bug to Task
Updated by Nico de Haen over 1 year ago
- Target version set to 2.1
Updated by Nico de Haen over 1 year ago
- Tracker changed from Task to Story
- Subject changed from Default methods should only be added on first save to As a developer I want to be able to delete default methods if I don't need them
Updated by Nico de Haen over 1 year ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset d7a0b037469489a76303a8c2804fec12a40bdef7.