You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/04/13 21:49:07 UTC

[isis-app-helloworld] 02/03: updates to @PropertyLayout(fieldSet=)

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-helloworld.git

commit 835b934a5374e806f84bb5fe094716c82d34b36b
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Apr 13 19:21:29 2021 +0100

    updates to @PropertyLayout(fieldSet=)
---
 src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
index 5ccce46..6f43512 100644
--- a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
+++ b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.java
@@ -11,7 +11,7 @@ import org.apache.isis.applib.annotation.Action;
 import org.apache.isis.applib.annotation.ActionLayout;
 import org.apache.isis.applib.annotation.DomainObject;
 import org.apache.isis.applib.annotation.DomainObjectLayout;
-import org.apache.isis.applib.annotation.MemberOrder;
+import org.apache.isis.applib.annotation.PropertyLayout;
 import org.apache.isis.applib.annotation.Publishing;
 import org.apache.isis.applib.annotation.SemanticsOf;
 import org.apache.isis.applib.services.message.MessageService;
@@ -48,7 +48,7 @@ public class HelloWorldObject implements Comparable<HelloWorldObject> {
     }
 
     @Name
-    @MemberOrder(name = "identity", sequence = "1")
+    @PropertyLayout(fieldSetId = "identity", sequence = "1")
     private String name;
     public String getName() {
         return name;
@@ -58,7 +58,7 @@ public class HelloWorldObject implements Comparable<HelloWorldObject> {
     }
 
     @Notes
-    @MemberOrder(name = "details", sequence = "1")
+    @PropertyLayout(fieldSetId = "details", sequence = "1")
     private String notes;
     public String getNotes() {
         return notes;