Mod4j: Modeling for Java using Domain Specific Languages

Add indexed 'addTo' and 'removeFrom' methods to DTO and service layers.

Details

  • Number of attachments :
    0

Description

Add 'addTo<target>(index, element', 'removeFrom<target>(index>' and 'set<target>(index, element)' methods to DTO's with references, and similar methods to the service classes in business- and servicelayer.

The attribute 'Association.ordered' must be added to the crossx metamodel to be able to distinguish between Sets and Lists for the implementation of the DTO's.

Activity

Hide
Jos Warmer added a comment -

Solved, also chnaged the order of parameters in the addTo() operations. This was addTo(part, whole) and has changed to addTo(whole, part).

Show
Jos Warmer added a comment - Solved, also chnaged the order of parameters in the addTo() operations. This was addTo(part, whole) and has changed to addTo(whole, part).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: