You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2017/06/02 13:16:04 UTC

[jira] [Updated] (ISIS-1612) Extend the programming model so that mixins can have multiple actions

     [ https://issues.apache.org/jira/browse/ISIS-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-1612:
------------------------------
    Fix Version/s:     (was: 1.15.0)
                   1.18.0

> Extend the programming model so that mixins can have multiple actions
> ---------------------------------------------------------------------
>
>                 Key: ISIS-1612
>                 URL: https://issues.apache.org/jira/browse/ISIS-1612
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.14.0
>            Reporter: Dan Haywood
>             Fix For: 1.18.0
>
>
> I see this as a hybrid of a contributed service and a mixin.
> I quite like the idea of calling these "responsibilities", eg
> {code}
> @Responsibility
> public class Customer_orders {
>     private final Customer customer;
>     public List<Order> getOrders() { ... }
>     public Customer addOrder(...) { ... }
>     public Customer removeOrder(...) { ... }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)