You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/11/26 17:45:00 UTC

[jira] [Commented] (ISIS-2469) Remove Annotations ViewModel, ViewModelLayout and Mixin

    [ https://issues.apache.org/jira/browse/ISIS-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239374#comment-17239374 ] 

ASF subversion and git services commented on ISIS-2469:
-------------------------------------------------------

Commit e0702c6a8f4fa114d3d6bdcd2502bfc25e6fc82d in isis's branch refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=e0702c6 ]

ISIS-2469: Remove Mixin annotation

> Remove Annotations ViewModel, ViewModelLayout and Mixin
> -------------------------------------------------------
>
>                 Key: ISIS-2469
>                 URL: https://issues.apache.org/jira/browse/ISIS-2469
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Applib (programming model)
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>
> ViewModel, ViewModelLayout and Mixin are aliases already covered by DomainObject and DomainObjectLayout.
> And for @DomainObject(nature=...), as we are now more precise on the term "entity", we should remove EXTERNAL_ENTITY and INMEMORY_ENTITY.
> With support for meta annotations, users should be able to create their own drop in replacements. eg.
> {code:java}
> @Inherited
> @Target({ ElementType.TYPE })
> @Retention(RetentionPolicy.RUNTIME)
> @DomainObject(nature=MIXIN, mixinMethod="act")
> public @interface Mixin {
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)