You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2023/07/14 12:41:31 UTC

[causeway-app-referenceapp] 02/03: adds a @DescribedAs, is all

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

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway-app-referenceapp.git

commit c7cb9afe252f575aeda3a26e7e022c368efec06a
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jul 14 13:09:25 2023 +0100

    adds a @DescribedAs, is all
---
 .../demoapp/dom/types/primitive/longs/PrimitiveLongs.java    | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/domain/src/main/java/demoapp/dom/types/primitive/longs/PrimitiveLongs.java b/domain/src/main/java/demoapp/dom/types/primitive/longs/PrimitiveLongs.java
index c6c0471..333e460 100644
--- a/domain/src/main/java/demoapp/dom/types/primitive/longs/PrimitiveLongs.java
+++ b/domain/src/main/java/demoapp/dom/types/primitive/longs/PrimitiveLongs.java
@@ -28,16 +28,7 @@ import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlTransient;
 import javax.xml.bind.annotation.XmlType;
 
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.Collection;
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Nature;
-import org.apache.causeway.applib.annotation.ObjectSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
+import org.apache.causeway.applib.annotation.*;
 
 import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
 import demoapp.dom._infra.values.ValueHolderRepository;
@@ -50,6 +41,7 @@ import demoapp.dom.types.primitive.longs.vm.PrimitiveLongVm;
 @XmlAccessorType(XmlAccessType.FIELD)
 @Named("demo.PrimitiveLongs")
 @DomainObject(nature=Nature.VIEW_MODEL, editing=Editing.ENABLED)
+@DomainObjectLayout(describedAs = "Demonstrates the use of the long primitive data type in both entities and view models")
 //@Log4j2
 public class PrimitiveLongs implements HasAsciiDocDescription {