...
Code Block | ||
---|---|---|
| ||
@Action public class Customer_placeOrder extends ActionDomainEvent<Customer> { // ??? this looks very odd private final Customer target; // target ... @Parameter() @MemberOrder(1) // supporting methods support Product product; @Parameter() @MemberOrder(2) int quantity; @Action(domainEvent = Customer_placeOrder.class) // ??? I wonder if this is valid syntactically public Customer act() { ... } // execution ??? these methods would be available to the subscriber public boolean hideAct() { ... } // supporting methods ??? these methods would be available to the subscriber public String disableAct() { ... } public String disable1Act() { ... } public Collection<Product> choices0Act() { ... } public Product default0Act() { ... } public int default1Act() { ... } public String validate1Act() { ... } public String validateAct() { ... } } |
...