Dan Haywood created ISIS-1612:
---------------------------------

             Summary: 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.15.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)

Reply via email to