Daniel Keir Haywood created ISIS-2774:
-----------------------------------------

             Summary: If possible, remove requirement for public getters and 
setters (Isis, JDO and JPA).  Ditto for supporting methods - they can have any 
visibility, but if so must be annotated with @MemberSupport
                 Key: ISIS-2774
                 URL: https://issues.apache.org/jira/browse/ISIS-2774
             Project: Isis
          Issue Type: Improvement
          Components: Isis Core
    Affects Versions: 2.0.0-M5
            Reporter: Daniel Keir Haywood
             Fix For: 2.0.0-M6


Our definition of a property or collection should be _either_ with a publicly 
available getter or setter, or a field annotated with @Property or @Collection.

See this blog 
[https://thorben-janssen.com/access-strategies-in-jpa-and-hibernate/] for 
reasons as to why this is also recommended for ORMs (JPA in this case).

Our definition of a supporting method is either one with public visibility or 
with some other visibility but annotated with @MemberSupport.



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

Reply via email to