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.git

commit 3afab4d3f4a0a361fce18b8c42c3457713976bcf
Author: danhaywood <[email protected]>
AuthorDate: Tue May 16 11:12:15 2023 +0100

    CAUSEWAY-2485: prototypes changes to primitive datatype page
---
 .../shorts/PrimitiveShorts-description.adoc        | 23 ++++++++++------------
 .../shorts/jpa/PrimitiveShortJpa-description.adoc  |  2 +-
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git 
a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/PrimitiveShorts-description.adoc
 
b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/PrimitiveShorts-description.adoc
index e9537f013a..c6769c1a1b 100644
--- 
a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/PrimitiveShorts-description.adoc
+++ 
b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/PrimitiveShorts-description.adoc
@@ -3,29 +3,26 @@
 // // This file was GENERATED by the showcase generator (tooling). Do NOT edit!
 
 The framework has built-in support for the (primitive) `short` data type.
+These can be used either in entities or view models.
 
-From here you can:
+== How this demo works
 
-* navigate to an entity that uses the `short` datatype
-* open a view model that uses the `short` datatype
+On the left hand side is a collection of entities that uses the `short` 
datatype.
+There is also an action that opens a view model; this view model also uses the 
`short` datatype.
 
-Because `short` is a primitive value, the properties on these domain objects 
are mandatory.
+Navigate into the entity or view model to see the datatype used as a property, 
an action parameter and as a return type of collections.
 
-== Common interfaces
+=== Implementation Notes
 
-The entity and view model types both implement some common interfaces.
-
-=== PrimitiveShortHolder
-
-The `PrimitiveShortHolder` interface is used to contribute a number of mixins 
to both types:
+The entity and view model types both implement some common interfaces:
 
+* The `PrimitiveShortHolder` interface is used to contribute a number of 
mixins to both types:
++
 [source,java]
 ----
 include::holder/PrimitiveShortHolder.java[tags=class]
 ----
 
-=== PrimitiveShortHolder2
+* The `PrimitiveShortHolder2` interface is used to demonstrate support for 
label positions using `@PropertyLayout(labelPosition=...)`.
 
-The `PrimitiveShortHolder2` interface is used to demonstrate support for label 
positions using `@PropertyLayout(labelPosition=...)`.
 
-Further details, along with the effect of this annotation, can be seen on the 
entity and view model object pages.
diff --git 
a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/jpa/PrimitiveShortJpa-description.adoc
 
b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/jpa/PrimitiveShortJpa-description.adoc
index 5fbbe13848..541b290f9f 100644
--- 
a/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/jpa/PrimitiveShortJpa-description.adoc
+++ 
b/examples/demo/domain/src/main/java/demoapp/dom/types/primitive/shorts/jpa/PrimitiveShortJpa-description.adoc
@@ -2,7 +2,7 @@
 
 // // This file was GENERATED by the showcase generator (tooling). Do NOT edit!
 
-JDO supports `short` out-of-the-box, so no special annotations are required. 
see 
link:https://www.objectdb.com/java/jpa/entity/types#simple_java_data_types[ObjectDB]
+JPA supports `short` out-of-the-box, so no special annotations are required. 
see 
link:https://www.objectdb.com/java/jpa/entity/types#simple_java_data_types[ObjectDB]
 
 [source,java]
 ----

Reply via email to