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/06/16 22:53:35 UTC
[causeway] 09/09: CAUSEWAY-3395: removes java.time classes, as replaced.
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 9f0d330f47a36bcb2d5935c78bbfd8d9a28feda5
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jun 16 23:43:57 2023 +0100
CAUSEWAY-3395: removes java.time classes, as replaced.
But also adds references to new bugs for offset time entry
---
.../src/main/java/demoapp/dom/DemoModuleJpa.java | 27 +++---
.../ValueSemantics/timezoneTranslation/readme.txt | 14 +++
.../vegas/CausewayVegas-description.adoc | 2 +
.../holder/JavaTimeLocalDateHolder.java | 40 --------
.../holder/JavaTimeLocalDateHolder2.java | 74 ---------------
.../holder/JavaTimeLocalDateHolder3.java | 65 -------------
.../JavaTimeLocalDateHolder_actionReturning.java | 39 --------
...eLocalDateHolder_actionReturningCollection.java | 50 ----------
.../JavaTimeLocalDateHolder_mixinProperty.java | 41 ---------
...lDateHolder_updateReadOnlyOptionalProperty.java | 58 ------------
...TimeLocalDateHolder_updateReadOnlyProperty.java | 53 -----------
...teHolder_updateReadOnlyPropertyWithChoices.java | 68 --------------
.../jdo/JavaTimeLocalDateJdo-description.adoc | 18 ----
.../jdo/JavaTimeLocalDateJdo.java | 83 -----------------
.../jdo/JavaTimeLocalDateJdoEntities.java | 40 --------
.../jpa/JavaTimeLocalDateJpa-description.adoc | 23 -----
.../jpa/JavaTimeLocalDateJpa.java | 95 -------------------
.../jpa/JavaTimeLocalDateJpaEntities.java | 40 --------
.../persistence/JavaTimeLocalDateEntity.java | 42 ---------
.../persistence/JavaTimeLocalDateEntity.layout.xml | 60 ------------
.../persistence/JavaTimeLocalDateSeeding.java | 37 --------
.../holder/JavaTimeLocalDateTimeHolder.java | 40 --------
.../holder/JavaTimeLocalDateTimeHolder2.java | 74 ---------------
.../holder/JavaTimeLocalDateTimeHolder3.java | 65 -------------
...avaTimeLocalDateTimeHolder_actionReturning.java | 39 --------
...alDateTimeHolder_actionReturningCollection.java | 50 ----------
.../JavaTimeLocalDateTimeHolder_mixinProperty.java | 41 ---------
...eTimeHolder_updateReadOnlyOptionalProperty.java | 58 ------------
...LocalDateTimeHolder_updateReadOnlyProperty.java | 53 -----------
...meHolder_updateReadOnlyPropertyWithChoices.java | 68 --------------
.../jdo/JavaTimeLocalDateTimeJdo-description.adoc | 18 ----
.../jdo/JavaTimeLocalDateTimeJdo.java | 83 -----------------
.../jdo/JavaTimeLocalDateTimeJdoEntities.java | 40 --------
.../jpa/JavaTimeLocalDateTimeJpa-description.adoc | 23 -----
.../jpa/JavaTimeLocalDateTimeJpa.java | 95 -------------------
.../jpa/JavaTimeLocalDateTimeJpaEntities.java | 40 --------
.../persistence/JavaTimeLocalDateTimeEntity.java | 42 ---------
.../JavaTimeLocalDateTimeEntity.layout.xml | 60 ------------
.../persistence/JavaTimeLocalDateTimeSeeding.java | 37 --------
.../holder/JavaTimeLocalTimeHolder.java | 40 --------
.../holder/JavaTimeLocalTimeHolder2.java | 74 ---------------
.../holder/JavaTimeLocalTimeHolder3.java | 65 -------------
.../JavaTimeLocalTimeHolder_actionReturning.java | 39 --------
...eLocalTimeHolder_actionReturningCollection.java | 50 ----------
.../JavaTimeLocalTimeHolder_mixinProperty.java | 41 ---------
...lTimeHolder_updateReadOnlyOptionalProperty.java | 58 ------------
...TimeLocalTimeHolder_updateReadOnlyProperty.java | 53 -----------
...meHolder_updateReadOnlyPropertyWithChoices.java | 68 --------------
.../jdo/JavaTimeLocalTimeJdo-description.adoc | 18 ----
.../jdo/JavaTimeLocalTimeJdo.java | 83 -----------------
.../jdo/JavaTimeLocalTimeJdoEntities.java | 40 --------
.../jpa/JavaTimeLocalTimeJpa-description.adoc | 23 -----
.../jpa/JavaTimeLocalTimeJpa.java | 95 -------------------
.../jpa/JavaTimeLocalTimeJpaEntities.java | 40 --------
.../persistence/JavaTimeLocalTimeEntity.java | 42 ---------
.../persistence/JavaTimeLocalTimeEntity.layout.xml | 60 ------------
.../persistence/JavaTimeLocalTimeSeeding.java | 37 --------
.../OffsetDateTimes-description.adoc | 2 +
.../holder/JavaTimeOffsetDateTimeHolder.java | 40 --------
.../holder/JavaTimeOffsetDateTimeHolder2.java | 74 ---------------
.../holder/JavaTimeOffsetDateTimeHolder3.java | 65 -------------
.../holder/JavaTimeOffsetDateTimeHolder4.java | 54 -----------
...vaTimeOffsetDateTimeHolder_actionReturning.java | 39 --------
...etDateTimeHolder_actionReturningCollection.java | 50 ----------
...JavaTimeOffsetDateTimeHolder_mixinProperty.java | 41 ---------
...eTimeHolder_updateReadOnlyOptionalProperty.java | 58 ------------
...ffsetDateTimeHolder_updateReadOnlyProperty.java | 53 -----------
...meHolder_updateReadOnlyPropertyWithChoices.java | 68 --------------
.../jdo/JavaTimeOffsetDateTimeJdo-description.adoc | 18 ----
.../jdo/JavaTimeOffsetDateTimeJdo.java | 88 ------------------
.../jdo/JavaTimeOffsetDateTimeJdoEntities.java | 40 --------
.../jpa/JavaTimeOffsetDateTimeJpa-description.adoc | 23 -----
.../jpa/JavaTimeOffsetDateTimeJpa.java | 100 --------------------
.../jpa/JavaTimeOffsetDateTimeJpaEntities.java | 40 --------
.../persistence/JavaTimeOffsetDateTimeEntity.java | 42 ---------
.../JavaTimeOffsetDateTimeEntity.layout.xml | 61 ------------
.../persistence/JavaTimeOffsetDateTimeSeeding.java | 37 --------
.../OffsetTimes-description.adoc | 2 +
.../holder/JavaTimeOffsetTimeHolder.java | 40 --------
.../holder/JavaTimeOffsetTimeHolder2.java | 74 ---------------
.../holder/JavaTimeOffsetTimeHolder3.java | 65 -------------
.../holder/JavaTimeOffsetTimeHolder4.java | 54 -----------
.../JavaTimeOffsetTimeHolder_actionReturning.java | 39 --------
...OffsetTimeHolder_actionReturningCollection.java | 50 ----------
.../JavaTimeOffsetTimeHolder_mixinProperty.java | 41 ---------
...tTimeHolder_updateReadOnlyOptionalProperty.java | 58 ------------
...imeOffsetTimeHolder_updateReadOnlyProperty.java | 53 -----------
...meHolder_updateReadOnlyPropertyWithChoices.java | 68 --------------
.../jdo/JavaTimeOffsetTimeJdo-description.adoc | 18 ----
.../jdo/JavaTimeOffsetTimeJdo.java | 88 ------------------
.../jdo/JavaTimeOffsetTimeJdoEntities.java | 40 --------
.../jpa/JavaTimeOffsetTimeJpa-description.adoc | 23 -----
.../jpa/JavaTimeOffsetTimeJpa.java | 100 --------------------
.../jpa/JavaTimeOffsetTimeJpaEntities.java | 40 --------
.../persistence/JavaTimeOffsetTimeEntity.java | 42 ---------
.../JavaTimeOffsetTimeEntity.layout.xml | 61 ------------
.../persistence/JavaTimeOffsetTimeSeeding.java | 37 --------
.../ZonedDateTimes-description.adoc | 3 +
.../holder/JavaTimeZonedDateTimeHolder.java | 40 --------
.../holder/JavaTimeZonedDateTimeHolder2.java | 74 ---------------
.../holder/JavaTimeZonedDateTimeHolder3.java | 65 -------------
.../holder/JavaTimeZonedDateTimeHolder4.java | 54 -----------
...avaTimeZonedDateTimeHolder_actionReturning.java | 39 --------
...edDateTimeHolder_actionReturningCollection.java | 50 ----------
.../JavaTimeZonedDateTimeHolder_mixinProperty.java | 41 ---------
...eTimeHolder_updateReadOnlyOptionalProperty.java | 58 ------------
...ZonedDateTimeHolder_updateReadOnlyProperty.java | 53 -----------
...meHolder_updateReadOnlyPropertyWithChoices.java | 68 --------------
.../jdo/JavaTimeZonedDateTimeJdo-description.adoc | 19 ----
.../jdo/JavaTimeZonedDateTimeJdo.java | 90 ------------------
.../jdo/JavaTimeZonedDateTimeJdoEntities.java | 40 --------
.../jpa/JavaTimeZonedDateTimeJpa-description.adoc | 24 -----
.../jpa/JavaTimeZonedDateTimeJpa.java | 102 ---------------------
.../jpa/JavaTimeZonedDateTimeJpaEntities.java | 40 --------
.../persistence/JavaTimeZonedDateTimeEntity.java | 42 ---------
.../JavaTimeZonedDateTimeEntity.layout.xml | 61 ------------
.../persistence/JavaTimeZonedDateTimeSeeding.java | 37 --------
.../vm/JavaTimeZonedDateTimeVm-description.adoc | 18 ----
.../vm/JavaTimeZonedDateTimeVm.java | 95 -------------------
.../vm/JavaTimeZonedDateTimeVm.layout.xml | 61 ------------
120 files changed, 37 insertions(+), 5944 deletions(-)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/DemoModuleJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/DemoModuleJpa.java
index f23aecc550..a614cb7176 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/DemoModuleJpa.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/DemoModuleJpa.java
@@ -85,14 +85,15 @@ import demoapp.dom.types.javalang.shorts.jpa.WrapperShortJpa;
import demoapp.dom.types.javalang.strings.jpa.JavaLangStringJpa;
import demoapp.dom.types.javamath.bigdecimals.jpa.BigDecimalJpa;
import demoapp.dom.types.javamath.bigintegers.jpa.BigIntegerJpa;
+import demoapp.dom.types.javanet.urls.jpa.UrlJpa;
import demoapp.dom.types.javasql.javasqldate.jpa.JavaSqlDateJpa;
import demoapp.dom.types.javasql.javasqltimestamp.jpa.JavaSqlTimestampJpa;
-import demoapp.dom.types.javatime.javatimelocaldate.jpa.JavaTimeLocalDateJpa;
-import demoapp.dom.types.javatime.javatimelocaldatetime.jpa.JavaTimeLocalDateTimeJpa;
-import demoapp.dom.types.javatime.javatimelocaltime.jpa.JavaTimeLocalTimeJpa;
-import demoapp.dom.types.javatime.javatimeoffsetdatetime.jpa.JavaTimeOffsetDateTimeJpa;
-import demoapp.dom.types.javatime.javatimeoffsettime.jpa.JavaTimeOffsetTimeJpa;
-import demoapp.dom.types.javatime.javatimezoneddatetime.jpa.JavaTimeZonedDateTimeJpa;
+import demoapp.dom.types.javatime.javatimelocaldate.jpa.LocalDateJpa;
+import demoapp.dom.types.javatime.javatimelocaldatetime.jpa.LocalDateTimeJpa;
+import demoapp.dom.types.javatime.javatimelocaltime.jpa.LocalTimeJpa;
+import demoapp.dom.types.javatime.javatimeoffsetdatetime.jpa.OffsetDateTimeJpa;
+import demoapp.dom.types.javatime.javatimeoffsettime.jpa.OffsetTimeJpa;
+import demoapp.dom.types.javatime.javatimezoneddatetime.jpa.ZonedDateTimeJpa;
import demoapp.dom.types.javautil.javautildate.jpa.JavaUtilDateJpa;
import demoapp.dom.types.javautil.uuids.jpa.JavaUtilUuidJpa;
import demoapp.dom.types.jodatime.jodadatetime.jpa.JodaDateTimeJpa;
@@ -173,15 +174,15 @@ import demoapp.dom.types.primitive.shorts.jpa.PrimitiveShortJpa;
BigDecimalJpa.class,
BigIntegerJpa.class,
- JavaNetUrlJpa.class,
+ UrlJpa.class,
JavaSqlDateJpa.class,
JavaSqlTimestampJpa.class,
- JavaTimeLocalTimeJpa.class,
- JavaTimeLocalDateJpa.class,
- JavaTimeLocalDateTimeJpa.class,
- JavaTimeOffsetDateTimeJpa.class,
- JavaTimeOffsetTimeJpa.class,
- JavaTimeZonedDateTimeJpa.class,
+ LocalTimeJpa.class,
+ LocalDateJpa.class,
+ LocalDateTimeJpa.class,
+ OffsetDateTimeJpa.class,
+ OffsetTimeJpa.class,
+ ZonedDateTimeJpa.class,
JavaUtilDateJpa.class,
JavaUtilUuidJpa.class,
JodaDateTimeJpa.class,
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/properties/ValueSemantics/timezoneTranslation/readme.txt b/examples/demo/domain/src/main/java/demoapp/dom/domain/properties/ValueSemantics/timezoneTranslation/readme.txt
new file mode 100644
index 0000000000..b12f60b9bc
--- /dev/null
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/properties/ValueSemantics/timezoneTranslation/readme.txt
@@ -0,0 +1,14 @@
+add demo to show that the rendered timezone of `OffsetDateTime`, `OffsetTime` and `ZonedDateTime` can be controlled using `@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)`
+
+eg
+
+ @Property
+ @ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)
+ @PropertyLayout(
+ describedAs = "@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)",
+ labelPosition = LabelPosition.TOP,
+ hidden = Where.ALL_TABLES,
+ fieldSetId = "time-zone-translation", sequence = "1")
+ default java.time.OffsetDateTime getReadOnlyPropertyNoTimeZoneTranslation() {
+ return getReadOnlyProperty();
+ }
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/causewayval/vegas/CausewayVegas-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/causewayval/vegas/CausewayVegas-description.adoc
index a4ee393a7a..17c73dfba6 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/causewayval/vegas/CausewayVegas-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/causewayval/vegas/CausewayVegas-description.adoc
@@ -5,6 +5,8 @@ These can be used either in entities or view models.
NOTE: This is an Apache Causeway specific data type.
+WARNING: vega types are currently not being rendered correctly as graphics; being tracked under https://issues.apache.org/jira/browse/CAUSEWAY-3488[CAUSEWAY-3488].
+
== How this demo works
On the left hand side is a collection of entities that uses the `Vega` datatype.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder.java
deleted file mode 100644
index eb568c597f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import javax.inject.Named;
-
-@Named("demo.JavaTimeLocalDateHolder")
-//tag::class[]
-public interface JavaTimeLocalDateHolder {
-
- java.time.LocalDate getReadOnlyProperty();
- void setReadOnlyProperty(java.time.LocalDate c);
-
- java.time.LocalDate getReadWriteProperty();
- void setReadWriteProperty(java.time.LocalDate c);
-
- java.time.LocalDate getReadOnlyOptionalProperty();
- void setReadOnlyOptionalProperty(java.time.LocalDate c);
-
- java.time.LocalDate getReadWriteOptionalProperty();
- void setReadWriteOptionalProperty(java.time.LocalDate c);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder2.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder2.java
deleted file mode 100644
index 3b4694662a..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder2.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeLocalDateHolder2 extends JavaTimeLocalDateHolder {
-
- @Property // <.>
- @PropertyLayout(
- labelPosition = LabelPosition.LEFT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=LEFT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "1") // <.>
- default java.time.LocalDate getReadOnlyPropertyDerivedLabelPositionLeft() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.TOP, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=TOP)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "2")
- default java.time.LocalDate getReadOnlyPropertyDerivedLabelPositionTop() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.RIGHT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=RIGHT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "3")
- default java.time.LocalDate getReadOnlyPropertyDerivedLabelPositionRight() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.NONE, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=NONE)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "4")
- default java.time.LocalDate getReadOnlyPropertyDerivedLabelPositionNone() {
- return getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder3.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder3.java
deleted file mode 100644
index e4b49efff7..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder3.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeLocalDateHolder3 extends JavaTimeLocalDateHolder2 {
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = -1) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = -1)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "1") // <.>
- default java.time.LocalDate getReadOnlyPropertyDerivedRenderDayAsDayBefore() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = 0) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = 0)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "2")
- default java.time.LocalDate getReadOnlyPropertyDerivedRenderDayAsDay() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "3")
- default java.time.LocalDate getReadOnlyPropertyDerivedRenderDayNotSpecified() {
- return getReadOnlyProperty();
- }
-
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_actionReturning.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_actionReturning.java
deleted file mode 100644
index eda15b7715..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_actionReturning.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeLocalDateHolder_actionReturning {
-
- private final JavaTimeLocalDateHolder holder;
-
- public java.time.LocalDate act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_actionReturningCollection.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_actionReturningCollection.java
deleted file mode 100644
index a5bdeb5b2e..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_actionReturningCollection.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import java.time.LocalDate;
-import java.util.Collection;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeLocalDateHolder_actionReturningCollection {
-
- private final JavaTimeLocalDateHolder holder;
-
- public Collection<java.time.LocalDate> act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<LocalDate> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_mixinProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_mixinProperty.java
deleted file mode 100644
index b9cfdb6495..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_mixinProperty.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Property()
-@PropertyLayout(hidden = Where.ALL_TABLES, fieldSetId = "contributed", sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateHolder_mixinProperty {
-
- private final JavaTimeLocalDateHolder holder;
-
- public java.time.LocalDate prop() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyOptionalProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyOptionalProperty.java
deleted file mode 100644
index 35cb4b00a7..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyOptionalProperty.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Parameter;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyOptionalProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateHolder_updateReadOnlyOptionalProperty {
-
- private final JavaTimeLocalDateHolder holder;
-
- @MemberSupport public JavaTimeLocalDateHolder act(
- @Parameter(optionality = Optionality.OPTIONAL) // <.>
- final java.time.LocalDate newValue
- ) {
- holder.setReadOnlyOptionalProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalDate default0Act() {
- return holder.getReadOnlyOptionalProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyProperty.java
deleted file mode 100644
index 4d95bd0c4a..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyProperty.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateHolder_updateReadOnlyProperty {
-
- private final JavaTimeLocalDateHolder holder;
-
- @MemberSupport public JavaTimeLocalDateHolder act(final java.time.LocalDate newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalDate default0Act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyPropertyWithChoices.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyPropertyWithChoices.java
deleted file mode 100644
index 7915d7fe14..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/holder/JavaTimeLocalDateHolder_updateReadOnlyPropertyWithChoices.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.holder;
-
-import java.time.LocalDate;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update with choices"
- , associateWith = "readOnlyProperty"
- , sequence = "2")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateHolder_updateReadOnlyPropertyWithChoices {
-
- private final JavaTimeLocalDateHolder holder;
-
- @MemberSupport public JavaTimeLocalDateHolder act(final java.time.LocalDate newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalDate default0Act() {
- return holder.getReadOnlyProperty();
- }
-
- @MemberSupport public List<java.time.LocalDate> choices0Act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<LocalDate> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdo-description.adoc
deleted file mode 100644
index d234c06789..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdo-description.adoc
+++ /dev/null
@@ -1,18 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-JDO supports `java.time.LocalDate` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeLocalDateJdo.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeLocalDates-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdo.java
deleted file mode 100644
index a02d982f39..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdo.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.jdo;
-
-import javax.inject.Named;
-import javax.jdo.annotations.Column;
-import javax.jdo.annotations.DatastoreIdentity;
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.PersistenceCapable;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimelocaldate.persistence.JavaTimeLocalDateEntity;
-
-@Profile("demo-jdo")
-//tag::class[]
-@PersistenceCapable(identityType = IdentityType.DATASTORE, schema = "demo")
-@DatastoreIdentity(strategy = IdGeneratorStrategy.IDENTITY, column = "id")
-@Named("demo.JavaTimeLocalDateEntity")
-@DomainObject
-public class JavaTimeLocalDateJdo // <.>
- extends JavaTimeLocalDateEntity {
-
-//end::class[]
- public JavaTimeLocalDateJdo(final java.time.LocalDate initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- }
-
-//tag::class[]
- @Title(prepend = "java.time.LocalDate JDO entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(allowsNull = "false") // <.>
- @Getter @Setter
- private java.time.LocalDate readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.LocalDate readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(allowsNull = "true") // <.>
- @Getter @Setter
- private java.time.LocalDate readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(allowsNull = "true")
- @Getter @Setter
- private java.time.LocalDate readWriteOptionalProperty;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdoEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdoEntities.java
deleted file mode 100644
index 380d4cd7c6..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jdo/JavaTimeLocalDateJdoEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.jdo;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jdo")
-@Service
-public class JavaTimeLocalDateJdoEntities
-extends ValueHolderRepository<java.time.LocalDate, JavaTimeLocalDateJdo> {
-
- protected JavaTimeLocalDateJdoEntities() {
- super(JavaTimeLocalDateJdo.class);
- }
-
- @Override
- protected JavaTimeLocalDateJdo newDetachedEntity(java.time.LocalDate value) {
- return new JavaTimeLocalDateJdo(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpa-description.adoc
deleted file mode 100644
index eadaf5f933..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpa-description.adoc
+++ /dev/null
@@ -1,23 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-[WARNING]
-====
-TODO this yet is just a copy from JDO
-====
-
-JDO supports `java.time.LocalDate` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeLocalDateJpa.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeLocalDates-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpa.java
deleted file mode 100644
index e5885e9447..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpa.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.jpa;
-
-import javax.inject.Named;
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EntityListeners;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener;
-
-import lombok.Getter;
-import lombok.NoArgsConstructor;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimelocaldate.persistence.JavaTimeLocalDateEntity;
-
-@Profile("demo-jpa")
-//tag::class[]
-@Entity
-@Table(
- schema = "demo",
- name = "JavaTimeLocalDateJpa"
-)
-@EntityListeners(CausewayEntityListener.class)
-@Named("demo.JavaTimeLocalDateEntity")
-@DomainObject
-@NoArgsConstructor
-public class JavaTimeLocalDateJpa
- extends JavaTimeLocalDateEntity {
-
-//end::class[]
- public JavaTimeLocalDateJpa(final java.time.LocalDate initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- }
-
-//tag::class[]
- @Id
- @GeneratedValue
- private Long id;
-
- @Title(prepend = "java.time.LocalDate JPA entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(nullable = false) // <.>
- @Getter @Setter
- private java.time.LocalDate readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(nullable = false)
- @Getter @Setter
- private java.time.LocalDate readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(nullable = true) // <.>
- @Getter @Setter
- private java.time.LocalDate readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(nullable = true)
- @Getter @Setter
- private java.time.LocalDate readWriteOptionalProperty;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpaEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpaEntities.java
deleted file mode 100644
index 84246687e7..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/jpa/JavaTimeLocalDateJpaEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.jpa;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jpa")
-@Service
-public class JavaTimeLocalDateJpaEntities
-extends ValueHolderRepository<java.time.LocalDate, JavaTimeLocalDateJpa> {
-
- protected JavaTimeLocalDateJpaEntities() {
- super(JavaTimeLocalDateJpa.class);
- }
-
- @Override
- protected JavaTimeLocalDateJpa newDetachedEntity(java.time.LocalDate value) {
- return new JavaTimeLocalDateJpa(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateEntity.java
deleted file mode 100644
index 5be4409b38..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateEntity.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.persistence;
-
-import javax.inject.Named;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-
-import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom._infra.values.ValueHolder;
-import demoapp.dom.types.javatime.javatimelocaldate.holder.JavaTimeLocalDateHolder3;
-
-@Named("demo.JavaTimeLocalDateEntity") // shared permissions with concrete sub class
-@DomainObject
-public abstract class JavaTimeLocalDateEntity
-implements
- HasAsciiDocDescription,
- JavaTimeLocalDateHolder3,
- ValueHolder<java.time.LocalDate> {
-
- @Override
- public java.time.LocalDate value() {
- return getReadOnlyProperty();
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateEntity.layout.xml
deleted file mode 100644
index 21c3e389cb..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateEntity.layout.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<bs3:grid
- xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd"
- xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3"
- xmlns:cpt="https://causeway.apache.org/applib/layout/component"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bs3:row>
- <bs3:col span="10" unreferencedActions="true">
- <cpt:domainObject />
- <cpt:action id="actionReturning"/>
- <cpt:action id="actionReturningCollection"/>
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <cpt:fieldSet name="Read Only Properties" id="read-only-properties"/>
- <cpt:fieldSet name="Editable Properties" id="editable-properties"/>
- <cpt:fieldSet name="Optional Properties" id="optional-properties"/>
- <cpt:fieldSet name="Contributed by Mixins" id="contributed"/>
- <cpt:fieldSet name="@PropertyLayout(labelPosition=...)" id="label-positions"/>
- <cpt:fieldSet name="@PropertyLayout(renderDay=...)" id="render-day"/>
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- <bs3:col span="6">
- <cpt:fieldSet name="Description" id="description" >
- <cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadLayout" position="PANEL_DROPDOWN"/>
- <cpt:action id="inspectMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadJdoMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentCommands" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentExecutions" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentAuditTrailEntries" position="PANEL_DROPDOWN"/>
- <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
- <cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
- <cpt:property id="description"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- <bs3:row>
- <bs3:col span="12" unreferencedCollections="true"/>
- </bs3:row>
-
-</bs3:grid>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateSeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateSeeding.java
deleted file mode 100644
index 527d01d6eb..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldate/persistence/JavaTimeLocalDateSeeding.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldate.persistence;
-
-import javax.inject.Inject;
-
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.seed.SeedServiceAbstract;
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Service
-public class JavaTimeLocalDateSeeding
-extends SeedServiceAbstract {
-
- @Inject
- public JavaTimeLocalDateSeeding(ValueHolderRepository<java.time.LocalDate, ? extends JavaTimeLocalDateEntity> entities) {
- super(entities);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder.java
deleted file mode 100644
index fa44a50dd3..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import javax.inject.Named;
-
-@Named("demo.JavaTimeLocalDateTimeHolder")
-//tag::class[]
-public interface JavaTimeLocalDateTimeHolder {
-
- java.time.LocalDateTime getReadOnlyProperty();
- void setReadOnlyProperty(java.time.LocalDateTime c);
-
- java.time.LocalDateTime getReadWriteProperty();
- void setReadWriteProperty(java.time.LocalDateTime c);
-
- java.time.LocalDateTime getReadOnlyOptionalProperty();
- void setReadOnlyOptionalProperty(java.time.LocalDateTime c);
-
- java.time.LocalDateTime getReadWriteOptionalProperty();
- void setReadWriteOptionalProperty(java.time.LocalDateTime c);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder2.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder2.java
deleted file mode 100644
index d07dedfe96..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder2.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeLocalDateTimeHolder2 extends JavaTimeLocalDateTimeHolder {
-
- @Property // <.>
- @PropertyLayout(
- labelPosition = LabelPosition.LEFT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=LEFT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "1") // <.>
- default java.time.LocalDateTime getReadOnlyPropertyDerivedLabelPositionLeft() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.TOP, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=TOP)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "2")
- default java.time.LocalDateTime getReadOnlyPropertyDerivedLabelPositionTop() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.RIGHT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=RIGHT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "3")
- default java.time.LocalDateTime getReadOnlyPropertyDerivedLabelPositionRight() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.NONE, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=NONE)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "4")
- default java.time.LocalDateTime getReadOnlyPropertyDerivedLabelPositionNone() {
- return getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder3.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder3.java
deleted file mode 100644
index c9733ed75a..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder3.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeLocalDateTimeHolder3 extends JavaTimeLocalDateTimeHolder2 {
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = -1) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = -1)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "1") // <.>
- default java.time.LocalDateTime getReadOnlyPropertyDerivedRenderDayAsDayBefore() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = 0) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = 0)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "2")
- default java.time.LocalDateTime getReadOnlyPropertyDerivedRenderDayAsDay() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "3")
- default java.time.LocalDateTime getReadOnlyPropertyDerivedRenderDayNotSpecified() {
- return getReadOnlyProperty();
- }
-
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_actionReturning.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_actionReturning.java
deleted file mode 100644
index 0ecc0d57bd..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_actionReturning.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeLocalDateTimeHolder_actionReturning {
-
- private final JavaTimeLocalDateTimeHolder holder;
-
- public java.time.LocalDateTime act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_actionReturningCollection.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_actionReturningCollection.java
deleted file mode 100644
index 253b7b7d94..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_actionReturningCollection.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import java.time.LocalDateTime;
-import java.util.Collection;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeLocalDateTimeHolder_actionReturningCollection {
-
- private final JavaTimeLocalDateTimeHolder holder;
-
- public Collection<java.time.LocalDateTime> act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<LocalDateTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_mixinProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_mixinProperty.java
deleted file mode 100644
index 07966c7fa0..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_mixinProperty.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Property()
-@PropertyLayout(hidden = Where.ALL_TABLES, fieldSetId = "contributed", sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateTimeHolder_mixinProperty {
-
- private final JavaTimeLocalDateTimeHolder holder;
-
- public java.time.LocalDateTime prop() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyOptionalProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyOptionalProperty.java
deleted file mode 100644
index 0f2e3581d7..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyOptionalProperty.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Parameter;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyOptionalProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateTimeHolder_updateReadOnlyOptionalProperty {
-
- private final JavaTimeLocalDateTimeHolder holder;
-
- @MemberSupport public JavaTimeLocalDateTimeHolder act(
- @Parameter(optionality = Optionality.OPTIONAL) // <.>
- final java.time.LocalDateTime newValue
- ) {
- holder.setReadOnlyOptionalProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalDateTime default0Act() {
- return holder.getReadOnlyOptionalProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyProperty.java
deleted file mode 100644
index e3209690ab..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyProperty.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateTimeHolder_updateReadOnlyProperty {
-
- private final JavaTimeLocalDateTimeHolder holder;
-
- @MemberSupport public JavaTimeLocalDateTimeHolder act(final java.time.LocalDateTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalDateTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyPropertyWithChoices.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyPropertyWithChoices.java
deleted file mode 100644
index 3cf9ddc238..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/holder/JavaTimeLocalDateTimeHolder_updateReadOnlyPropertyWithChoices.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.holder;
-
-import java.time.LocalDateTime;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update with choices"
- , associateWith = "readOnlyProperty"
- , sequence = "2")
-@RequiredArgsConstructor
-public class JavaTimeLocalDateTimeHolder_updateReadOnlyPropertyWithChoices {
-
- private final JavaTimeLocalDateTimeHolder holder;
-
- @MemberSupport public JavaTimeLocalDateTimeHolder act(final java.time.LocalDateTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalDateTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
- @MemberSupport public List<java.time.LocalDateTime> choices0Act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<LocalDateTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdo-description.adoc
deleted file mode 100644
index cb33788e66..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdo-description.adoc
+++ /dev/null
@@ -1,18 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-JDO supports `java.time.LocalDateTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeLocalDateTimeJdo.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeLocalDateTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdo.java
deleted file mode 100644
index eae4c768a4..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdo.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.jdo;
-
-import javax.inject.Named;
-import javax.jdo.annotations.Column;
-import javax.jdo.annotations.DatastoreIdentity;
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.PersistenceCapable;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimelocaldatetime.persistence.JavaTimeLocalDateTimeEntity;
-
-@Profile("demo-jdo")
-//tag::class[]
-@PersistenceCapable(identityType = IdentityType.DATASTORE, schema = "demo")
-@DatastoreIdentity(strategy = IdGeneratorStrategy.IDENTITY, column = "id")
-@Named("demo.JavaTimeLocalDateTimeEntity")
-@DomainObject
-public class JavaTimeLocalDateTimeJdo // <.>
- extends JavaTimeLocalDateTimeEntity {
-
-//end::class[]
- public JavaTimeLocalDateTimeJdo(final java.time.LocalDateTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- }
-
-//tag::class[]
- @Title(prepend = "java.time.LocalDateTime JDO entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(allowsNull = "false") // <.>
- @Getter @Setter
- private java.time.LocalDateTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.LocalDateTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(allowsNull = "true") // <.>
- @Getter @Setter
- private java.time.LocalDateTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(allowsNull = "true")
- @Getter @Setter
- private java.time.LocalDateTime readWriteOptionalProperty;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdoEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdoEntities.java
deleted file mode 100644
index 2de6888c91..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jdo/JavaTimeLocalDateTimeJdoEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.jdo;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jdo")
-@Service
-public class JavaTimeLocalDateTimeJdoEntities
-extends ValueHolderRepository<java.time.LocalDateTime, JavaTimeLocalDateTimeJdo> {
-
- protected JavaTimeLocalDateTimeJdoEntities() {
- super(JavaTimeLocalDateTimeJdo.class);
- }
-
- @Override
- protected JavaTimeLocalDateTimeJdo newDetachedEntity(java.time.LocalDateTime value) {
- return new JavaTimeLocalDateTimeJdo(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpa-description.adoc
deleted file mode 100644
index 467a8f1e13..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpa-description.adoc
+++ /dev/null
@@ -1,23 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-[WARNING]
-====
-TODO this yet is just a copy from JDO
-====
-
-JDO supports `java.time.LocalDateTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeLocalDateTimeJpa.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeLocalDateTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpa.java
deleted file mode 100644
index a9e494081e..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpa.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.jpa;
-
-import javax.inject.Named;
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EntityListeners;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener;
-
-import lombok.Getter;
-import lombok.NoArgsConstructor;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimelocaldatetime.persistence.JavaTimeLocalDateTimeEntity;
-
-@Profile("demo-jpa")
-//tag::class[]
-@Entity
-@Table(
- schema = "demo",
- name = "JavaTimeLocalDateTimeJpa"
-)
-@EntityListeners(CausewayEntityListener.class)
-@Named("demo.JavaTimeLocalDateTimeEntity")
-@DomainObject
-@NoArgsConstructor
-public class JavaTimeLocalDateTimeJpa
- extends JavaTimeLocalDateTimeEntity {
-
-//end::class[]
- public JavaTimeLocalDateTimeJpa(final java.time.LocalDateTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- }
-
-//tag::class[]
- @Id
- @GeneratedValue
- private Long id;
-
- @Title(prepend = "java.time.LocalDateTime JPA entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(nullable = false) // <.>
- @Getter @Setter
- private java.time.LocalDateTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(nullable = false)
- @Getter @Setter
- private java.time.LocalDateTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(nullable = true) // <.>
- @Getter @Setter
- private java.time.LocalDateTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(nullable = true)
- @Getter @Setter
- private java.time.LocalDateTime readWriteOptionalProperty;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpaEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpaEntities.java
deleted file mode 100644
index a6cca7f758..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/jpa/JavaTimeLocalDateTimeJpaEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.jpa;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jpa")
-@Service
-public class JavaTimeLocalDateTimeJpaEntities
-extends ValueHolderRepository<java.time.LocalDateTime, JavaTimeLocalDateTimeJpa> {
-
- protected JavaTimeLocalDateTimeJpaEntities() {
- super(JavaTimeLocalDateTimeJpa.class);
- }
-
- @Override
- protected JavaTimeLocalDateTimeJpa newDetachedEntity(java.time.LocalDateTime value) {
- return new JavaTimeLocalDateTimeJpa(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeEntity.java
deleted file mode 100644
index d6ddc862a9..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeEntity.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.persistence;
-
-import javax.inject.Named;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-
-import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom._infra.values.ValueHolder;
-import demoapp.dom.types.javatime.javatimelocaldatetime.holder.JavaTimeLocalDateTimeHolder3;
-
-@Named("demo.JavaTimeLocalDateTimeEntity") // shared permissions with concrete sub class
-@DomainObject
-public abstract class JavaTimeLocalDateTimeEntity
-implements
- HasAsciiDocDescription,
- JavaTimeLocalDateTimeHolder3,
- ValueHolder<java.time.LocalDateTime> {
-
- @Override
- public java.time.LocalDateTime value() {
- return getReadOnlyProperty();
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeEntity.layout.xml
deleted file mode 100644
index 21c3e389cb..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeEntity.layout.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<bs3:grid
- xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd"
- xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3"
- xmlns:cpt="https://causeway.apache.org/applib/layout/component"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bs3:row>
- <bs3:col span="10" unreferencedActions="true">
- <cpt:domainObject />
- <cpt:action id="actionReturning"/>
- <cpt:action id="actionReturningCollection"/>
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <cpt:fieldSet name="Read Only Properties" id="read-only-properties"/>
- <cpt:fieldSet name="Editable Properties" id="editable-properties"/>
- <cpt:fieldSet name="Optional Properties" id="optional-properties"/>
- <cpt:fieldSet name="Contributed by Mixins" id="contributed"/>
- <cpt:fieldSet name="@PropertyLayout(labelPosition=...)" id="label-positions"/>
- <cpt:fieldSet name="@PropertyLayout(renderDay=...)" id="render-day"/>
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- <bs3:col span="6">
- <cpt:fieldSet name="Description" id="description" >
- <cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadLayout" position="PANEL_DROPDOWN"/>
- <cpt:action id="inspectMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadJdoMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentCommands" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentExecutions" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentAuditTrailEntries" position="PANEL_DROPDOWN"/>
- <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
- <cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
- <cpt:property id="description"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- <bs3:row>
- <bs3:col span="12" unreferencedCollections="true"/>
- </bs3:row>
-
-</bs3:grid>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeSeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeSeeding.java
deleted file mode 100644
index 054f743b55..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaldatetime/persistence/JavaTimeLocalDateTimeSeeding.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaldatetime.persistence;
-
-import javax.inject.Inject;
-
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.seed.SeedServiceAbstract;
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Service
-public class JavaTimeLocalDateTimeSeeding
-extends SeedServiceAbstract {
-
- @Inject
- public JavaTimeLocalDateTimeSeeding(ValueHolderRepository<java.time.LocalDateTime, ? extends JavaTimeLocalDateTimeEntity> entities) {
- super(entities);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder.java
deleted file mode 100644
index ecef868645..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import javax.inject.Named;
-
-@Named("demo.JavaTimeLocalTimeHolder")
-//tag::class[]
-public interface JavaTimeLocalTimeHolder {
-
- java.time.LocalTime getReadOnlyProperty();
- void setReadOnlyProperty(java.time.LocalTime c);
-
- java.time.LocalTime getReadWriteProperty();
- void setReadWriteProperty(java.time.LocalTime c);
-
- java.time.LocalTime getReadOnlyOptionalProperty();
- void setReadOnlyOptionalProperty(java.time.LocalTime c);
-
- java.time.LocalTime getReadWriteOptionalProperty();
- void setReadWriteOptionalProperty(java.time.LocalTime c);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder2.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder2.java
deleted file mode 100644
index 342026aa58..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder2.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeLocalTimeHolder2 extends JavaTimeLocalTimeHolder {
-
- @Property // <.>
- @PropertyLayout(
- labelPosition = LabelPosition.LEFT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=LEFT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "1") // <.>
- default java.time.LocalTime getReadOnlyPropertyDerivedLabelPositionLeft() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.TOP, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=TOP)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "2")
- default java.time.LocalTime getReadOnlyPropertyDerivedLabelPositionTop() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.RIGHT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=RIGHT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "3")
- default java.time.LocalTime getReadOnlyPropertyDerivedLabelPositionRight() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.NONE, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=NONE)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "4")
- default java.time.LocalTime getReadOnlyPropertyDerivedLabelPositionNone() {
- return getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder3.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder3.java
deleted file mode 100644
index 6c1870526f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder3.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeLocalTimeHolder3 extends JavaTimeLocalTimeHolder2 {
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = -1) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = -1)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "1") // <.>
- default java.time.LocalTime getReadOnlyPropertyDerivedRenderDayAsDayBefore() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = 0) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = 0)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "2")
- default java.time.LocalTime getReadOnlyPropertyDerivedRenderDayAsDay() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "3")
- default java.time.LocalTime getReadOnlyPropertyDerivedRenderDayNotSpecified() {
- return getReadOnlyProperty();
- }
-
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_actionReturning.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_actionReturning.java
deleted file mode 100644
index e18dd8a322..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_actionReturning.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeLocalTimeHolder_actionReturning {
-
- private final JavaTimeLocalTimeHolder holder;
-
- public java.time.LocalTime act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_actionReturningCollection.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_actionReturningCollection.java
deleted file mode 100644
index 7f8fa180fa..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_actionReturningCollection.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import java.time.LocalTime;
-import java.util.Collection;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeLocalTimeHolder_actionReturningCollection {
-
- private final JavaTimeLocalTimeHolder holder;
-
- public Collection<java.time.LocalTime> act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<LocalTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_mixinProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_mixinProperty.java
deleted file mode 100644
index 372fe8a656..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_mixinProperty.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Property()
-@PropertyLayout(hidden = Where.ALL_TABLES, fieldSetId = "contributed", sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalTimeHolder_mixinProperty {
-
- private final JavaTimeLocalTimeHolder holder;
-
- public java.time.LocalTime prop() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyOptionalProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyOptionalProperty.java
deleted file mode 100644
index 0c30b43f18..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyOptionalProperty.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Parameter;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyOptionalProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalTimeHolder_updateReadOnlyOptionalProperty {
-
- private final JavaTimeLocalTimeHolder holder;
-
- @MemberSupport public JavaTimeLocalTimeHolder act(
- @Parameter(optionality = Optionality.OPTIONAL) // <.>
- final java.time.LocalTime newValue
- ) {
- holder.setReadOnlyOptionalProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalTime default0Act() {
- return holder.getReadOnlyOptionalProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyProperty.java
deleted file mode 100644
index 2173d3deb7..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyProperty.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeLocalTimeHolder_updateReadOnlyProperty {
-
- private final JavaTimeLocalTimeHolder holder;
-
- @MemberSupport public JavaTimeLocalTimeHolder act(final java.time.LocalTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyPropertyWithChoices.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyPropertyWithChoices.java
deleted file mode 100644
index 73c5ef9837..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/holder/JavaTimeLocalTimeHolder_updateReadOnlyPropertyWithChoices.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.holder;
-
-import java.time.LocalTime;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update with choices"
- , associateWith = "readOnlyProperty"
- , sequence = "2")
-@RequiredArgsConstructor
-public class JavaTimeLocalTimeHolder_updateReadOnlyPropertyWithChoices {
-
- private final JavaTimeLocalTimeHolder holder;
-
- @MemberSupport public JavaTimeLocalTimeHolder act(final java.time.LocalTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.LocalTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
- @MemberSupport public List<java.time.LocalTime> choices0Act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<LocalTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdo-description.adoc
deleted file mode 100644
index d307c1354d..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdo-description.adoc
+++ /dev/null
@@ -1,18 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-JDO supports `java.time.LocalTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeLocalTimeJdo.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeLocalTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdo.java
deleted file mode 100644
index bf40efa94d..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdo.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.jdo;
-
-import javax.inject.Named;
-import javax.jdo.annotations.Column;
-import javax.jdo.annotations.DatastoreIdentity;
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.PersistenceCapable;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimelocaltime.persistence.JavaTimeLocalTimeEntity;
-
-@Profile("demo-jdo")
-//tag::class[]
-@PersistenceCapable(identityType = IdentityType.DATASTORE, schema = "demo")
-@DatastoreIdentity(strategy = IdGeneratorStrategy.IDENTITY, column = "id")
-@Named("demo.JavaTimeLocalTimeEntity")
-@DomainObject
-public class JavaTimeLocalTimeJdo
- extends JavaTimeLocalTimeEntity {
-
-//end::class[]
- public JavaTimeLocalTimeJdo(final java.time.LocalTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- }
-
-//tag::class[]
- @Title(prepend = "java.time.LocalTime JDO entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(allowsNull = "false") // <.>
- @Getter @Setter
- private java.time.LocalTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.LocalTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(allowsNull = "true") // <.>
- @Getter @Setter
- private java.time.LocalTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(allowsNull = "true")
- @Getter @Setter
- private java.time.LocalTime readWriteOptionalProperty;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdoEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdoEntities.java
deleted file mode 100644
index 1e68077f27..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jdo/JavaTimeLocalTimeJdoEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.jdo;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jdo")
-@Service
-public class JavaTimeLocalTimeJdoEntities
-extends ValueHolderRepository<java.time.LocalTime, JavaTimeLocalTimeJdo> {
-
- protected JavaTimeLocalTimeJdoEntities() {
- super(JavaTimeLocalTimeJdo.class);
- }
-
- @Override
- protected JavaTimeLocalTimeJdo newDetachedEntity(final java.time.LocalTime value) {
- return new JavaTimeLocalTimeJdo(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpa-description.adoc
deleted file mode 100644
index 92e7f56e6b..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpa-description.adoc
+++ /dev/null
@@ -1,23 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-[WARNING]
-====
-TODO this yet is just a copy from JDO
-====
-
-JDO supports `java.time.LocalTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeLocalTimeJpa.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeLocalTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpa.java
deleted file mode 100644
index 8dd6ea072b..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpa.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.jpa;
-
-import javax.inject.Named;
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EntityListeners;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener;
-
-import lombok.Getter;
-import lombok.NoArgsConstructor;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimelocaltime.persistence.JavaTimeLocalTimeEntity;
-
-@Profile("demo-jpa")
-//tag::class[]
-@Entity
-@Table(
- schema = "demo",
- name = "JavaTimeLocalTimeJpa"
-)
-@EntityListeners(CausewayEntityListener.class)
-@Named("demo.JavaTimeLocalTimeEntity")
-@DomainObject
-@NoArgsConstructor
-public class JavaTimeLocalTimeJpa
- extends JavaTimeLocalTimeEntity {
-
-//end::class[]
- public JavaTimeLocalTimeJpa(final java.time.LocalTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- }
-
-//tag::class[]
- @Id
- @GeneratedValue
- private Long id;
-
- @Title(prepend = "java.time.LocalTime JPA entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(nullable = false) // <.>
- @Getter @Setter
- private java.time.LocalTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(nullable = false)
- @Getter @Setter
- private java.time.LocalTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(nullable = true) // <.>
- @Getter @Setter
- private java.time.LocalTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(nullable = true)
- @Getter @Setter
- private java.time.LocalTime readWriteOptionalProperty;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpaEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpaEntities.java
deleted file mode 100644
index 84cce5641a..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/jpa/JavaTimeLocalTimeJpaEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.jpa;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jpa")
-@Service
-public class JavaTimeLocalTimeJpaEntities
-extends ValueHolderRepository<java.time.LocalTime, JavaTimeLocalTimeJpa> {
-
- protected JavaTimeLocalTimeJpaEntities() {
- super(JavaTimeLocalTimeJpa.class);
- }
-
- @Override
- protected JavaTimeLocalTimeJpa newDetachedEntity(final java.time.LocalTime value) {
- return new JavaTimeLocalTimeJpa(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeEntity.java
deleted file mode 100644
index bb0e59a9ee..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeEntity.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.persistence;
-
-import javax.inject.Named;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-
-import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom._infra.values.ValueHolder;
-import demoapp.dom.types.javatime.javatimelocaltime.holder.JavaTimeLocalTimeHolder3;
-
-@Named("demo.JavaTimeLocalTimeEntity") // shared permissions with concrete sub class
-@DomainObject
-public abstract class JavaTimeLocalTimeEntity
-implements
- HasAsciiDocDescription,
- JavaTimeLocalTimeHolder3,
- ValueHolder<java.time.LocalTime> {
-
- @Override
- public java.time.LocalTime value() {
- return getReadOnlyProperty();
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeEntity.layout.xml
deleted file mode 100644
index 21c3e389cb..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeEntity.layout.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<bs3:grid
- xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd"
- xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3"
- xmlns:cpt="https://causeway.apache.org/applib/layout/component"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bs3:row>
- <bs3:col span="10" unreferencedActions="true">
- <cpt:domainObject />
- <cpt:action id="actionReturning"/>
- <cpt:action id="actionReturningCollection"/>
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <cpt:fieldSet name="Read Only Properties" id="read-only-properties"/>
- <cpt:fieldSet name="Editable Properties" id="editable-properties"/>
- <cpt:fieldSet name="Optional Properties" id="optional-properties"/>
- <cpt:fieldSet name="Contributed by Mixins" id="contributed"/>
- <cpt:fieldSet name="@PropertyLayout(labelPosition=...)" id="label-positions"/>
- <cpt:fieldSet name="@PropertyLayout(renderDay=...)" id="render-day"/>
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- <bs3:col span="6">
- <cpt:fieldSet name="Description" id="description" >
- <cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadLayout" position="PANEL_DROPDOWN"/>
- <cpt:action id="inspectMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadJdoMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentCommands" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentExecutions" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentAuditTrailEntries" position="PANEL_DROPDOWN"/>
- <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
- <cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
- <cpt:property id="description"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- <bs3:row>
- <bs3:col span="12" unreferencedCollections="true"/>
- </bs3:row>
-
-</bs3:grid>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeSeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeSeeding.java
deleted file mode 100644
index 1f5122ec17..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimelocaltime/persistence/JavaTimeLocalTimeSeeding.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimelocaltime.persistence;
-
-import javax.inject.Inject;
-
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.seed.SeedServiceAbstract;
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Service
-public class JavaTimeLocalTimeSeeding
-extends SeedServiceAbstract {
-
- @Inject
- public JavaTimeLocalTimeSeeding(final ValueHolderRepository<java.time.LocalTime, ? extends JavaTimeLocalTimeEntity> entities) {
- super(entities);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/OffsetDateTimes-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/OffsetDateTimes-description.adoc
index afa7503e15..d6c3870e60 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/OffsetDateTimes-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/OffsetDateTimes-description.adoc
@@ -3,6 +3,8 @@
The framework has built-in support for a number of temporal types, including `java.time.OffsetDateTime`.
These can be used either in entities or view models.
+WARNING: changing the offset has the effect of adjusting the time rather than the offset itself (which remains fixed to the current user's timezone); being tracked under https://issues.apache.org/jira/browse/CAUSEWAY-3490[CAUSEWAY-3490].
+
== How this demo works
On the left hand side is a collection of entities that uses the `OffsetDateTime` datatype.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder.java
deleted file mode 100644
index 10a5e7abb5..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import javax.inject.Named;
-
-@Named("demo.JavaTimeOffsetDateTimeHolder")
-//tag::class[]
-public interface JavaTimeOffsetDateTimeHolder {
-
- java.time.OffsetDateTime getReadOnlyProperty();
- void setReadOnlyProperty(java.time.OffsetDateTime c);
-
- java.time.OffsetDateTime getReadWriteProperty();
- void setReadWriteProperty(java.time.OffsetDateTime c);
-
- java.time.OffsetDateTime getReadOnlyOptionalProperty();
- void setReadOnlyOptionalProperty(java.time.OffsetDateTime c);
-
- java.time.OffsetDateTime getReadWriteOptionalProperty();
- void setReadWriteOptionalProperty(java.time.OffsetDateTime c);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder2.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder2.java
deleted file mode 100644
index 4a22c4d7f0..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder2.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeOffsetDateTimeHolder2 extends JavaTimeOffsetDateTimeHolder {
-
- @Property // <.>
- @PropertyLayout(
- labelPosition = LabelPosition.LEFT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=LEFT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "1") // <.>
- default java.time.OffsetDateTime getReadOnlyPropertyDerivedLabelPositionLeft() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.TOP, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=TOP)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "2")
- default java.time.OffsetDateTime getReadOnlyPropertyDerivedLabelPositionTop() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.RIGHT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=RIGHT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "3")
- default java.time.OffsetDateTime getReadOnlyPropertyDerivedLabelPositionRight() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.NONE, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=NONE)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "4")
- default java.time.OffsetDateTime getReadOnlyPropertyDerivedLabelPositionNone() {
- return getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder3.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder3.java
deleted file mode 100644
index d1844bf0e1..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder3.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeOffsetDateTimeHolder3 extends JavaTimeOffsetDateTimeHolder2 {
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = -1) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = -1)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "1") // <.>
- default java.time.OffsetDateTime getReadOnlyPropertyDerivedRenderDayAsDayBefore() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = 0) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = 0)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "2")
- default java.time.OffsetDateTime getReadOnlyPropertyDerivedRenderDayAsDay() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "3")
- default java.time.OffsetDateTime getReadOnlyPropertyDerivedRenderDayNotSpecified() {
- return getReadOnlyProperty();
- }
-
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder4.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder4.java
deleted file mode 100644
index dd44cdff3f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder4.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.TimeZoneTranslation;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeOffsetDateTimeHolder4 extends JavaTimeOffsetDateTimeHolder3 {
-
- @Property
- @ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)
- @PropertyLayout(
- describedAs = "@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "time-zone-translation", sequence = "1")
- default java.time.OffsetDateTime getReadOnlyPropertyNoTimeZoneTranslation() {
- return getReadOnlyProperty();
- }
-
- @Property(editing = Editing.ENABLED)
- @ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)
- @PropertyLayout(
- describedAs = "@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "time-zone-translation", sequence = "2")
- java.time.OffsetDateTime getReadWritePropertyNoTimeZoneTranslation();
- void setReadWritePropertyNoTimeZoneTranslation(final java.time.OffsetDateTime temporal);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_actionReturning.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_actionReturning.java
deleted file mode 100644
index 4f4725375f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_actionReturning.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeOffsetDateTimeHolder_actionReturning {
-
- private final JavaTimeOffsetDateTimeHolder holder;
-
- public java.time.OffsetDateTime act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_actionReturningCollection.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_actionReturningCollection.java
deleted file mode 100644
index b81f0c6b94..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_actionReturningCollection.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import java.time.OffsetDateTime;
-import java.util.Collection;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeOffsetDateTimeHolder_actionReturningCollection {
-
- private final JavaTimeOffsetDateTimeHolder holder;
-
- public Collection<java.time.OffsetDateTime> act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<OffsetDateTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_mixinProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_mixinProperty.java
deleted file mode 100644
index d5885c4069..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_mixinProperty.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Property()
-@PropertyLayout(hidden = Where.ALL_TABLES, fieldSetId = "contributed", sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeOffsetDateTimeHolder_mixinProperty {
-
- private final JavaTimeOffsetDateTimeHolder holder;
-
- public java.time.OffsetDateTime prop() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyOptionalProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyOptionalProperty.java
deleted file mode 100644
index 167d370ea9..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyOptionalProperty.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Parameter;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyOptionalProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeOffsetDateTimeHolder_updateReadOnlyOptionalProperty {
-
- private final JavaTimeOffsetDateTimeHolder holder;
-
- @MemberSupport public JavaTimeOffsetDateTimeHolder act(
- @Parameter(optionality = Optionality.OPTIONAL) // <.>
- final java.time.OffsetDateTime newValue
- ) {
- holder.setReadOnlyOptionalProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.OffsetDateTime default0Act() {
- return holder.getReadOnlyOptionalProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyProperty.java
deleted file mode 100644
index 5c25cabb6f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyProperty.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeOffsetDateTimeHolder_updateReadOnlyProperty {
-
- private final JavaTimeOffsetDateTimeHolder holder;
-
- @MemberSupport public JavaTimeOffsetDateTimeHolder act(final java.time.OffsetDateTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.OffsetDateTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyPropertyWithChoices.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyPropertyWithChoices.java
deleted file mode 100644
index f62c31536b..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/holder/JavaTimeOffsetDateTimeHolder_updateReadOnlyPropertyWithChoices.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.holder;
-
-import java.time.OffsetDateTime;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update with choices"
- , associateWith = "readOnlyProperty"
- , sequence = "2")
-@RequiredArgsConstructor
-public class JavaTimeOffsetDateTimeHolder_updateReadOnlyPropertyWithChoices {
-
- private final JavaTimeOffsetDateTimeHolder holder;
-
- @MemberSupport public JavaTimeOffsetDateTimeHolder act(final java.time.OffsetDateTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.OffsetDateTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
- @MemberSupport public List<java.time.OffsetDateTime> choices0Act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<OffsetDateTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdo-description.adoc
deleted file mode 100644
index 5eb8610e88..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdo-description.adoc
+++ /dev/null
@@ -1,18 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-JDO supports `java.time.OffsetDateTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeOffsetDateTimeJdo.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeOffsetDateTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdo.java
deleted file mode 100644
index a1cb3ca4d6..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdo.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.jdo;
-
-import javax.inject.Named;
-import javax.jdo.annotations.Column;
-import javax.jdo.annotations.DatastoreIdentity;
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.PersistenceCapable;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimeoffsetdatetime.persistence.JavaTimeOffsetDateTimeEntity;
-
-@Profile("demo-jdo")
-//tag::class[]
-@PersistenceCapable(identityType = IdentityType.DATASTORE, schema = "demo")
-@DatastoreIdentity(strategy = IdGeneratorStrategy.IDENTITY, column = "id")
-@Named("demo.JavaTimeOffsetDateTimeEntity")
-@DomainObject
-public class JavaTimeOffsetDateTimeJdo // <.>
- extends JavaTimeOffsetDateTimeEntity {
-
-//end::class[]
- public JavaTimeOffsetDateTimeJdo(final java.time.OffsetDateTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- this.readWritePropertyNoTimeZoneTranslation = initialValue;
- }
-
-//tag::class[]
- @Title(prepend = "java.time.OffsetDateTime JDO entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(allowsNull = "false") // <.>
- @Getter @Setter
- private java.time.OffsetDateTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.OffsetDateTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(allowsNull = "true") // <.>
- @Getter @Setter
- private java.time.OffsetDateTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(allowsNull = "true")
- @Getter @Setter
- private java.time.OffsetDateTime readWriteOptionalProperty;
-
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.OffsetDateTime readWritePropertyNoTimeZoneTranslation;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdoEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdoEntities.java
deleted file mode 100644
index 23e5ab854e..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jdo/JavaTimeOffsetDateTimeJdoEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.jdo;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jdo")
-@Service
-public class JavaTimeOffsetDateTimeJdoEntities
-extends ValueHolderRepository<java.time.OffsetDateTime, JavaTimeOffsetDateTimeJdo> {
-
- protected JavaTimeOffsetDateTimeJdoEntities() {
- super(JavaTimeOffsetDateTimeJdo.class);
- }
-
- @Override
- protected JavaTimeOffsetDateTimeJdo newDetachedEntity(java.time.OffsetDateTime value) {
- return new JavaTimeOffsetDateTimeJdo(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpa-description.adoc
deleted file mode 100644
index 15938f1372..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpa-description.adoc
+++ /dev/null
@@ -1,23 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-[WARNING]
-====
-TODO this yet is just a copy from JDO
-====
-
-JDO supports `java.time.OffsetDateTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeOffsetDateTimeJpa.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeOffsetDateTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpa.java
deleted file mode 100644
index 68d05b2069..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpa.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.jpa;
-
-import javax.inject.Named;
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EntityListeners;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener;
-
-import lombok.Getter;
-import lombok.NoArgsConstructor;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimeoffsetdatetime.persistence.JavaTimeOffsetDateTimeEntity;
-
-@Profile("demo-jpa")
-//tag::class[]
-@Entity
-@Table(
- schema = "demo",
- name = "JavaTimeOffsetDateTimeJpa"
-)
-@EntityListeners(CausewayEntityListener.class)
-@Named("demo.JavaTimeOffsetDateTimeEntity")
-@DomainObject
-@NoArgsConstructor
-public class JavaTimeOffsetDateTimeJpa
- extends JavaTimeOffsetDateTimeEntity {
-
-//end::class[]
- public JavaTimeOffsetDateTimeJpa(final java.time.OffsetDateTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- this.readWritePropertyNoTimeZoneTranslation = initialValue;
- }
-
-//tag::class[]
- @Id
- @GeneratedValue
- private Long id;
-
- @Title(prepend = "java.time.OffsetDateTime JPA entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(nullable = false) // <.>
- @Getter @Setter
- private java.time.OffsetDateTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(nullable = false)
- @Getter @Setter
- private java.time.OffsetDateTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(nullable = true) // <.>
- @Getter @Setter
- private java.time.OffsetDateTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(nullable = true)
- @Getter @Setter
- private java.time.OffsetDateTime readWriteOptionalProperty;
-
- @Column(nullable = false)
- @Getter @Setter
- private java.time.OffsetDateTime readWritePropertyNoTimeZoneTranslation;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpaEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpaEntities.java
deleted file mode 100644
index 99b9e92916..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/jpa/JavaTimeOffsetDateTimeJpaEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.jpa;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jpa")
-@Service
-public class JavaTimeOffsetDateTimeJpaEntities
-extends ValueHolderRepository<java.time.OffsetDateTime, JavaTimeOffsetDateTimeJpa> {
-
- protected JavaTimeOffsetDateTimeJpaEntities() {
- super(JavaTimeOffsetDateTimeJpa.class);
- }
-
- @Override
- protected JavaTimeOffsetDateTimeJpa newDetachedEntity(java.time.OffsetDateTime value) {
- return new JavaTimeOffsetDateTimeJpa(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeEntity.java
deleted file mode 100644
index 481b20809f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeEntity.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.persistence;
-
-import javax.inject.Named;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-
-import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom._infra.values.ValueHolder;
-import demoapp.dom.types.javatime.javatimeoffsetdatetime.holder.JavaTimeOffsetDateTimeHolder4;
-
-@Named("demo.JavaTimeOffsetTimeEntity") // shared permissions with concrete sub class
-@DomainObject
-public abstract class JavaTimeOffsetDateTimeEntity
-implements
- HasAsciiDocDescription,
- JavaTimeOffsetDateTimeHolder4,
- ValueHolder<java.time.OffsetDateTime> {
-
- @Override
- public java.time.OffsetDateTime value() {
- return getReadOnlyProperty();
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeEntity.layout.xml
deleted file mode 100644
index 6d0d6ccb53..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeEntity.layout.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<bs3:grid
- xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd"
- xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3"
- xmlns:cpt="https://causeway.apache.org/applib/layout/component"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bs3:row>
- <bs3:col span="10" unreferencedActions="true">
- <cpt:domainObject />
- <cpt:action id="actionReturning"/>
- <cpt:action id="actionReturningCollection"/>
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <cpt:fieldSet name="Read Only Properties" id="read-only-properties"/>
- <cpt:fieldSet name="Editable Properties" id="editable-properties"/>
- <cpt:fieldSet name="Optional Properties" id="optional-properties"/>
- <cpt:fieldSet name="Contributed by Mixins" id="contributed"/>
- <cpt:fieldSet name="@PropertyLayout(labelPosition=...)" id="label-positions"/>
- <cpt:fieldSet name="@ValueSemantics(timeZoneTranslation=...)" id="time-zone-translation"/>
- <cpt:fieldSet name="@PropertyLayout(renderDay=...)" id="render-day"/>
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- <bs3:col span="6">
- <cpt:fieldSet name="Description" id="description" >
- <cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadLayout" position="PANEL_DROPDOWN"/>
- <cpt:action id="inspectMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadJdoMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentCommands" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentExecutions" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentAuditTrailEntries" position="PANEL_DROPDOWN"/>
- <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
- <cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
- <cpt:property id="description"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- <bs3:row>
- <bs3:col span="12" unreferencedCollections="true"/>
- </bs3:row>
-
-</bs3:grid>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeSeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeSeeding.java
deleted file mode 100644
index 82dae4527e..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsetdatetime/persistence/JavaTimeOffsetDateTimeSeeding.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsetdatetime.persistence;
-
-import javax.inject.Inject;
-
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.seed.SeedServiceAbstract;
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Service
-public class JavaTimeOffsetDateTimeSeeding
-extends SeedServiceAbstract {
-
- @Inject
- public JavaTimeOffsetDateTimeSeeding(ValueHolderRepository<java.time.OffsetDateTime, ? extends JavaTimeOffsetDateTimeEntity> entities) {
- super(entities);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/OffsetTimes-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/OffsetTimes-description.adoc
index 3dcc7e5fad..a1dae68c66 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/OffsetTimes-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/OffsetTimes-description.adoc
@@ -3,6 +3,8 @@
The framework has built-in support for a number of temporal types, including `java.time.OffsetTime`.
These can be used either in entities or view models.
+WARNING: changing the offset has the effect of adjusting the time rather than the offset itself (which remains fixed to the current user's timezone); being tracked under https://issues.apache.org/jira/browse/CAUSEWAY-3491[CAUSEWAY-3491].
+
== How this demo works
On the left hand side is a collection of entities that uses the `OffsetTime` datatype.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder.java
deleted file mode 100644
index d8a4f0112f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import javax.inject.Named;
-
-@Named("demo.JavaTimeOffsetTimeHolder")
-//tag::class[]
-public interface JavaTimeOffsetTimeHolder {
-
- java.time.OffsetTime getReadOnlyProperty();
- void setReadOnlyProperty(java.time.OffsetTime c);
-
- java.time.OffsetTime getReadWriteProperty();
- void setReadWriteProperty(java.time.OffsetTime c);
-
- java.time.OffsetTime getReadOnlyOptionalProperty();
- void setReadOnlyOptionalProperty(java.time.OffsetTime c);
-
- java.time.OffsetTime getReadWriteOptionalProperty();
- void setReadWriteOptionalProperty(java.time.OffsetTime c);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder2.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder2.java
deleted file mode 100644
index f84cbf277a..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder2.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeOffsetTimeHolder2 extends JavaTimeOffsetTimeHolder {
-
- @Property // <.>
- @PropertyLayout(
- labelPosition = LabelPosition.LEFT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=LEFT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "1") // <.>
- default java.time.OffsetTime getReadOnlyPropertyDerivedLabelPositionLeft() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.TOP, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=TOP)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "2")
- default java.time.OffsetTime getReadOnlyPropertyDerivedLabelPositionTop() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.RIGHT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=RIGHT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "3")
- default java.time.OffsetTime getReadOnlyPropertyDerivedLabelPositionRight() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.NONE, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=NONE)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "4")
- default java.time.OffsetTime getReadOnlyPropertyDerivedLabelPositionNone() {
- return getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder3.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder3.java
deleted file mode 100644
index 352a2375f3..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder3.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeOffsetTimeHolder3 extends JavaTimeOffsetTimeHolder2 {
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = -1) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = -1)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "1") // <.>
- default java.time.OffsetTime getReadOnlyPropertyDerivedRenderDayAsDayBefore() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = 0) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = 0)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "2")
- default java.time.OffsetTime getReadOnlyPropertyDerivedRenderDayAsDay() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "3")
- default java.time.OffsetTime getReadOnlyPropertyDerivedRenderDayNotSpecified() {
- return getReadOnlyProperty();
- }
-
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder4.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder4.java
deleted file mode 100644
index 7f302cd665..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder4.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.TimeZoneTranslation;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeOffsetTimeHolder4 extends JavaTimeOffsetTimeHolder3 {
-
- @Property
- @ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)
- @PropertyLayout(
- describedAs = "@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "time-zone-translation", sequence = "1")
- default java.time.OffsetTime getReadOnlyPropertyNoTimeZoneTranslation() {
- return getReadOnlyProperty();
- }
-
- @Property(editing = Editing.ENABLED)
- @ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)
- @PropertyLayout(
- describedAs = "@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "time-zone-translation", sequence = "2")
- java.time.OffsetTime getReadWritePropertyNoTimeZoneTranslation();
- void setReadWritePropertyNoTimeZoneTranslation(final java.time.OffsetTime temporal);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_actionReturning.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_actionReturning.java
deleted file mode 100644
index 1911ac9cac..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_actionReturning.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeOffsetTimeHolder_actionReturning {
-
- private final JavaTimeOffsetTimeHolder holder;
-
- public java.time.OffsetTime act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_actionReturningCollection.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_actionReturningCollection.java
deleted file mode 100644
index e633129057..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_actionReturningCollection.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import java.time.OffsetTime;
-import java.util.Collection;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeOffsetTimeHolder_actionReturningCollection {
-
- private final JavaTimeOffsetTimeHolder holder;
-
- public Collection<java.time.OffsetTime> act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<OffsetTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_mixinProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_mixinProperty.java
deleted file mode 100644
index 88547d17f5..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_mixinProperty.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Property()
-@PropertyLayout(hidden = Where.ALL_TABLES, fieldSetId = "contributed", sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeOffsetTimeHolder_mixinProperty {
-
- private final JavaTimeOffsetTimeHolder holder;
-
- public java.time.OffsetTime prop() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyOptionalProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyOptionalProperty.java
deleted file mode 100644
index 9819860a48..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyOptionalProperty.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Parameter;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyOptionalProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeOffsetTimeHolder_updateReadOnlyOptionalProperty {
-
- private final JavaTimeOffsetTimeHolder holder;
-
- @MemberSupport public JavaTimeOffsetTimeHolder act(
- @Parameter(optionality = Optionality.OPTIONAL) // <.>
- final java.time.OffsetTime newValue
- ) {
- holder.setReadOnlyOptionalProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.OffsetTime default0Act() {
- return holder.getReadOnlyOptionalProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyProperty.java
deleted file mode 100644
index b509f6c463..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyProperty.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeOffsetTimeHolder_updateReadOnlyProperty {
-
- private final JavaTimeOffsetTimeHolder holder;
-
- @MemberSupport public JavaTimeOffsetTimeHolder act(final java.time.OffsetTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.OffsetTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyPropertyWithChoices.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyPropertyWithChoices.java
deleted file mode 100644
index ea5b62a2a3..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/holder/JavaTimeOffsetTimeHolder_updateReadOnlyPropertyWithChoices.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.holder;
-
-import java.time.OffsetTime;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update with choices"
- , associateWith = "readOnlyProperty"
- , sequence = "2")
-@RequiredArgsConstructor
-public class JavaTimeOffsetTimeHolder_updateReadOnlyPropertyWithChoices {
-
- private final JavaTimeOffsetTimeHolder holder;
-
- @MemberSupport public JavaTimeOffsetTimeHolder act(final java.time.OffsetTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.OffsetTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
- @MemberSupport public List<java.time.OffsetTime> choices0Act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<OffsetTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdo-description.adoc
deleted file mode 100644
index 1fce2c1905..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdo-description.adoc
+++ /dev/null
@@ -1,18 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-JDO supports `java.time.OffsetTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeOffsetTimeJdo.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeOffsetTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdo.java
deleted file mode 100644
index 17b567a0e4..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdo.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.jdo;
-
-import javax.inject.Named;
-import javax.jdo.annotations.Column;
-import javax.jdo.annotations.DatastoreIdentity;
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.PersistenceCapable;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimeoffsettime.persistence.JavaTimeOffsetTimeEntity;
-
-@Profile("demo-jdo")
-//tag::class[]
-@PersistenceCapable(identityType = IdentityType.DATASTORE, schema = "demo")
-@DatastoreIdentity(strategy = IdGeneratorStrategy.IDENTITY, column = "id")
-@Named("demo.JavaTimeOffsetTimeEntity")
-@DomainObject
-public class JavaTimeOffsetTimeJdo // <.>
- extends JavaTimeOffsetTimeEntity {
-
-//end::class[]
- public JavaTimeOffsetTimeJdo(final java.time.OffsetTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- this.readWritePropertyNoTimeZoneTranslation = initialValue;
- }
-
-//tag::class[]
- @Title(prepend = "java.time.OffsetTime JDO entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(allowsNull = "false") // <.>
- @Getter @Setter
- private java.time.OffsetTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.OffsetTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(allowsNull = "true") // <.>
- @Getter @Setter
- private java.time.OffsetTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(allowsNull = "true")
- @Getter @Setter
- private java.time.OffsetTime readWriteOptionalProperty;
-
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.OffsetTime readWritePropertyNoTimeZoneTranslation;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdoEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdoEntities.java
deleted file mode 100644
index 6cc795995b..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jdo/JavaTimeOffsetTimeJdoEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.jdo;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jdo")
-@Service
-public class JavaTimeOffsetTimeJdoEntities
-extends ValueHolderRepository<java.time.OffsetTime, JavaTimeOffsetTimeJdo> {
-
- protected JavaTimeOffsetTimeJdoEntities() {
- super(JavaTimeOffsetTimeJdo.class);
- }
-
- @Override
- protected JavaTimeOffsetTimeJdo newDetachedEntity(java.time.OffsetTime value) {
- return new JavaTimeOffsetTimeJdo(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpa-description.adoc
deleted file mode 100644
index 00eb43d734..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpa-description.adoc
+++ /dev/null
@@ -1,23 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-[WARNING]
-====
-TODO this yet is just a copy from JDO
-====
-
-JDO supports `java.time.OffsetTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeOffsetTimeJpa.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-include::../JavaTimeOffsetTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpa.java
deleted file mode 100644
index 602be32e94..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpa.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.jpa;
-
-import javax.inject.Named;
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EntityListeners;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener;
-
-import lombok.Getter;
-import lombok.NoArgsConstructor;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimeoffsettime.persistence.JavaTimeOffsetTimeEntity;
-
-@Profile("demo-jpa")
-//tag::class[]
-@Entity
-@Table(
- schema = "demo",
- name = "JavaTimeOffsetTimeJpa"
-)
-@EntityListeners(CausewayEntityListener.class)
-@Named("demo.JavaTimeOffsetTimeEntity")
-@DomainObject
-@NoArgsConstructor
-public class JavaTimeOffsetTimeJpa
- extends JavaTimeOffsetTimeEntity {
-
-//end::class[]
- public JavaTimeOffsetTimeJpa(final java.time.OffsetTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- this.readWritePropertyNoTimeZoneTranslation = initialValue;
- }
-
-//tag::class[]
- @Id
- @GeneratedValue
- private Long id;
-
- @Title(prepend = "java.time.OffsetTime JPA entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(nullable = false) // <.>
- @Getter @Setter
- private java.time.OffsetTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(nullable = false)
- @Getter @Setter
- private java.time.OffsetTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(nullable = true) // <.>
- @Getter @Setter
- private java.time.OffsetTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(nullable = true)
- @Getter @Setter
- private java.time.OffsetTime readWriteOptionalProperty;
-
- @Column(nullable = false)
- @Getter @Setter
- private java.time.OffsetTime readWritePropertyNoTimeZoneTranslation;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpaEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpaEntities.java
deleted file mode 100644
index c6278c8544..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/jpa/JavaTimeOffsetTimeJpaEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.jpa;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jpa")
-@Service
-public class JavaTimeOffsetTimeJpaEntities
-extends ValueHolderRepository<java.time.OffsetTime, JavaTimeOffsetTimeJpa> {
-
- protected JavaTimeOffsetTimeJpaEntities() {
- super(JavaTimeOffsetTimeJpa.class);
- }
-
- @Override
- protected JavaTimeOffsetTimeJpa newDetachedEntity(java.time.OffsetTime value) {
- return new JavaTimeOffsetTimeJpa(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeEntity.java
deleted file mode 100644
index 02e236e816..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeEntity.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.persistence;
-
-import javax.inject.Named;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-
-import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom._infra.values.ValueHolder;
-import demoapp.dom.types.javatime.javatimeoffsettime.holder.JavaTimeOffsetTimeHolder4;
-
-@Named("demo.JavaTimeOffsetTimeEntity") // shared permissions with concrete sub class
-@DomainObject
-public abstract class JavaTimeOffsetTimeEntity
-implements
- HasAsciiDocDescription,
- JavaTimeOffsetTimeHolder4,
- ValueHolder<java.time.OffsetTime> {
-
- @Override
- public java.time.OffsetTime value() {
- return getReadOnlyProperty();
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeEntity.layout.xml
deleted file mode 100644
index 6d0d6ccb53..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeEntity.layout.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<bs3:grid
- xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd"
- xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3"
- xmlns:cpt="https://causeway.apache.org/applib/layout/component"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bs3:row>
- <bs3:col span="10" unreferencedActions="true">
- <cpt:domainObject />
- <cpt:action id="actionReturning"/>
- <cpt:action id="actionReturningCollection"/>
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <cpt:fieldSet name="Read Only Properties" id="read-only-properties"/>
- <cpt:fieldSet name="Editable Properties" id="editable-properties"/>
- <cpt:fieldSet name="Optional Properties" id="optional-properties"/>
- <cpt:fieldSet name="Contributed by Mixins" id="contributed"/>
- <cpt:fieldSet name="@PropertyLayout(labelPosition=...)" id="label-positions"/>
- <cpt:fieldSet name="@ValueSemantics(timeZoneTranslation=...)" id="time-zone-translation"/>
- <cpt:fieldSet name="@PropertyLayout(renderDay=...)" id="render-day"/>
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- <bs3:col span="6">
- <cpt:fieldSet name="Description" id="description" >
- <cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadLayout" position="PANEL_DROPDOWN"/>
- <cpt:action id="inspectMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadJdoMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentCommands" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentExecutions" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentAuditTrailEntries" position="PANEL_DROPDOWN"/>
- <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
- <cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
- <cpt:property id="description"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- <bs3:row>
- <bs3:col span="12" unreferencedCollections="true"/>
- </bs3:row>
-
-</bs3:grid>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeSeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeSeeding.java
deleted file mode 100644
index 7e8ddd047f..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimeoffsettime/persistence/JavaTimeOffsetTimeSeeding.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimeoffsettime.persistence;
-
-import javax.inject.Inject;
-
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.seed.SeedServiceAbstract;
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Service
-public class JavaTimeOffsetTimeSeeding
-extends SeedServiceAbstract {
-
- @Inject
- public JavaTimeOffsetTimeSeeding(ValueHolderRepository<java.time.OffsetTime, ? extends JavaTimeOffsetTimeEntity> entities) {
- super(entities);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/ZonedDateTimes-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/ZonedDateTimes-description.adoc
index 95737970a9..769c18bab4 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/ZonedDateTimes-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/ZonedDateTimes-description.adoc
@@ -3,6 +3,9 @@
The framework has built-in support for a number of temporal types, including `java.time.ZonedDateTime`.
These can be used either in entities or view models.
+WARNING: it is currently not possible to enter values of this type; being tracked under https://issues.apache.org/jira/browse/CAUSEWAY-3489[CAUSEWAY-3489].
+
+
== How this demo works
On the left hand side is a collection of entities that uses the `ZonedDateTime` datatype.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder.java
deleted file mode 100644
index 42ac354f2c..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import javax.inject.Named;
-
-@Named("demo.JavaTimeZonedDateTimeHolder")
-//tag::class[]
-public interface JavaTimeZonedDateTimeHolder {
-
- java.time.ZonedDateTime getReadOnlyProperty();
- void setReadOnlyProperty(java.time.ZonedDateTime c);
-
- java.time.ZonedDateTime getReadWriteProperty();
- void setReadWriteProperty(java.time.ZonedDateTime c);
-
- java.time.ZonedDateTime getReadOnlyOptionalProperty();
- void setReadOnlyOptionalProperty(java.time.ZonedDateTime c);
-
- java.time.ZonedDateTime getReadWriteOptionalProperty();
- void setReadWriteOptionalProperty(java.time.ZonedDateTime c);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder2.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder2.java
deleted file mode 100644
index 2bd821c5a9..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder2.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeZonedDateTimeHolder2 extends demoapp.dom.types.javatime.javatimezoneddatetime.holder.JavaTimeZonedDateTimeHolder {
-
- @Property // <.>
- @PropertyLayout(
- labelPosition = LabelPosition.LEFT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=LEFT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "1") // <.>
- default java.time.ZonedDateTime getReadOnlyPropertyDerivedLabelPositionLeft() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.TOP, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=TOP)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "2")
- default java.time.ZonedDateTime getReadOnlyPropertyDerivedLabelPositionTop() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.RIGHT, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=RIGHT)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "3")
- default java.time.ZonedDateTime getReadOnlyPropertyDerivedLabelPositionRight() {
- return getReadOnlyProperty();
- }
-
- @Property
- @PropertyLayout(
- labelPosition = LabelPosition.NONE, // <.>
- describedAs =
- "@PropertyLayout(labelPosition=NONE)",
- hidden = Where.ALL_TABLES,
- fieldSetId = "label-positions", sequence = "4")
- default java.time.ZonedDateTime getReadOnlyPropertyDerivedLabelPositionNone() {
- return getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder3.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder3.java
deleted file mode 100644
index e0b42e9f72..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder3.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeZonedDateTimeHolder3 extends JavaTimeZonedDateTimeHolder2 {
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = -1) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = -1)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "1") // <.>
- default java.time.ZonedDateTime getReadOnlyPropertyDerivedRenderDayAsDayBefore() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics(dateRenderAdjustDays = 0) // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics(dateRenderAdjustDays = 0)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "2")
- default java.time.ZonedDateTime getReadOnlyPropertyDerivedRenderDayAsDay() {
- return getReadOnlyProperty();
- }
-
- @Property
- @ValueSemantics // <.>
- @PropertyLayout(
- describedAs = "@ValueSemantics",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "render-day", sequence = "3")
- default java.time.ZonedDateTime getReadOnlyPropertyDerivedRenderDayNotSpecified() {
- return getReadOnlyProperty();
- }
-
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder4.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder4.java
deleted file mode 100644
index 1737fa1918..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder4.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.LabelPosition;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.TimeZoneTranslation;
-import org.apache.causeway.applib.annotation.ValueSemantics;
-import org.apache.causeway.applib.annotation.Where;
-
-//tag::class[]
-public interface JavaTimeZonedDateTimeHolder4 extends JavaTimeZonedDateTimeHolder3 {
-
- @Property
- @ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)
- @PropertyLayout(
- describedAs = "@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "time-zone-translation", sequence = "1")
- default java.time.ZonedDateTime getReadOnlyPropertyNoTimeZoneTranslation() {
- return getReadOnlyProperty();
- }
-
- @Property(editing = Editing.ENABLED)
- @ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)
- @PropertyLayout(
- describedAs = "@ValueSemantics(timeZoneTranslation = TimeZoneTranslation.NONE)",
- labelPosition = LabelPosition.TOP,
- hidden = Where.ALL_TABLES,
- fieldSetId = "time-zone-translation", sequence = "2")
- java.time.ZonedDateTime getReadWritePropertyNoTimeZoneTranslation();
- void setReadWritePropertyNoTimeZoneTranslation(final java.time.ZonedDateTime temporal);
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_actionReturning.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_actionReturning.java
deleted file mode 100644
index 355f192870..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_actionReturning.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeZonedDateTimeHolder_actionReturning {
-
- private final JavaTimeZonedDateTimeHolder holder;
-
- public java.time.ZonedDateTime act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_actionReturningCollection.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_actionReturningCollection.java
deleted file mode 100644
index 2f1f4a8b92..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_actionReturningCollection.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import java.time.ZonedDateTime;
-import java.util.Collection;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-
-//tag::class[]
-@Action(semantics = SemanticsOf.SAFE)
-@RequiredArgsConstructor
-public class JavaTimeZonedDateTimeHolder_actionReturningCollection {
-
- private final JavaTimeZonedDateTimeHolder holder;
-
- public Collection<java.time.ZonedDateTime> act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<ZonedDateTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_mixinProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_mixinProperty.java
deleted file mode 100644
index 5716e54815..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_mixinProperty.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Where;
-
-import lombok.RequiredArgsConstructor;
-
-
-//tag::class[]
-@Property()
-@PropertyLayout(hidden = Where.ALL_TABLES, fieldSetId = "contributed", sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeZonedDateTimeHolder_mixinProperty {
-
- private final JavaTimeZonedDateTimeHolder holder;
-
- public java.time.ZonedDateTime prop() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyOptionalProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyOptionalProperty.java
deleted file mode 100644
index 38be3695c9..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyOptionalProperty.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Parameter;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyOptionalProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeZonedDateTimeHolder_updateReadOnlyOptionalProperty {
-
- private final JavaTimeZonedDateTimeHolder holder;
-
- @MemberSupport public JavaTimeZonedDateTimeHolder act(
- @Parameter(optionality = Optionality.OPTIONAL) // <.>
- final java.time.ZonedDateTime newValue
- ) {
- holder.setReadOnlyOptionalProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.ZonedDateTime default0Act() {
- return holder.getReadOnlyOptionalProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyProperty.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyProperty.java
deleted file mode 100644
index 7c7ea5be78..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyProperty.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update"
- , associateWith = "readOnlyProperty"
- , sequence = "1")
-@RequiredArgsConstructor
-public class JavaTimeZonedDateTimeHolder_updateReadOnlyProperty {
-
- private final JavaTimeZonedDateTimeHolder holder;
-
- @MemberSupport public JavaTimeZonedDateTimeHolder act(final java.time.ZonedDateTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.ZonedDateTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyPropertyWithChoices.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyPropertyWithChoices.java
deleted file mode 100644
index 392b15f8cd..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/holder/JavaTimeZonedDateTimeHolder_updateReadOnlyPropertyWithChoices.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.holder;
-
-import java.time.ZonedDateTime;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.PromptStyle;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-
-import lombok.RequiredArgsConstructor;
-
-import demoapp.dom.types.Samples;
-
-//tag::class[]
-@Action(
- semantics = SemanticsOf.IDEMPOTENT
-)
-@ActionLayout(
- promptStyle = PromptStyle.INLINE
- , named = "Update with choices"
- , associateWith = "readOnlyProperty"
- , sequence = "2")
-@RequiredArgsConstructor
-public class JavaTimeZonedDateTimeHolder_updateReadOnlyPropertyWithChoices {
-
- private final JavaTimeZonedDateTimeHolder holder;
-
- @MemberSupport public JavaTimeZonedDateTimeHolder act(final java.time.ZonedDateTime newValue) {
- holder.setReadOnlyProperty(newValue);
- return holder;
- }
-
- @MemberSupport public java.time.ZonedDateTime default0Act() {
- return holder.getReadOnlyProperty();
- }
-
- @MemberSupport public List<java.time.ZonedDateTime> choices0Act() {
- return samples.stream()
- .collect(Collectors.toList());
- }
-
- @Inject
- Samples<ZonedDateTime> samples;
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdo-description.adoc
deleted file mode 100644
index c02cbae4e2..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdo-description.adoc
+++ /dev/null
@@ -1,19 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-JDO supports `java.time.ZonedDateTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeZonedDateTimeJdo.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-
-include::../JavaTimeZonedDateTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdo.java
deleted file mode 100644
index 4cded27a80..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdo.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.jdo;
-
-import java.time.ZonedDateTime;
-
-import javax.inject.Named;
-import javax.jdo.annotations.Column;
-import javax.jdo.annotations.DatastoreIdentity;
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.PersistenceCapable;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimezoneddatetime.persistence.JavaTimeZonedDateTimeEntity;
-
-@Profile("demo-jdo")
-//tag::class[]
-@PersistenceCapable(identityType = IdentityType.DATASTORE, schema = "demo")
-@DatastoreIdentity(strategy = IdGeneratorStrategy.IDENTITY, column = "id")
-@Named("demo.JavaTimeZonedDateTimeEntity")
-@DomainObject
-public class JavaTimeZonedDateTimeJdo // <.>
- extends JavaTimeZonedDateTimeEntity {
-
-//end::class[]
- public JavaTimeZonedDateTimeJdo(final java.time.ZonedDateTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- this.readWritePropertyNoTimeZoneTranslation = initialValue;
- }
-
-//tag::class[]
- @Title(prepend = "java.time.ZonedDateTime JDO entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(allowsNull = "false") // <.>
- @Getter @Setter
- private java.time.ZonedDateTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(allowsNull = "false")
- @Getter @Setter
- private java.time.ZonedDateTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(allowsNull = "true") // <.>
- @Getter @Setter
- private java.time.ZonedDateTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(allowsNull = "true")
- @Getter @Setter
- private java.time.ZonedDateTime readWriteOptionalProperty;
-
- @Column(allowsNull = "false")
- @Getter @Setter
- private ZonedDateTime readWritePropertyNoTimeZoneTranslation;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdoEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdoEntities.java
deleted file mode 100644
index 37655cf2a8..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jdo/JavaTimeZonedDateTimeJdoEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.jdo;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jdo")
-@Service
-public class JavaTimeZonedDateTimeJdoEntities
-extends ValueHolderRepository<java.time.ZonedDateTime, JavaTimeZonedDateTimeJdo> {
-
- protected JavaTimeZonedDateTimeJdoEntities() {
- super(JavaTimeZonedDateTimeJdo.class);
- }
-
- @Override
- protected JavaTimeZonedDateTimeJdo newDetachedEntity(java.time.ZonedDateTime value) {
- return new JavaTimeZonedDateTimeJdo(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpa-description.adoc
deleted file mode 100644
index 82c9e704bb..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpa-description.adoc
+++ /dev/null
@@ -1,24 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-[WARNING]
-====
-TODO this yet is just a copy from JDO
-====
-
-JDO supports `java.time.ZonedDateTime` link:http://www.datanucleus.org:15080/products/accessplatform_5_2/jdo/mapping.html#_temporal_types_java_util_java_sql_java_time_jodatime[out-of-the-box], so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeZonedDateTimeJpa.java[tags=class]
-----
-<.> a no-arg constructor is introduced by JDO enhancer
-<.> required property as defined to JDO/DataNucleus.
-+
-Apache Causeway assumes properties are mandatory, so no additional annotation is required.
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway
-<.> optional property as defined to JDO/DataNucleus
-
-
-
-include::../JavaTimeZonedDateTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpa.java
deleted file mode 100644
index 85cfa75d22..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpa.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.jpa;
-
-import java.time.ZonedDateTime;
-
-import javax.inject.Named;
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EntityListeners;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import org.springframework.context.annotation.Profile;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener;
-
-import lombok.Getter;
-import lombok.NoArgsConstructor;
-import lombok.Setter;
-
-import demoapp.dom.types.javatime.javatimezoneddatetime.persistence.JavaTimeZonedDateTimeEntity;
-
-@Profile("demo-jpa")
-//tag::class[]
-@Entity
-@Table(
- schema = "demo",
- name = "JavaTimeZonedDateTimeJpa"
-)
-@EntityListeners(CausewayEntityListener.class)
-@Named("demo.JavaTimeZonedDateTimeEntity")
-@DomainObject
-@NoArgsConstructor
-public class JavaTimeZonedDateTimeJpa
- extends JavaTimeZonedDateTimeEntity {
-
-//end::class[]
- public JavaTimeZonedDateTimeJpa(final java.time.ZonedDateTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- this.readWritePropertyNoTimeZoneTranslation = initialValue;
- }
-
-//tag::class[]
- @Id
- @GeneratedValue
- private Long id;
-
- @Title(prepend = "java.time.ZonedDateTime JPA entity: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @Column(nullable = false) // <.>
- @Getter @Setter
- private java.time.ZonedDateTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @Column(nullable = false)
- @Getter @Setter
- private java.time.ZonedDateTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @Column(nullable = true) // <.>
- @Getter @Setter
- private java.time.ZonedDateTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @Column(nullable = true)
- @Getter @Setter
- private java.time.ZonedDateTime readWriteOptionalProperty;
-
- @Column(nullable = false)
- @Getter @Setter
- private ZonedDateTime readWritePropertyNoTimeZoneTranslation;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpaEntities.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpaEntities.java
deleted file mode 100644
index dd84a98993..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/jpa/JavaTimeZonedDateTimeJpaEntities.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.jpa;
-
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Profile("demo-jpa")
-@Service
-public class JavaTimeZonedDateTimeJpaEntities
-extends ValueHolderRepository<java.time.ZonedDateTime, JavaTimeZonedDateTimeJpa> {
-
- protected JavaTimeZonedDateTimeJpaEntities() {
- super(JavaTimeZonedDateTimeJpa.class);
- }
-
- @Override
- protected JavaTimeZonedDateTimeJpa newDetachedEntity(java.time.ZonedDateTime value) {
- return new JavaTimeZonedDateTimeJpa(value);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeEntity.java
deleted file mode 100644
index ebad8663be..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeEntity.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.persistence;
-
-import javax.inject.Named;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-
-import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom._infra.values.ValueHolder;
-import demoapp.dom.types.javatime.javatimezoneddatetime.holder.JavaTimeZonedDateTimeHolder4;
-
-@Named("demo.JavaTimeZonedDateTimeEntity") // shared permissions with concrete sub class
-@DomainObject
-public abstract class JavaTimeZonedDateTimeEntity
-implements
- HasAsciiDocDescription,
- JavaTimeZonedDateTimeHolder4,
- ValueHolder<java.time.ZonedDateTime> {
-
- @Override
- public java.time.ZonedDateTime value() {
- return getReadOnlyProperty();
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeEntity.layout.xml
deleted file mode 100644
index 6d0d6ccb53..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeEntity.layout.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<bs3:grid
- xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd"
- xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3"
- xmlns:cpt="https://causeway.apache.org/applib/layout/component"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bs3:row>
- <bs3:col span="10" unreferencedActions="true">
- <cpt:domainObject />
- <cpt:action id="actionReturning"/>
- <cpt:action id="actionReturningCollection"/>
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <cpt:fieldSet name="Read Only Properties" id="read-only-properties"/>
- <cpt:fieldSet name="Editable Properties" id="editable-properties"/>
- <cpt:fieldSet name="Optional Properties" id="optional-properties"/>
- <cpt:fieldSet name="Contributed by Mixins" id="contributed"/>
- <cpt:fieldSet name="@PropertyLayout(labelPosition=...)" id="label-positions"/>
- <cpt:fieldSet name="@ValueSemantics(timeZoneTranslation=...)" id="time-zone-translation"/>
- <cpt:fieldSet name="@PropertyLayout(renderDay=...)" id="render-day"/>
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- <bs3:col span="6">
- <cpt:fieldSet name="Description" id="description" >
- <cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadLayout" position="PANEL_DROPDOWN"/>
- <cpt:action id="inspectMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadJdoMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentCommands" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentExecutions" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentAuditTrailEntries" position="PANEL_DROPDOWN"/>
- <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
- <cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
- <cpt:property id="description"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- <bs3:row>
- <bs3:col span="12" unreferencedCollections="true"/>
- </bs3:row>
-
-</bs3:grid>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeSeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeSeeding.java
deleted file mode 100644
index 8cc4db29c8..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/persistence/JavaTimeZonedDateTimeSeeding.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.persistence;
-
-import javax.inject.Inject;
-
-import org.springframework.stereotype.Service;
-
-import demoapp.dom._infra.seed.SeedServiceAbstract;
-import demoapp.dom._infra.values.ValueHolderRepository;
-
-@Service
-public class JavaTimeZonedDateTimeSeeding
-extends SeedServiceAbstract {
-
- @Inject
- public JavaTimeZonedDateTimeSeeding(ValueHolderRepository<java.time.ZonedDateTime, ? extends JavaTimeZonedDateTimeEntity> entities) {
- super(entities);
- }
-
-}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm-description.adoc
deleted file mode 100644
index 2cf1408308..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm-description.adoc
+++ /dev/null
@@ -1,18 +0,0 @@
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...]
-
-JAXB supports `Character` out-of-the-box, so no special annotations are required.
-
-[source,java]
-----
-include::JavaTimeZonedDateTimeVm.java[tags=class]
-----
-<.> a no-arg constructor is required by JAXB
-<.> required property as defined to JAXB
-<.> The `org.apache.causeway.applib.util.JaxbAdapters.SqlDateAdapter` instructs JAXB how to marshal the `java.time.ZonedDateTime` instance to and from XML
-<.> directly editable property as defined to Apache Causeway
-<.> optional property as defined to Apache Causeway.
-+
-Properties are optional by default in JAXB, so no additional annotation required.
-
-
-include::../JavaTimeZonedDateTimes-common.adoc[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm.java b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm.java
deleted file mode 100644
index 4dd28416af..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package demoapp.dom.types.javatime.javatimezoneddatetime.vm;
-
-import java.time.ZonedDateTime;
-
-import javax.inject.Named;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.Nature;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.applib.jaxb.JavaTimeJaxbAdapters;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom.types.javatime.javatimezoneddatetime.holder.JavaTimeZonedDateTimeHolder4;
-
-//tag::class[]
-@XmlRootElement(name = "root")
-@XmlType
-@XmlAccessorType(XmlAccessType.FIELD)
-@Named("demo.JavaTimeZonedDateTimeVm")
-@DomainObject(
- nature=Nature.VIEW_MODEL)
-@lombok.NoArgsConstructor // <.>
-public class JavaTimeZonedDateTimeVm
- implements HasAsciiDocDescription, JavaTimeZonedDateTimeHolder4 {
-
-//end::class[]
- public JavaTimeZonedDateTimeVm(final java.time.ZonedDateTime initialValue) {
- this.readOnlyProperty = initialValue;
- this.readWriteProperty = initialValue;
- }
-
-//tag::class[]
- @Title(prepend = "java.time.ZonedDateTime view model: ")
- @PropertyLayout(fieldSetId = "read-only-properties", sequence = "1")
- @XmlElement(required = true) // <.>
- @XmlJavaTypeAdapter(JavaTimeJaxbAdapters.ZonedDateTimeAdapter.class) // <.>
- @Getter @Setter
- private java.time.ZonedDateTime readOnlyProperty;
-
- @Property(editing = Editing.ENABLED) // <.>
- @PropertyLayout(fieldSetId = "editable-properties", sequence = "1")
- @XmlElement(required = true)
- @XmlJavaTypeAdapter(JavaTimeJaxbAdapters.ZonedDateTimeAdapter.class)
- @Getter @Setter
- private java.time.ZonedDateTime readWriteProperty;
-
- @Property(optionality = Optionality.OPTIONAL) // <.>
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "1")
- @XmlJavaTypeAdapter(JavaTimeJaxbAdapters.ZonedDateTimeAdapter.class)
- @Getter @Setter
- private java.time.ZonedDateTime readOnlyOptionalProperty;
-
- @Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "optional-properties", sequence = "2")
- @XmlJavaTypeAdapter(JavaTimeJaxbAdapters.ZonedDateTimeAdapter.class)
- @Getter @Setter
- private java.time.ZonedDateTime readWriteOptionalProperty;
-
- @XmlJavaTypeAdapter(JavaTimeJaxbAdapters.ZonedDateTimeAdapter.class)
- @Getter @Setter
- private ZonedDateTime readWritePropertyNoTimeZoneTranslation;
-
-}
-//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm.layout.xml
deleted file mode 100644
index 6d0d6ccb53..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/javatime/javatimezoneddatetime/vm/JavaTimeZonedDateTimeVm.layout.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- you under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
-<bs3:grid
- xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd"
- xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3"
- xmlns:cpt="https://causeway.apache.org/applib/layout/component"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <bs3:row>
- <bs3:col span="10" unreferencedActions="true">
- <cpt:domainObject />
- <cpt:action id="actionReturning"/>
- <cpt:action id="actionReturningCollection"/>
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <cpt:fieldSet name="Read Only Properties" id="read-only-properties"/>
- <cpt:fieldSet name="Editable Properties" id="editable-properties"/>
- <cpt:fieldSet name="Optional Properties" id="optional-properties"/>
- <cpt:fieldSet name="Contributed by Mixins" id="contributed"/>
- <cpt:fieldSet name="@PropertyLayout(labelPosition=...)" id="label-positions"/>
- <cpt:fieldSet name="@ValueSemantics(timeZoneTranslation=...)" id="time-zone-translation"/>
- <cpt:fieldSet name="@PropertyLayout(renderDay=...)" id="render-day"/>
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- <bs3:col span="6">
- <cpt:fieldSet name="Description" id="description" >
- <cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadLayout" position="PANEL_DROPDOWN"/>
- <cpt:action id="inspectMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
- <cpt:action id="downloadJdoMetamodel" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentCommands" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentExecutions" position="PANEL_DROPDOWN"/>
- <cpt:action id="recentAuditTrailEntries" position="PANEL_DROPDOWN"/>
- <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
- <cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
- <cpt:property id="description"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- <bs3:row>
- <bs3:col span="12" unreferencedCollections="true"/>
- </bs3:row>
-
-</bs3:grid>