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/05/18 13:17:19 UTC
[causeway] 02/17: CAUSEWAY-2485: blob/clob descriptions for demo
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 1450bca3879e49207540b11796bcc21de54fc624
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu May 18 09:14:38 2023 +0100
CAUSEWAY-2485: blob/clob descriptions for demo
---
.../main/java/demoapp/dom/types/causeway/blobs/jdo/package-info.java | 4 ++++
.../main/java/demoapp/dom/types/causeway/blobs/jpa/package-info.java | 4 ++++
.../dom/types/causeway/blobs/vm/CausewayBlobVm-description.adoc | 2 +-
.../dom/types/causeway/clobs/vm/CausewayClobVm-description.adoc | 2 +-
4 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jdo/package-info.java b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jdo/package-info.java
index e69de29bb2..690693d81d 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jdo/package-info.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jdo/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * This files are NOT generated.
+ */
+package demoapp.dom.types.causeway.blobs.jdo;
\ No newline at end of file
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jpa/package-info.java b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jpa/package-info.java
index e69de29bb2..1dad20c00a 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jpa/package-info.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/jpa/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * This files are NOT generated.
+ */
+package demoapp.dom.types.causeway.blobs.jpa;
\ No newline at end of file
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/vm/CausewayBlobVm-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/vm/CausewayBlobVm-description.adoc
index 40e89b278a..6d2e95f400 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/vm/CausewayBlobVm-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/blobs/vm/CausewayBlobVm-description.adoc
@@ -1,6 +1,6 @@
: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 [...]
-The Apache Causeway `Blob` value type provides its own implementation of `@XmlJavaTypeAdapter`, meaning that JAXB can serialize the state of this value type without any further annotations required on the view model itself.
+Apache Causeway provides its own implementation of `@XmlJavaTypeAdapter` for the `Blob` value type, meaning that JAXB can serialize properties of this value type without further configuration.
[source,java]
----
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/clobs/vm/CausewayClobVm-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/clobs/vm/CausewayClobVm-description.adoc
index e168a8bc7a..8609b372b2 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/clobs/vm/CausewayClobVm-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/types/causeway/clobs/vm/CausewayClobVm-description.adoc
@@ -1,6 +1,6 @@
: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 `Clob` out-of-the-box, so no special annotations are required.
+Apache Causeway provides its own implementation of `@XmlJavaTypeAdapter` for the `Clob` value type, meaning that JAXB can serialize properties of this value type without further configuration.
[source,java]
----