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/25 09:11:08 UTC
[causeway] branch master updated (09b99885d4 -> 66d1d98c49)
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git
from 09b99885d4 Revert "CAUSEWAY-2445: switch build scripts to use JDK 20"
new 4e57fd90b9 CAUSEWAY-2485: polishing
new 66d1d98c49 CAUSEWAY-2485: polishes for @DomainObject#entityChangePublishing
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/main/java/demoapp/dom/DemoModuleJpa.java | 4 +-
.../dom/_infra/values/ValueHolderRepository.java | 4 ++
.../_changes/ExposeCapturedChanges_clear.java | 4 +-
.../ExposeCapturedChanges_recentChanges.java | 4 +-
.../aliased/DomainObjectAliasedEntity.java | 2 +
.../DomainObjectAliasedPage-description.adoc | 26 ++++++-
.../aliased/DomainObjectAliasedPage_lookup.java | 10 ++-
.../DomainObjectAliasedEntityImpl-description.adoc | 6 +-
.../DomainObjectAliasedEntityImpl-description.adoc | 6 +-
.../DomainObjectAutoCompletePage-description.adoc | 36 ++++++++--
.../DomainObjectAutoCompletePage_find.java | 6 +-
...inObjectAutoCompleteEntityImpl-description.adoc | 6 +-
...inObjectAutoCompleteEntityImpl-description.adoc | 6 +-
.../bounded/DomainObjectBounding.layout.xml | 79 ----------------------
.../bounded/DomainObjectBoundingEntity.layout.xml} | 0
.../DomainObjectBoundingPage-description.adoc | 19 ++++--
.../bounded/DomainObjectBoundingPage.layout.xml | 7 +-
...DomainObjectBoundingEntityImpl-description.adoc | 4 +-
...DomainObjectBoundingEntityImpl-description.adoc | 4 +-
.../bounded/jpa/DomainObjectBoundingPage_find.java | 7 +-
...ut.xml => DomainObjectEditingEntity.layout.xml} | 0
.../DomainObjectEditingPage-description.adoc | 38 ++++++++---
.../DomainObjectEditingEntityImpl-description.adoc | 3 +-
.../editing/jdo/DomainObjectEditingEntityImpl.java | 10 +--
.../editing/jpa/DomainObjectEditingEntityImpl.java | 10 +--
...inObjectEntityChangePublishingEntity.layout.xml | 5 +-
...jectEntityChangePublishingPage-description.adoc | 48 ++++++++++---
...mainObjectEntityChangePublishingPage.layout.xml | 3 +
...ainObjectEntityChangePublishingPage_modify.java | 2 +
.../src/main/java/demoapp/dom/menubars.layout.xml | 8 +--
.../actions}/TvCharacter.java | 2 +-
.../actions}/TvCharacterPopulator.java | 2 +-
.../progmodel => progmodel/actions}/TvShow.java | 2 +-
.../autocomplete/ActionAutoCompleteMenu.java | 4 +-
...pletePage-dependentAutoCompleteDescription.adoc | 0
.../ActionAutoCompletePage-description.adoc | 0
...mpletePage-multipleAutoCompleteDescription.adoc | 0
...oCompletePage-parameterMatchingDescription.adoc | 0
...CompletePage-singleAutoCompleteDescription.adoc | 0
.../autocomplete/ActionAutoCompletePage.java | 4 +-
.../autocomplete/ActionAutoCompletePage.layout.xml | 0
.../ActionAutoCompletePage_selectTvCharacter.java | 4 +-
...onAutoCompletePage_selectTvCharacterByShow.java | 6 +-
.../ActionAutoCompletePage_selectTvCharacters.java | 4 +-
...nAutoCompletePage_selectTvCharactersByShow.java | 6 +-
...AutoCompletePage_selectTvCharactersByShows.java | 6 +-
.../bulk/BulkActionItemEntity-description.adoc | 0
.../actions}/bulk/BulkActionItemEntity.java | 2 +-
.../actions}/bulk/BulkActionItemEntity.layout.xml | 0
.../bulk/BulkActionItemEntityRepository.java | 2 +-
.../actions}/bulk/BulkActionItemEntitySeeding.java | 2 +-
.../actions}/bulk/BulkActionMenu.java | 2 +-
.../actions}/bulk/BulkActionPage-description.adoc | 0
.../actions}/bulk/BulkActionPage.java | 2 +-
.../actions}/bulk/BulkActionPage.layout.xml | 0
.../BulkActionPage_addToAmericanFavourites.java | 2 +-
.../BulkActionPage_addToBritishFavourites.java | 2 +-
...ulkActionPage_removeFromAmericanFavourites.java | 2 +-
...BulkActionPage_removeFromBritishFavourites.java | 2 +-
.../jdo/BulkActionItemEntityImpl-description.adoc | 0
.../bulk/jdo/BulkActionItemEntityImpl.java | 4 +-
.../jdo/BulkActionItemEntityImplRepository.java | 4 +-
.../jpa/BulkActionItemEntityImpl-description.adoc | 0
.../bulk/jpa/BulkActionItemEntityImpl.java | 4 +-
.../jpa/BulkActionItemEntityImplRepository.java | 4 +-
.../actions}/choices/ActionChoicesMenu.java | 4 +-
...tionChoicesPage-dependentChoiceDescription.adoc | 0
.../choices/ActionChoicesPage-description.adoc | 0
...tionChoicesPage-multipleChoicesDescription.adoc | 0
...onChoicesPage-parameterMatchingDescription.adoc | 0
.../ActionChoicesPage-singleChoiceDescription.adoc | 0
.../actions}/choices/ActionChoicesPage.java | 5 +-
.../actions}/choices/ActionChoicesPage.layout.xml | 0
.../ActionChoicesPage_selectTvCharacter.java | 4 +-
.../ActionChoicesPage_selectTvCharacterByShow.java | 8 +--
.../ActionChoicesPage_selectTvCharacters.java | 4 +-
...ActionChoicesPage_selectTvCharactersByShow.java | 9 +--
...ctionChoicesPage_selectTvCharactersByShows.java | 14 +---
.../actions}/defaults/ActionDefaultsMenu.java | 4 +-
.../defaults/ActionDefaultsPage-description.adoc | 0
...onDefaultsPage-multipleDefaultsDescription.adoc | 0
...nDefaultsPage-parameterMatchingDescription.adoc | 0
...ctionDefaultsPage-singleDefaultDescription.adoc | 0
.../actions}/defaults/ActionDefaultsPage.java | 6 +-
.../defaults/ActionDefaultsPage.layout.xml | 0
...ActionDefaultsPage_selectTvCharacterByShow.java | 7 +-
.../ActionDefaultsPage_selectTvCharacters.java | 4 +-
...efaultsPage_selectTvCharactersByShowAndSex.java | 6 +-
.../actions}/validate/ActionValidateMenu.java | 4 +-
...nValidatePage-allArgsValidationDescription.adoc | 0
.../validate/ActionValidatePage-description.adoc | 0
...nValidatePage-parameterMatchingDescription.adoc | 0
...tionValidatePage-singleValidateDescription.adoc | 0
.../actions}/validate/ActionValidatePage.java | 9 +--
.../validate/ActionValidatePage.layout.xml | 0
...ActionValidatePage_selectTvCharacterByShow.java | 7 +-
.../ActionValidatePage_selectTvCharacters.java | 4 +-
...ge_selectTvCharactersByShowAndSexUsingName.java | 8 +--
..._selectTvCharactersByShowAndSexUsingRecord.java | 6 +-
.../actions}/veto/ActionVetoMenu.java | 4 +-
.../actions}/veto/ActionVetoPage-description.adoc | 0
.../ActionVetoPage-disableActionDescription.adoc | 0
.../veto/ActionVetoPage-hideActionDescription.adoc | 0
.../veto/ActionVetoPage-vetoParamDescription.adoc | 0
.../actions}/veto/ActionVetoPage.java | 6 +-
.../actions}/veto/ActionVetoPage.layout.xml | 0
.../ActionVetoPage_selectTvCharactersBySex.java | 5 +-
...onVetoPage_selectTvCharactersIfNotDisabled.java | 4 +-
...tionVetoPage_selectTvCharactersIfNotHidden.java | 6 +-
.../compositevalues/ComplexNumber.java | 2 +-
.../ComplexNumberValueSemantics.java | 2 +-
.../compositevalues/ComplexNumber_default.java | 2 +-
.../compositevalues/CompositeValueTypeMenu.java | 2 +-
.../CompositeValueTypePage-description.adoc | 0
.../compositevalues/CompositeValueTypePage.java | 3 +-
.../CompositeValueTypePage.layout.xml | 0
.../CompositeValueTypePage_addComplexNumber.java | 2 +-
...mpositeValueTypePage_subtractComplexNumber.java | 2 +-
.../customvalues/EmailAddress.java | 2 +-
.../customvalues/EmailAddressValueSemantics.java | 2 +-
.../customvaluetypes}/customvalues/Percentage.java | 2 +-
.../customvalues/ScalarValueTypeMenu.java | 2 +-
.../ScalarValueTypePage-description.adoc | 0
.../customvalues/ScalarValueTypePage.java | 2 +-
.../customvalues/ScalarValueTypePage.layout.xml | 0
.../embeddedvalues/ComplexNumber.java | 2 +-
.../embeddedvalues/ComplexNumberSamples.java | 2 +-
.../embeddedvalues/NumberConstantEntity.java | 2 +-
.../embeddedvalues/NumberConstantSeeding.java | 2 +-
.../embeddedvalues/jdo/ComplexNumberJdo.java | 7 +-
.../jdo/ComplexNumberJdoValueSemantics.java | 2 +-
.../embeddedvalues/jdo/EmbeddedTypeMenuJdo.java | 2 +-
.../jdo/EmbeddedTypePageJdo-description.adoc | 0
.../embeddedvalues/jdo/EmbeddedTypePageJdo.java | 6 +-
.../jdo/EmbeddedTypePageJdo.layout.xml | 0
.../jdo/NumberConstantJdo-description.adoc | 0
.../embeddedvalues/jdo/NumberConstantJdo.java | 6 +-
.../jdo/NumberConstantJdo.layout.xml | 0
.../embeddedvalues/jdo/NumberConstantJdo.svg | 0
.../jdo/NumberConstantJdoRepository.java | 4 +-
.../embeddedvalues/jpa/ComplexNumberJpa.java | 4 +-
.../jpa/ComplexNumberJpaValueSemantics.java | 2 +-
.../embeddedvalues/jpa/EmbeddedTypeMenuJpa.java | 2 +-
.../jpa/EmbeddedTypePageJpa-description.adoc | 0
.../embeddedvalues/jpa/EmbeddedTypePageJpa.java | 6 +-
.../jpa/EmbeddedTypePageJpa.layout.xml | 0
.../jpa/NumberConstantJpa-description.adoc | 0
.../embeddedvalues/jpa/NumberConstantJpa.java | 6 +-
.../jpa/NumberConstantJpa.layout.xml | 0
.../embeddedvalues/jpa/NumberConstantJpa.svg | 0
.../jpa/NumberConstantJpaRepository.java | 4 +-
.../objects => }/progmodel/mixins/CountHolder.java | 2 +-
.../progmodel/mixins/CountHolder_explanation.java | 2 +-
.../mixins/CountHolder_fibonacciSequence.java | 2 +-
.../progmodel/mixins/CountHolder_updateCount.java | 2 +-
.../mixins/FibonacciNumberVm-description.adoc | 0
.../progmodel/mixins/FibonacciNumberVm.java | 2 +-
.../progmodel/mixins/FibonacciNumberVm.layout.xml | 0
.../objects => }/progmodel/mixins/MixinMenu.java | 2 +-
.../progmodel/mixins/MixinPage-description.adoc | 0
.../objects => }/progmodel/mixins/MixinPage.java | 2 +-
.../progmodel/mixins/MixinPage.layout.xml | 0
.../services}/bean/readme.txt | 0
.../src/main/resources/static/css/application.css | 4 ++
164 files changed, 362 insertions(+), 319 deletions(-)
delete mode 100644 examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBounding.layout.xml
copy examples/demo/domain/src/main/java/demoapp/dom/domain/{actions/progmodel/bulk/BulkActionItemEntity.layout.xml => objects/DomainObject/bounded/DomainObjectBoundingEntity.layout.xml} (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/{DomainObjectEditing.layout.xml => DomainObjectEditingEntity.layout.xml} (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/TvCharacter.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/TvCharacterPopulator.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/TvShow.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompleteMenu.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage-dependentAutoCompleteDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage-multipleAutoCompleteDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage-parameterMatchingDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage-singleAutoCompleteDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage_selectTvCharacter.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage_selectTvCharacterByShow.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage_selectTvCharacters.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage_selectTvCharactersByShow.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/autocomplete/ActionAutoCompletePage_selectTvCharactersByShows.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionItemEntity-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionItemEntity.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionItemEntity.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionItemEntityRepository.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionItemEntitySeeding.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionMenu.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionPage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionPage.java (98%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionPage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionPage_addToAmericanFavourites.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionPage_addToBritishFavourites.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionPage_removeFromAmericanFavourites.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/BulkActionPage_removeFromBritishFavourites.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/jdo/BulkActionItemEntityImpl-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/jdo/BulkActionItemEntityImpl.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/jdo/BulkActionItemEntityImplRepository.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/jpa/BulkActionItemEntityImpl-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/jpa/BulkActionItemEntityImpl.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/bulk/jpa/BulkActionItemEntityImplRepository.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesMenu.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage-dependentChoiceDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage-multipleChoicesDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage-parameterMatchingDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage-singleChoiceDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage_selectTvCharacter.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage_selectTvCharacterByShow.java (90%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage_selectTvCharacters.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage_selectTvCharactersByShow.java (90%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/choices/ActionChoicesPage_selectTvCharactersByShows.java (83%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsMenu.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage-multipleDefaultsDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage-parameterMatchingDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage-singleDefaultDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage_selectTvCharacterByShow.java (90%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage_selectTvCharacters.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/defaults/ActionDefaultsPage_selectTvCharactersByShowAndSex.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidateMenu.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage-allArgsValidationDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage-parameterMatchingDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage-singleValidateDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage_selectTvCharacterByShow.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage_selectTvCharacters.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingName.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingRecord.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoMenu.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage-disableActionDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage-hideActionDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage-vetoParamDescription.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage_selectTvCharactersBySex.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage_selectTvCharactersIfNotDisabled.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/actions/progmodel => progmodel/actions}/veto/ActionVetoPage_selectTvCharactersIfNotHidden.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/ComplexNumber.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/ComplexNumberValueSemantics.java (98%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/ComplexNumber_default.java (93%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/CompositeValueTypeMenu.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/CompositeValueTypePage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/CompositeValueTypePage.java (92%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/CompositeValueTypePage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/CompositeValueTypePage_addComplexNumber.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/compositevalues/CompositeValueTypePage_subtractComplexNumber.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/customvalues/EmailAddress.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/customvalues/EmailAddressValueSemantics.java (98%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/customvalues/Percentage.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/customvalues/ScalarValueTypeMenu.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/customvalues/ScalarValueTypePage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/customvalues/ScalarValueTypePage.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/customvalues/ScalarValueTypePage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/ComplexNumber.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/ComplexNumberSamples.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/NumberConstantEntity.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/NumberConstantSeeding.java (95%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/ComplexNumberJdo.java (90%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/ComplexNumberJdoValueSemantics.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/EmbeddedTypeMenuJdo.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/EmbeddedTypePageJdo-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/EmbeddedTypePageJdo.java (88%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/EmbeddedTypePageJdo.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/NumberConstantJdo-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/NumberConstantJdo.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/NumberConstantJdo.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/NumberConstantJdo.svg (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jdo/NumberConstantJdoRepository.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/ComplexNumberJpa.java (92%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/ComplexNumberJpaValueSemantics.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/EmbeddedTypeMenuJpa.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/EmbeddedTypePageJpa-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/EmbeddedTypePageJpa.java (88%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/EmbeddedTypePageJpa.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/NumberConstantJpa-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/NumberConstantJpa.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/NumberConstantJpa.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/NumberConstantJpa.svg (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/customvaluetypes}/embeddedvalues/jpa/NumberConstantJpaRepository.java (91%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/CountHolder.java (94%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/CountHolder_explanation.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/CountHolder_fibonacciSequence.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/CountHolder_updateCount.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/FibonacciNumberVm-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/FibonacciNumberVm.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/FibonacciNumberVm.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/MixinMenu.java (96%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/MixinPage-description.adoc (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/MixinPage.java (97%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects => }/progmodel/mixins/MixinPage.layout.xml (100%)
rename examples/demo/domain/src/main/java/demoapp/dom/{domain/objects/progmodel => progmodel/services}/bean/readme.txt (100%)
[causeway] 02/02: CAUSEWAY-2485: polishes for @DomainObject#entityChangePublishing
Posted by da...@apache.org.
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 66d1d98c49880b852fea95d8b65cee9ed110be27
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu May 25 10:10:22 2023 +0100
CAUSEWAY-2485: polishes for @DomainObject#entityChangePublishing
---
.../dom/_infra/values/ValueHolderRepository.java | 4 ++
.../_changes/ExposeCapturedChanges_clear.java | 4 +-
.../ExposeCapturedChanges_recentChanges.java | 4 +-
...ut.xml => DomainObjectEditingEntity.layout.xml} | 0
.../DomainObjectEditingPage-description.adoc | 38 +++++++++++++----
.../DomainObjectEditingEntityImpl-description.adoc | 3 +-
.../editing/jdo/DomainObjectEditingEntityImpl.java | 10 ++---
.../editing/jpa/DomainObjectEditingEntityImpl.java | 10 ++---
...inObjectEntityChangePublishingEntity.layout.xml | 5 +--
...jectEntityChangePublishingPage-description.adoc | 48 ++++++++++++++++++----
...mainObjectEntityChangePublishingPage.layout.xml | 3 ++
...ainObjectEntityChangePublishingPage_modify.java | 2 +
12 files changed, 96 insertions(+), 35 deletions(-)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/_infra/values/ValueHolderRepository.java b/examples/demo/domain/src/main/java/demoapp/dom/_infra/values/ValueHolderRepository.java
index 22f8a1df90..f2ad829ba3 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/_infra/values/ValueHolderRepository.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/_infra/values/ValueHolderRepository.java
@@ -64,6 +64,10 @@ public abstract class ValueHolderRepository<T, E extends ValueHolder<T>> {
List<E> all = all();
return all.isEmpty() ? Collections.emptyList() : Collections.singletonList(all.get(0));
}
+ public List<E> lastAsList() {
+ List<E> all = all();
+ return all.isEmpty() ? Collections.emptyList() : Collections.singletonList(all.get(all.size()-1));
+ }
public void remove(final Object entity) {
repositoryService.removeAndFlush(entity);
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_clear.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_clear.java
index 65a062be23..e76f1d2a54 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_clear.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_clear.java
@@ -42,10 +42,10 @@ public class ExposeCapturedChanges_clear {
//tag::class[]
public DomainObjectEntityChangePublishingPage act() {
- entityChangesSubscriberToCaptureChangesInMemory.clear();
+ subscriber.clear();
return domainObjectAuditingVm;
}
- @Inject EntityChangesSubscriberToCaptureChangesInMemory entityChangesSubscriberToCaptureChangesInMemory;;
+ @Inject EntityChangesSubscriberToCaptureChangesInMemory subscriber;;
}
//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_recentChanges.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_recentChanges.java
index 4d5d627462..43118b29ef 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_recentChanges.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/_changes/ExposeCapturedChanges_recentChanges.java
@@ -43,13 +43,13 @@ public class ExposeCapturedChanges_recentChanges {
//tag::class[]
public List<ChangesVm> coll() {
val list = new LinkedList<ChangesVm>();
- entityChangesSubscriberToCaptureChangesInMemory
+ subscriber
.streamChangedEntities()
.map(ChangesVm::new)
.forEach(list::push); // reverse order
return list;
}
- @Inject EntityChangesSubscriberToCaptureChangesInMemory entityChangesSubscriberToCaptureChangesInMemory;
+ @Inject EntityChangesSubscriberToCaptureChangesInMemory subscriber;
}
//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditing.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditingEntity.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditing.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditingEntity.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditingPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditingPage-description.adoc
index 78db02ad1f..ed7a1de9d5 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditingPage-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/DomainObjectEditingPage-description.adoc
@@ -15,19 +15,11 @@ causeway:
----
This demo application is configured in this recommended way, with property editing disabled by default.
-
The link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/DomainObject.html#editing[@DomainObject#editing] annotation can be used to override the default for a specific object, so that all of its properties can be edited.
-It's also possible to override the class-level default on a per-property basis, using the link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/Property.html#editing[@Property#editing] attribute.
-There are therefore three levels at which property editing can be defined:
+In addition, the link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/DomainObject.html#editingDisabledReason[@DomainObject#editingDisabledReason] can be used to specify the reason why a property cannot be edited.
- @Property > @DomainObject > global configuration property
-Alternatively, this works in the opposite direction also: if the global config property is to _allow_ properties to be edited, then the `@DomainObject#editing` (or `@Property#editing`) could be used to disable editing.
-This would be much less common, though.
-
-In addition, the link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/DomainObject.html#editingDisabledReason[@DomainObject#editingDisabledReason] can be used to specify the reason why a property cannot be edited.
-This can also be specified at the property level using link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/Property.html#editingDisabledReason[@Property#editingDisabledReason].
== How this demo works
@@ -37,3 +29,31 @@ The "initialCharacter" property cannot be edited either, because it is a derived
Navigate through to the entity in order to edit its properties, and to see the corresponding source code.
+In terms of code:
+
+* the entity is defined thus:
++
+[source,java]
+----
+include::jpa/DomainObjectEditingEntityImpl.java[tags=class]
+----
+<.> indicates that the properties of this type may be edited, overriding the global default set by configuration property.
+<.> editable property because of the `@DomainObject#editing` annotation
+<.> this property cannot, after all, be edited, with `@Property#editing` overriding `@DomainObject#editing`.
+See section below for further discussion.
+<.> also a non-editable property, but this time because it is a derived property.
+
+
+
+== See also
+
+It's also possible to override the class-level default on a per-property basis, using the link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/Property.html#editing[@Property#editing] attribute.
+A reason can also be specified at the property level using link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/Property.html#editingDisabledReason[@Property#editingDisabledReason].
+
+There are therefore three levels at which property editing can be defined:
+
+ @Property > @DomainObject > global configuration property
+
+Alternatively, this works in the opposite direction also: if the global config property is to _allow_ properties to be edited, then the `@DomainObject#editing` (or `@Property#editing`) could be used to disable editing.
+This would be much less common, though.
+
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl-description.adoc
index 8d3c5449a1..ab23346cfd 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl-description.adoc
@@ -1,6 +1,7 @@
: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 [...]
-In this demo app, property editing has been disabled by default, but has been explicitly enabled for this class:
+In this demo app, property editing has been disabled by default.
+This entity class re-enables editing using `@DomainObject#editing`, and then selectively _disables_ it again for one of the properties using `@Property#editing`.
[source,java,indent=0]
.DomainObjectEditingJpa.java
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl.java
index 650150344a..ea4ac80580 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jdo/DomainObjectEditingEntityImpl.java
@@ -48,7 +48,7 @@ import demoapp.dom.domain.objects.DomainObject.editing.DomainObjectEditingEntity
// ...
@DomainObject(
nature = Nature.ENTITY,
- editing = Editing.ENABLED // <.>
+ editing = Editing.ENABLED // <.>
)
public class DomainObjectEditingEntityImpl
extends DomainObjectEditingEntity {
@@ -62,16 +62,16 @@ public class DomainObjectEditingEntityImpl
//tag::class[]
@Getter @Setter
- private String name; // <.>
+ private String name; // <.>
@Property(
- editing = Editing.DISABLED, // <.>
- editingDisabledReason = "This property may not be edited"
+ editing = Editing.DISABLED, // <.>
+ editingDisabledReason = "This property may not be edited"
)
@Getter @Setter
private String originalName;
- public Character getInitialCharacter() { // <.>
+ public Character getInitialCharacter() { // <.>
return getName().charAt(0);
}
//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jpa/DomainObjectEditingEntityImpl.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jpa/DomainObjectEditingEntityImpl.java
index bf0dccc1f1..8483aeb858 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jpa/DomainObjectEditingEntityImpl.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/editing/jpa/DomainObjectEditingEntityImpl.java
@@ -52,7 +52,7 @@ import demoapp.dom.domain.objects.DomainObject.editing.DomainObjectEditingEntity
// ...
@DomainObject(
nature = Nature.ENTITY,
- editing = Editing.ENABLED // <.>
+ editing = Editing.ENABLED // <.>
)
public class DomainObjectEditingEntityImpl
extends DomainObjectEditingEntity {
@@ -70,16 +70,16 @@ public class DomainObjectEditingEntityImpl
//tag::class[]
@Getter @Setter
- private String name; // <.>
+ private String name; // <.>
@Property(
- editing = Editing.DISABLED, // <.>
- editingDisabledReason = "This property may not be edited"
+ editing = Editing.DISABLED, // <.>
+ editingDisabledReason = "This property may not be edited"
)
@Getter @Setter
private String originalName;
- public Character getInitialCharacter() { // <.>
+ public Character getInitialCharacter() { // <.>
return getName().charAt(0);
}
//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingEntity.layout.xml
index ab9154b267..f5f586c95e 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingEntity.layout.xml
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingEntity.layout.xml
@@ -31,9 +31,8 @@
<bs3:row>
<bs3:col span="12">
<cpt:fieldSet name="General" id="general" >
- <cpt:property id="name"/>
- <cpt:property id="originalName"/>
- <cpt:property id="initialCharacter"/>
+ <cpt:property id="property"/>
+ <cpt:property id="propertyUpdatedByAction"/>
</cpt:fieldSet>
</bs3:col>
</bs3:row>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage-description.adoc
index 9947937205..52d064b9ae 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage-description.adoc
@@ -21,21 +21,53 @@ causeway:
entity-change-publishing: 'none' # 'none' | 'all'
----
-This demo app has entity change publishing disabled by default.
-
-Entity change publishing can also be enabled on a case by case basis using the link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/DomainObject.html#entitychangepublishing[@DomainObject#entitychangepublishing] attribute.
+This demo app has entity change publishing disabled by default, but can be re-enabled on a case by case basis using the link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/annotation/DomainObject.html#entitychangepublishing[@DomainObject#entitychangepublishing] attribute.
+This page references a domain object that uses this attribute.
== How this demo works
The collection on the left shows a set of entity instances, which have `@DomainObject#entityChangePublishing` to enable the publishing of any changes to their state.
+Below it is a collection that simply lists all of the changes that have been received.
+This uses an implementation of `EntityChangesSubscriber` that captures changes and simply holds them in-memory.
+(There will always be some listed from the fixture scripts run when the application first bootstraps.)
-Using this view model, you can use the actions to create new instances of the entity, update them or to delete them.
+Using the "modify" action, you can (in one go) create new instances of the entity class, update existing instances, or delete instances.
+This will cause new events to be logged.
-Meanwhile, at the bottom of this page is a collection that simply lists all of the changes that have been received.
-This uses an implementation of `EntityChangesSubscriber` that captures changes and simply holds them in-memory.
-NOTE: there will always be some listed from the fixture scripts run when the application first bootstraps.)
+In terms of code:
+
+* the entity class re-enables change publishing using `DomainObject#entityChangePublishing`:
++
+[source,java]
+----
+include::jpa/DomainObjectEntityChangePublishingEntityImpl.java[tags=class]
+----
+
+* the modify action:
++
+[source,java,indent=0]
+----
+include::DomainObjectEntityChangePublishingPage_modify.java[tags=act]
+----
+
+* the subscriber:
++
+[source,java,indent=0]
+.EntityChangesSubscriberToCaptureChangesInMemory.java
+----
+include::../../../_changes/EntityChangesSubscriberToCaptureChangesInMemory.java[tags=class]
+----
+<.> describes the set of changes
+
+* NB: this page shows the list of recent changes by virtue of also implementing a `ExposeCapturedChanges` marker interface (part of the demo app, not the framework).
+A mixin then contributes the "recentChanges" collection:
++
+[source,java,indent=0]
+.ExposeCapturedChanges_recentChanges.java
+----
+include::../../../_changes/ExposeCapturedChanges_recentChanges.java[tags=class]
+----
-Navigate into each of the domain entities to see the code examples.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage.layout.xml
index 854c4942a3..fc01691735 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage.layout.xml
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage.layout.xml
@@ -30,6 +30,9 @@
<cpt:collection id="objects">
<cpt:action id="modify"/>
</cpt:collection>
+ <cpt:collection id="recentChanges">
+ <cpt:action id="clear"/>
+ </cpt:collection>
</bs3:col>
<bs3:col span="6">
<cpt:fieldSet name="Description" id="description" >
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage_modify.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage_modify.java
index 18160b1fba..84b495cf8b 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage_modify.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/entityChangePublishing/DomainObjectEntityChangePublishingPage_modify.java
@@ -41,6 +41,7 @@ public class DomainObjectEntityChangePublishingPage_modify {
private final DomainObjectEntityChangePublishingPage page;
+//tag::act[]
@MemberSupport public DomainObjectEntityChangePublishingPage act(
final Integer howManyToCreate,
final List<? extends DomainObjectEntityChangePublishingEntity> toUpdate,
@@ -53,6 +54,7 @@ public class DomainObjectEntityChangePublishingPage_modify {
toDelete.forEach(x -> repositoryService.remove(x));
return page;
}
+//end::act[]
@MemberSupport public Integer default0Act() {
return 1;
}
[causeway] 01/02: CAUSEWAY-2485: polishing
Posted by da...@apache.org.
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 4e57fd90b9ac2b8c93823f963b6377ba3d58b15a
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu May 25 07:19:41 2023 +0100
CAUSEWAY-2485: polishing
---
.../src/main/java/demoapp/dom/DemoModuleJpa.java | 4 +-
.../aliased/DomainObjectAliasedEntity.java | 2 +
.../DomainObjectAliasedPage-description.adoc | 26 ++++++-
.../aliased/DomainObjectAliasedPage_lookup.java | 10 ++-
.../DomainObjectAliasedEntityImpl-description.adoc | 6 +-
.../DomainObjectAliasedEntityImpl-description.adoc | 6 +-
.../DomainObjectAutoCompletePage-description.adoc | 36 ++++++++--
.../DomainObjectAutoCompletePage_find.java | 6 +-
...inObjectAutoCompleteEntityImpl-description.adoc | 6 +-
...inObjectAutoCompleteEntityImpl-description.adoc | 6 +-
.../bounded/DomainObjectBounding.layout.xml | 79 ----------------------
.../bounded/DomainObjectBoundingEntity.layout.xml} | 0
.../DomainObjectBoundingPage-description.adoc | 19 ++++--
.../bounded/DomainObjectBoundingPage.layout.xml | 7 +-
...DomainObjectBoundingEntityImpl-description.adoc | 4 +-
...DomainObjectBoundingEntityImpl-description.adoc | 4 +-
.../bounded/jpa/DomainObjectBoundingPage_find.java | 7 +-
.../src/main/java/demoapp/dom/menubars.layout.xml | 8 +--
.../actions}/TvCharacter.java | 2 +-
.../actions}/TvCharacterPopulator.java | 2 +-
.../progmodel => progmodel/actions}/TvShow.java | 2 +-
.../autocomplete/ActionAutoCompleteMenu.java | 4 +-
...pletePage-dependentAutoCompleteDescription.adoc | 0
.../ActionAutoCompletePage-description.adoc | 0
...mpletePage-multipleAutoCompleteDescription.adoc | 0
...oCompletePage-parameterMatchingDescription.adoc | 0
...CompletePage-singleAutoCompleteDescription.adoc | 0
.../autocomplete/ActionAutoCompletePage.java | 4 +-
.../autocomplete/ActionAutoCompletePage.layout.xml | 0
.../ActionAutoCompletePage_selectTvCharacter.java | 4 +-
...onAutoCompletePage_selectTvCharacterByShow.java | 6 +-
.../ActionAutoCompletePage_selectTvCharacters.java | 4 +-
...nAutoCompletePage_selectTvCharactersByShow.java | 6 +-
...AutoCompletePage_selectTvCharactersByShows.java | 6 +-
.../bulk/BulkActionItemEntity-description.adoc | 0
.../actions}/bulk/BulkActionItemEntity.java | 2 +-
.../actions}/bulk/BulkActionItemEntity.layout.xml | 0
.../bulk/BulkActionItemEntityRepository.java | 2 +-
.../actions}/bulk/BulkActionItemEntitySeeding.java | 2 +-
.../actions}/bulk/BulkActionMenu.java | 2 +-
.../actions}/bulk/BulkActionPage-description.adoc | 0
.../actions}/bulk/BulkActionPage.java | 2 +-
.../actions}/bulk/BulkActionPage.layout.xml | 0
.../BulkActionPage_addToAmericanFavourites.java | 2 +-
.../BulkActionPage_addToBritishFavourites.java | 2 +-
...ulkActionPage_removeFromAmericanFavourites.java | 2 +-
...BulkActionPage_removeFromBritishFavourites.java | 2 +-
.../jdo/BulkActionItemEntityImpl-description.adoc | 0
.../bulk/jdo/BulkActionItemEntityImpl.java | 4 +-
.../jdo/BulkActionItemEntityImplRepository.java | 4 +-
.../jpa/BulkActionItemEntityImpl-description.adoc | 0
.../bulk/jpa/BulkActionItemEntityImpl.java | 4 +-
.../jpa/BulkActionItemEntityImplRepository.java | 4 +-
.../actions}/choices/ActionChoicesMenu.java | 4 +-
...tionChoicesPage-dependentChoiceDescription.adoc | 0
.../choices/ActionChoicesPage-description.adoc | 0
...tionChoicesPage-multipleChoicesDescription.adoc | 0
...onChoicesPage-parameterMatchingDescription.adoc | 0
.../ActionChoicesPage-singleChoiceDescription.adoc | 0
.../actions}/choices/ActionChoicesPage.java | 5 +-
.../actions}/choices/ActionChoicesPage.layout.xml | 0
.../ActionChoicesPage_selectTvCharacter.java | 4 +-
.../ActionChoicesPage_selectTvCharacterByShow.java | 8 +--
.../ActionChoicesPage_selectTvCharacters.java | 4 +-
...ActionChoicesPage_selectTvCharactersByShow.java | 9 +--
...ctionChoicesPage_selectTvCharactersByShows.java | 14 +---
.../actions}/defaults/ActionDefaultsMenu.java | 4 +-
.../defaults/ActionDefaultsPage-description.adoc | 0
...onDefaultsPage-multipleDefaultsDescription.adoc | 0
...nDefaultsPage-parameterMatchingDescription.adoc | 0
...ctionDefaultsPage-singleDefaultDescription.adoc | 0
.../actions}/defaults/ActionDefaultsPage.java | 6 +-
.../defaults/ActionDefaultsPage.layout.xml | 0
...ActionDefaultsPage_selectTvCharacterByShow.java | 7 +-
.../ActionDefaultsPage_selectTvCharacters.java | 4 +-
...efaultsPage_selectTvCharactersByShowAndSex.java | 6 +-
.../actions}/validate/ActionValidateMenu.java | 4 +-
...nValidatePage-allArgsValidationDescription.adoc | 0
.../validate/ActionValidatePage-description.adoc | 0
...nValidatePage-parameterMatchingDescription.adoc | 0
...tionValidatePage-singleValidateDescription.adoc | 0
.../actions}/validate/ActionValidatePage.java | 9 +--
.../validate/ActionValidatePage.layout.xml | 0
...ActionValidatePage_selectTvCharacterByShow.java | 7 +-
.../ActionValidatePage_selectTvCharacters.java | 4 +-
...ge_selectTvCharactersByShowAndSexUsingName.java | 8 +--
..._selectTvCharactersByShowAndSexUsingRecord.java | 6 +-
.../actions}/veto/ActionVetoMenu.java | 4 +-
.../actions}/veto/ActionVetoPage-description.adoc | 0
.../ActionVetoPage-disableActionDescription.adoc | 0
.../veto/ActionVetoPage-hideActionDescription.adoc | 0
.../veto/ActionVetoPage-vetoParamDescription.adoc | 0
.../actions}/veto/ActionVetoPage.java | 6 +-
.../actions}/veto/ActionVetoPage.layout.xml | 0
.../ActionVetoPage_selectTvCharactersBySex.java | 5 +-
...onVetoPage_selectTvCharactersIfNotDisabled.java | 4 +-
...tionVetoPage_selectTvCharactersIfNotHidden.java | 6 +-
.../compositevalues/ComplexNumber.java | 2 +-
.../ComplexNumberValueSemantics.java | 2 +-
.../compositevalues/ComplexNumber_default.java | 2 +-
.../compositevalues/CompositeValueTypeMenu.java | 2 +-
.../CompositeValueTypePage-description.adoc | 0
.../compositevalues/CompositeValueTypePage.java | 3 +-
.../CompositeValueTypePage.layout.xml | 0
.../CompositeValueTypePage_addComplexNumber.java | 2 +-
...mpositeValueTypePage_subtractComplexNumber.java | 2 +-
.../customvalues/EmailAddress.java | 2 +-
.../customvalues/EmailAddressValueSemantics.java | 2 +-
.../customvaluetypes}/customvalues/Percentage.java | 2 +-
.../customvalues/ScalarValueTypeMenu.java | 2 +-
.../ScalarValueTypePage-description.adoc | 0
.../customvalues/ScalarValueTypePage.java | 2 +-
.../customvalues/ScalarValueTypePage.layout.xml | 0
.../embeddedvalues/ComplexNumber.java | 2 +-
.../embeddedvalues/ComplexNumberSamples.java | 2 +-
.../embeddedvalues/NumberConstantEntity.java | 2 +-
.../embeddedvalues/NumberConstantSeeding.java | 2 +-
.../embeddedvalues/jdo/ComplexNumberJdo.java | 7 +-
.../jdo/ComplexNumberJdoValueSemantics.java | 2 +-
.../embeddedvalues/jdo/EmbeddedTypeMenuJdo.java | 2 +-
.../jdo/EmbeddedTypePageJdo-description.adoc | 0
.../embeddedvalues/jdo/EmbeddedTypePageJdo.java | 6 +-
.../jdo/EmbeddedTypePageJdo.layout.xml | 0
.../jdo/NumberConstantJdo-description.adoc | 0
.../embeddedvalues/jdo/NumberConstantJdo.java | 6 +-
.../jdo/NumberConstantJdo.layout.xml | 0
.../embeddedvalues/jdo/NumberConstantJdo.svg | 0
.../jdo/NumberConstantJdoRepository.java | 4 +-
.../embeddedvalues/jpa/ComplexNumberJpa.java | 4 +-
.../jpa/ComplexNumberJpaValueSemantics.java | 2 +-
.../embeddedvalues/jpa/EmbeddedTypeMenuJpa.java | 2 +-
.../jpa/EmbeddedTypePageJpa-description.adoc | 0
.../embeddedvalues/jpa/EmbeddedTypePageJpa.java | 6 +-
.../jpa/EmbeddedTypePageJpa.layout.xml | 0
.../jpa/NumberConstantJpa-description.adoc | 0
.../embeddedvalues/jpa/NumberConstantJpa.java | 6 +-
.../jpa/NumberConstantJpa.layout.xml | 0
.../embeddedvalues/jpa/NumberConstantJpa.svg | 0
.../jpa/NumberConstantJpaRepository.java | 4 +-
.../objects => }/progmodel/mixins/CountHolder.java | 2 +-
.../progmodel/mixins/CountHolder_explanation.java | 2 +-
.../mixins/CountHolder_fibonacciSequence.java | 2 +-
.../progmodel/mixins/CountHolder_updateCount.java | 2 +-
.../mixins/FibonacciNumberVm-description.adoc | 0
.../progmodel/mixins/FibonacciNumberVm.java | 2 +-
.../progmodel/mixins/FibonacciNumberVm.layout.xml | 0
.../objects => }/progmodel/mixins/MixinMenu.java | 2 +-
.../progmodel/mixins/MixinPage-description.adoc | 0
.../objects => }/progmodel/mixins/MixinPage.java | 2 +-
.../progmodel/mixins/MixinPage.layout.xml | 0
.../services}/bean/readme.txt | 0
.../src/main/resources/static/css/application.css | 4 ++
152 files changed, 266 insertions(+), 284 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 ff22f6dcdc..f8b12f1124 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/DemoModuleJpa.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/DemoModuleJpa.java
@@ -30,7 +30,7 @@ import demoapp.dom.domain.actions.Action.choicesFrom.jpa.ActionChoicesFromEntity
import demoapp.dom.domain.actions.Action.commandPublishing.jpa.ActionCommandPublishingEntityImpl;
import demoapp.dom.domain.actions.Action.executionPublishing.jpa.ActionExecutionPublishingEntityImpl;
import demoapp.dom.domain.actions.ActionLayout.hidden.jpa.ActionLayoutHiddenEntityImpl;
-import demoapp.dom.domain.actions.progmodel.bulk.jpa.BulkActionItemEntityImpl;
+import demoapp.dom.progmodel.actions.bulk.jpa.BulkActionItemEntityImpl;
import demoapp.dom.domain.objects.DomainObject.aliased.jpa.DomainObjectAliasedEntityImpl;
import demoapp.dom.domain.objects.DomainObject.autoComplete.jpa.DomainObjectAutoCompleteEntityImpl;
import demoapp.dom.domain.objects.DomainObject.bounded.jpa.DomainObjectBoundingEntityImpl;
@@ -51,7 +51,7 @@ import demoapp.dom.domain.objects.DomainObjectLayout.named.jpa.DomainObjectLayou
import demoapp.dom.domain.objects.DomainObjectLayout.paged.jpa.DomainObjectLayoutPagedEntityImpl;
import demoapp.dom.domain.objects.DomainObjectLayout.tabledec.jpa.DomainObjectLayoutTableDecoratorEntityImpl;
import demoapp.dom.domain.objects.DomainObjectLayout.xxxUiEvent.jpa.DomainObjectLayoutXxxUiEventEntityImpl;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.jpa.NumberConstantJpa;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jpa.NumberConstantJpa;
import demoapp.dom.domain.properties.Property.commandPublishing.jpa.PropertyCommandPublishingEntityImpl;
import demoapp.dom.domain.properties.Property.editing.jpa.PropertyEditingEntityImpl;
import demoapp.dom.domain.properties.Property.executionPublishing.jpa.PropertyExecutionPublishingEntityImpl;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedEntity.java
index 053d04a6f4..745cfc5922 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedEntity.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedEntity.java
@@ -43,6 +43,7 @@ public abstract class DomainObjectAliasedEntity
public abstract String getName();
public abstract void setName(String value);
+// tag::class[]
@Property
public String getBookmark() {
return bookmarkService.bookmarkFor(this).orElseThrow().stringify();
@@ -54,4 +55,5 @@ public abstract class DomainObjectAliasedEntity
}
@Inject private BookmarkService bookmarkService;
+// end::class[]
}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage-description.adoc
index 71dcfce77a..de2be42799 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage-description.adoc
@@ -21,11 +21,35 @@ The collection on the left shows a set of entity instances, each indicating thei
The "lookup" (mixin) action uses the https://causeway.apache.org/refguide/2.0.0-RC1/applib/index/services/bookmark/BookmarkService.html[BookmarkService] to lookup any object using either their current bookmark (defined by `@Named`) or their previous bookmark (defined by `@DomainObject#alias`).
For convenience, the action provides a choices method for all possible values.
+In terms of code:
+
+* the entity (subclass) is declared with `@DomainObject#aliased`.
++
+[source,java,indent=0]
+.DomainObjectAliasedEntityImpl.java
+----
+include::jpa/DomainObjectAliasedEntityImpl.java[tags=class]
+----
+<.> current logical type name
+<.> previous logical type name.
+The `previousBookmark` property (see below) calculates this
+
+* the entity (superclass) exposes this metadata as regular properties:
++
+[source,java,indent=0]
+.DomainObjectAliasedEntity.java
+----
+include::DomainObjectAliasedEntity.java[tags=class]
+----
+
+* the "lookup" mixin allows objects to be looked up using either a bookmark referencing the entity's current name, or its previous:
++
[source,java,indent=0]
.DomainObjectAliasedPage_lookup.java
----
include::DomainObjectAliasedPage_lookup.java[tags=class]
----
+<.> can lookup using actual bookmark ...
+<.> \... or the previous bookmark (for which the class defines an alias)
-Navigate through to the entity to see the corresponding source code.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage_lookup.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage_lookup.java
index 46eab37af9..0b0791a63e 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage_lookup.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/DomainObjectAliasedPage_lookup.java
@@ -8,6 +8,7 @@ import javax.inject.Inject;
import org.apache.causeway.applib.annotation.Action;
import org.apache.causeway.applib.annotation.MemberSupport;
import org.apache.causeway.applib.annotation.SemanticsOf;
+import org.apache.causeway.applib.exceptions.RecoverableException;
import org.apache.causeway.applib.services.bookmark.Bookmark;
import org.apache.causeway.applib.services.bookmark.BookmarkService;
@@ -24,14 +25,17 @@ public class DomainObjectAliasedPage_lookup {
@MemberSupport
public DomainObjectAliasedEntity act(final String bookmark) {
- return bookmarkService.lookup(Bookmark.parseElseFail(bookmark), DomainObjectAliasedEntity.class).orElseThrow(() -> new org.apache.causeway.applib.exceptions.RecoverableException("No customer exists for that bookmark"));
+ return bookmarkService.lookup(
+ Bookmark.parseElseFail(bookmark),
+ DomainObjectAliasedEntity.class
+ ).orElseThrow(() -> new RecoverableException("No customer exists for that bookmark"));
}
public List<String> choices0Act() {
val bookmarks = new ArrayList<String>();
val aliases = repository.all();
aliases.stream().forEach(obj -> {
- bookmarks.add(obj.getBookmark());
- bookmarks.add(obj.getPreviousBookmark());
+ bookmarks.add(obj.getBookmark()); // <.>
+ bookmarks.add(obj.getPreviousBookmark()); // <.>
});
return bookmarks;
}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jdo/DomainObjectAliasedEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jdo/DomainObjectAliasedEntityImpl-description.adoc
index 92509652d7..0060a238e1 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jdo/DomainObjectAliasedEntityImpl-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jdo/DomainObjectAliasedEntityImpl-description.adoc
@@ -1,8 +1,12 @@
: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 [...]
+
+This entity uses `@Named` to provide its current logical type name, and also identifies a previous logical type name using `@DomainObject#aliased`.
+
[source,java,indent=0]
----
include::DomainObjectAliasedEntityImpl.java[tags=class]
----
<.> current logical type name
-<.> previous logical type names
+<.> a previous logical type name.
+The (inherited) `previousBookmark` property exposes this value.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jpa/DomainObjectAliasedEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jpa/DomainObjectAliasedEntityImpl-description.adoc
index 92509652d7..0060a238e1 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jpa/DomainObjectAliasedEntityImpl-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/aliased/jpa/DomainObjectAliasedEntityImpl-description.adoc
@@ -1,8 +1,12 @@
: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 [...]
+
+This entity uses `@Named` to provide its current logical type name, and also identifies a previous logical type name using `@DomainObject#aliased`.
+
[source,java,indent=0]
----
include::DomainObjectAliasedEntityImpl.java[tags=class]
----
<.> current logical type name
-<.> previous logical type names
+<.> a previous logical type name.
+The (inherited) `previousBookmark` property exposes this value.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage-description.adoc
index ba941d8d59..1a59dfd65d 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage-description.adoc
@@ -1,5 +1,8 @@
: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: this functionality is currently broken; being tracked with link:https://issues.apache.org/jira/browse/CAUSEWAY-3467[CAUSEWAY-3467].
+
+
If an action parameter is a reference type (typically an entity), then a mechanism is required to present a list of relevant existing instances for the end-user to select.
If the list of available instances is always or often the same, then this can result in a lot of boilerplate.
@@ -10,10 +13,37 @@ TIP: In fact, the return type of the `autoComplete` method does not need to exac
== How this demo works
-The collection on the left shows a set of entity instances, of type `DomainObjectAutoComplete`.
+The collection on the left shows a set of entity instances.
+The "find" action allows any one of these to be looked up using a single character of their name.
-The "find" (mixin) action defines the entity class as its parameter type, and simply returns it.
+In terms of code:
+* the entity instance is annotated with `@DomainObject#autoComplete`
++
+[source,java,indent=0]
+.DomainObjectAutoCompleteEntityImpl.java
+----
+include::jpa/DomainObjectAutoCompleteEntityImpl.java[tags=class]
+----
+<.> indicates the autocomplete repository
+<.> indicates to use a method called "findMatching"
+
+* the referenced repository is defined:
++
+[source,java,indent=0]
+.DomainObjectAutoCompleteEntityRepository.java
+----
+include::DomainObjectAutoCompleteEntityRepository.java[tags=class]
+----
+<.> as referenced in `@DomainObject#autoCompleteRepository`
+<.> as referenced in `@DomainObject#autoCompleteMethod`
+<.> requires one character to be entered before triggering the search.
+The default if not specified is 3 characters.
+<.> Performs the search.
+This is a naive client-side filtering operation, in practice one would use a query to perform a server-side search.
+
+* The "find" (mixin) action defines the entity class as its parameter type, and simply returns it.
++
[source,java,indent=0]
.DomainObjectAutoCompletePage_find.java
----
@@ -22,6 +52,4 @@ include::DomainObjectAutoCompletePage_find.java[tags=class]
<.> just returns the provided object.
The main work is performed when the framework renders the action prompt, using the `autoCompleteXxx` attributes to determine how to obtain the objects to provide (in a drop-down list box).
-The autoComplete search to perform is specified using the `autoCompleteRepository` and `autoCompleteMethod` attributes.
-Navigate through to the entity to see the corresponding source code.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage_find.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage_find.java
index a5c6cea071..14ddc46834 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage_find.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/DomainObjectAutoCompletePage_find.java
@@ -15,9 +15,9 @@ public class DomainObjectAutoCompletePage_find {
private final DomainObjectAutoCompletePage page;
@MemberSupport
- public DomainObjectAutoCompleteEntity act(final DomainObjectAutoCompleteEntity domainObjectAutoComplete) { // <.>
- return domainObjectAutoComplete;
+ public DomainObjectAutoCompleteEntity act( // <.>
+ final DomainObjectAutoCompleteEntity entity) {
+ return entity;
}
-
}
//end::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jdo/DomainObjectAutoCompleteEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jdo/DomainObjectAutoCompleteEntityImpl-description.adoc
index 2aa10934f1..9f0a75aa4a 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jdo/DomainObjectAutoCompleteEntityImpl-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jdo/DomainObjectAutoCompleteEntityImpl-description.adoc
@@ -1,5 +1,7 @@
: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 [...]
+This entity uses `@DomainObject#autoCompleteRepository` to indicate that instances of it may be searched for using the specified repository.
+
[source,java,indent=0]
.DomainObjectAutoCompleteEntityImpl.java
----
@@ -9,9 +11,9 @@ include::DomainObjectAutoCompleteEntityImpl.java[tags=class]
<.> indicates to use a method called "findMatching"
[source,java,indent=0]
-.DomainObjectAutoCompleteRepository.java
+.DomainObjectAutoCompleteEntityRepository.java
----
-include::../DomainObjectAutoCompleteRepository.java[tags=class]
+include::../DomainObjectAutoCompleteEntityRepository.java[tags=class]
----
<.> as specified in `@DomainObject#autoCompleteRepository`
<.> as specified the `@DomainObject#autoCompleteMethod`
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jpa/DomainObjectAutoCompleteEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jpa/DomainObjectAutoCompleteEntityImpl-description.adoc
index 2aa10934f1..9f0a75aa4a 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jpa/DomainObjectAutoCompleteEntityImpl-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/autoComplete/jpa/DomainObjectAutoCompleteEntityImpl-description.adoc
@@ -1,5 +1,7 @@
: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 [...]
+This entity uses `@DomainObject#autoCompleteRepository` to indicate that instances of it may be searched for using the specified repository.
+
[source,java,indent=0]
.DomainObjectAutoCompleteEntityImpl.java
----
@@ -9,9 +11,9 @@ include::DomainObjectAutoCompleteEntityImpl.java[tags=class]
<.> indicates to use a method called "findMatching"
[source,java,indent=0]
-.DomainObjectAutoCompleteRepository.java
+.DomainObjectAutoCompleteEntityRepository.java
----
-include::../DomainObjectAutoCompleteRepository.java[tags=class]
+include::../DomainObjectAutoCompleteEntityRepository.java[tags=class]
----
<.> as specified in `@DomainObject#autoCompleteRepository`
<.> as specified the `@DomainObject#autoCompleteMethod`
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBounding.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBounding.layout.xml
deleted file mode 100644
index 1135efb565..0000000000
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBounding.layout.xml
+++ /dev/null
@@ -1,79 +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 />
- </bs3:col>
- <bs3:col span="2">
- <cpt:fieldSet name="" id="sources" />
- </bs3:col>
- </bs3:row>
-
- <bs3:row>
- <bs3:col span="6">
- <bs3:tabGroup>
- <bs3:tab name="General">
- <bs3:row>
- <bs3:col span="12">
- <cpt:fieldSet name="General" id="general" >
- <cpt:property id="name"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- </bs3:tab>
- <bs3:tab name="Metadata">
- <bs3:row>
- <bs3:col span="12">
- <cpt:fieldSet name="Metadata" id="metadata" >
- <cpt:property id="id"/>
- <cpt:property id="logicalTypeName"/>
- <cpt:property id="version"/>
- </cpt:fieldSet>
- </bs3:col>
- </bs3:row>
- </bs3:tab>
- <bs3:tab name="Other">
- <bs3:row>
- <bs3:col span="12">
- <cpt:fieldSet name="Other" id="other" unreferencedProperties="true"/>
- </bs3:col>
- </bs3:row>
- </bs3:tab>
- </bs3:tabGroup>
- </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/domain/actions/progmodel/bulk/BulkActionItemEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingEntity.layout.xml
similarity index 100%
copy from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity.layout.xml
copy to examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingEntity.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage-description.adoc
index a7942af6d6..04aa4e6e48 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage-description.adoc
@@ -8,12 +8,22 @@ This is done using link:https://causeway.apache.org/refguide/2.0.0-RC1/applib/in
== How this demo works
-The collection on the left shows a set of entity instances, of type `DomainObjectBounding`.
+The collection on the left shows a set of entity instances.
+The "find" action allows any of these to be looked up from a drop-down.
-The "find" (mixin) action defines the entity class as its parameter type, and simply returns it.
+In terms of code:
-For example, with JPA:
+* the entity instance is annotated with `@DomainObject#bounding`:
++
+[source,java,indent=0]
+.DomainObjectBoundingEntityImpl.java
+----
+include::jpa/DomainObjectBoundingEntityImpl.java[tags=class]
+----
+<.> indicates that there are a fixed (bounded) set of instances of this domain object.
+* the "find" method simply returns the selected object:
++
[source,java,indent=0]
.DomainObjectBoundingPage_find.java
----
@@ -21,7 +31,6 @@ include::jpa/DomainObjectBoundingPage_find.java[tags=class]
----
<.> just returns the provided object.
The main work is performed when the framework renders the action prompt, using the `bounding` attribute to determine how to obtain the objects to provide (in a drop-down list box).
-
++
Note that the class must be concrete.
-Navigate through to the entity to see the corresponding source code.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage.layout.xml
index 319686dee1..d10fab04a4 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage.layout.xml
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/DomainObjectBoundingPage.layout.xml
@@ -34,14 +34,15 @@
<bs3:col span="6">
<cpt:fieldSet name="Description" id="description" >
<cpt:action id="clearHints" position="PANEL" />
- <cpt:action id="downloadLayoutXml" position="PANEL_DROPDOWN"/>
<cpt:action id="rebuildMetamodel" position="PANEL"/>
- <cpt:action id="downloadMetamodelXml" position="PANEL_DROPDOWN"/>
+ <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="downloadJdoMetadata" position="PANEL_DROPDOWN"/>
+ <cpt:action id="impersonateWithRoles" position="PANEL_DROPDOWN"/>
<cpt:action id="openRestApi" position="PANEL_DROPDOWN" />
<cpt:property id="description"/>
</cpt:fieldSet>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jdo/DomainObjectBoundingEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jdo/DomainObjectBoundingEntityImpl-description.adoc
index c30a93f0a3..08c7ceeec4 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jdo/DomainObjectBoundingEntityImpl-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jdo/DomainObjectBoundingEntityImpl-description.adoc
@@ -1,9 +1,11 @@
: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 [...]
+This entity class uses `@DomainObject#bounding` to indicate that it has is a relatively small (bounded) number of instances, and so these can be searched for using a simple drop-down box.
+
[source,java,indent=0]
.DomainObjectBoundingEntityImpl.java
----
include::DomainObjectBoundingEntityImpl.java[tags=class]
----
-<.> indicates that there are a fixed (bounded) set of instances of this domain object.
+<.> indicates that there are a bounded set of instances of this domain object.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingEntityImpl-description.adoc
index c30a93f0a3..08c7ceeec4 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingEntityImpl-description.adoc
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingEntityImpl-description.adoc
@@ -1,9 +1,11 @@
: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 [...]
+This entity class uses `@DomainObject#bounding` to indicate that it has is a relatively small (bounded) number of instances, and so these can be searched for using a simple drop-down box.
+
[source,java,indent=0]
.DomainObjectBoundingEntityImpl.java
----
include::DomainObjectBoundingEntityImpl.java[tags=class]
----
-<.> indicates that there are a fixed (bounded) set of instances of this domain object.
+<.> indicates that there are a bounded set of instances of this domain object.
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingPage_find.java b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingPage_find.java
index 73af70f4d2..0ee6d34768 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingPage_find.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/DomainObject/bounded/jpa/DomainObjectBoundingPage_find.java
@@ -10,8 +10,8 @@ import lombok.RequiredArgsConstructor;
import demoapp.dom.domain.objects.DomainObject.bounded.DomainObjectBoundingPage;
-//tag::class[]
@Profile("demo-jpa")
+//tag::class[]
@Action(semantics = SemanticsOf.SAFE)
@RequiredArgsConstructor
public class DomainObjectBoundingPage_find {
@@ -20,8 +20,9 @@ public class DomainObjectBoundingPage_find {
private final DomainObjectBoundingPage page;
@MemberSupport
- public DomainObjectBoundingEntityImpl act(final DomainObjectBoundingEntityImpl domainObjectBounding) { // <.>
- return domainObjectBounding;
+ public DomainObjectBoundingEntityImpl act( // <.>
+ final DomainObjectBoundingEntityImpl entity) {
+ return entity;
}
}
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/menubars.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/menubars.layout.xml
index f4ff13db2e..aba11689ea 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/menubars.layout.xml
+++ b/examples/demo/domain/src/main/java/demoapp/dom/menubars.layout.xml
@@ -23,7 +23,7 @@ For latest we use: https://raw.githubusercontent.com/apache/causeway/master/anto
<mb3:primary>
<mb3:menu>
- <mb3:named>Domain Objects</mb3:named>
+ <mb3:named>@DomainObject</mb3:named>
<mb3:section>
<mb3:named>@DomainObject</mb3:named>
<mb3:serviceAction objectType="demo.DomainObjectMenu" id="aliased"/>
@@ -51,7 +51,7 @@ For latest we use: https://raw.githubusercontent.com/apache/causeway/master/anto
</mb3:menu>
<mb3:menu>
- <mb3:named>Actions</mb3:named>
+ <mb3:named>@Action</mb3:named>
<mb3:section>
<mb3:named>@Action</mb3:named>
<mb3:serviceAction objectType="demo.ActionMenu" id="choicesFrom"/>
@@ -79,7 +79,7 @@ For latest we use: https://raw.githubusercontent.com/apache/causeway/master/anto
</mb3:menu>
<mb3:menu>
- <mb3:named>Properties</mb3:named>
+ <mb3:named>@Property</mb3:named>
<mb3:section>
<mb3:named>@Property</mb3:named>
<mb3:serviceAction objectType="demo.PropertyMenu" id="commandPublishing"/>
@@ -113,7 +113,7 @@ For latest we use: https://raw.githubusercontent.com/apache/causeway/master/anto
</mb3:menu>
<mb3:menu>
- <mb3:named>Collections</mb3:named>
+ <mb3:named>@Collection</mb3:named>
<mb3:section>
<mb3:named>@Collection</mb3:named>
<mb3:serviceAction objectType="demo.CollectionMenu" id="domainEvent"/>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvCharacter.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvCharacter.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvCharacter.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvCharacter.java
index 3a4f8a19cd..b7fa85e881 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvCharacter.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvCharacter.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel;
+package demoapp.dom.progmodel.actions;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvCharacterPopulator.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvCharacterPopulator.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvCharacterPopulator.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvCharacterPopulator.java
index 456f09b9f3..877e9a53d5 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvCharacterPopulator.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvCharacterPopulator.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel;
+package demoapp.dom.progmodel.actions;
import java.util.Set;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvShow.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvShow.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvShow.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvShow.java
index 8118c44ab7..7645f6596e 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/TvShow.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/TvShow.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel;
+package demoapp.dom.progmodel.actions;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompleteMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompleteMenu.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompleteMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompleteMenu.java
index b346eb75be..8e6ab617c1 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompleteMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompleteMenu.java
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.autocomplete;
+package demoapp.dom.progmodel.actions.autocomplete;
-import demoapp.dom.domain.actions.progmodel.TvCharacterPopulator;
+import demoapp.dom.progmodel.actions.TvCharacterPopulator;
import lombok.RequiredArgsConstructor;
import lombok.val;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-dependentAutoCompleteDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-dependentAutoCompleteDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-dependentAutoCompleteDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-dependentAutoCompleteDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-multipleAutoCompleteDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-multipleAutoCompleteDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-multipleAutoCompleteDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-multipleAutoCompleteDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-parameterMatchingDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-parameterMatchingDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-parameterMatchingDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-parameterMatchingDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-singleAutoCompleteDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-singleAutoCompleteDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage-singleAutoCompleteDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage-singleAutoCompleteDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage.java
index 7749ce78d9..8412b6494f 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.autocomplete;
+package demoapp.dom.progmodel.actions.autocomplete;
import java.util.LinkedHashSet;
import java.util.Set;
@@ -44,7 +44,7 @@ import lombok.Getter;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
import demoapp.dom._infra.resources.AsciiDocReaderService;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
@XmlRootElement(name = "Demo")
@XmlType
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacter.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacter.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacter.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacter.java
index 54acefb573..ab659400d9 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacter.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacter.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.autocomplete;
+package demoapp.dom.progmodel.actions.autocomplete;
import java.util.Collection;
import java.util.stream.Collectors;
@@ -30,7 +30,7 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacterByShow.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacterByShow.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacterByShow.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacterByShow.java
index 4c9e6285ca..4782b71bc2 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacterByShow.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacterByShow.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.autocomplete;
+package demoapp.dom.progmodel.actions.autocomplete;
import java.util.Collection;
import java.util.stream.Collectors;
@@ -30,8 +30,8 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacters.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacters.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacters.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacters.java
index 76f4985634..244c304397 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharacters.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharacters.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.autocomplete;
+package demoapp.dom.progmodel.actions.autocomplete;
import java.util.Collection;
import java.util.List;
@@ -31,7 +31,7 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharactersByShow.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharactersByShow.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharactersByShow.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharactersByShow.java
index 57361f013f..d87c73ec3e 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharactersByShow.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharactersByShow.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.autocomplete;
+package demoapp.dom.progmodel.actions.autocomplete;
import java.util.List;
import java.util.stream.Collectors;
@@ -33,8 +33,8 @@ import lombok.Value;
import lombok.val;
import lombok.experimental.Accessors;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.SAFE)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharactersByShows.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharactersByShows.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharactersByShows.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharactersByShows.java
index 7f2f440d08..3370be534f 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/autocomplete/ActionAutoCompletePage_selectTvCharactersByShows.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/autocomplete/ActionAutoCompletePage_selectTvCharactersByShows.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.autocomplete;
+package demoapp.dom.progmodel.actions.autocomplete;
import java.util.List;
import java.util.stream.Collectors;
@@ -30,8 +30,8 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.SAFE)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntity-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntity-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntity.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntity.java
index 4a9859ea3a..09a1e6cdfc 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntity.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
import demoapp.dom._infra.values.ValueHolder;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntity.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntity.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntity.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntityRepository.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntityRepository.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntityRepository.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntityRepository.java
index 5d7f92330d..f1a95c78cc 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntityRepository.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntityRepository.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import java.util.List;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntitySeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntitySeeding.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntitySeeding.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntitySeeding.java
index e3a2df59aa..d9764e840b 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionItemEntitySeeding.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionItemEntitySeeding.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import javax.inject.Inject;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionMenu.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionMenu.java
index b33d7b9fb7..134d1094c5 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import javax.annotation.Priority;
import javax.inject.Inject;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage.java
similarity index 98%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage.java
index 0b636bb4ec..6578b9f52e 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import javax.inject.Named;
import javax.xml.bind.annotation.XmlAccessType;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_addToAmericanFavourites.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_addToAmericanFavourites.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_addToAmericanFavourites.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_addToAmericanFavourites.java
index eceab543ae..9668d36be2 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_addToAmericanFavourites.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_addToAmericanFavourites.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import java.util.List;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_addToBritishFavourites.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_addToBritishFavourites.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_addToBritishFavourites.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_addToBritishFavourites.java
index 1646d8e1ee..585c1bfce0 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_addToBritishFavourites.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_addToBritishFavourites.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import java.util.List;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_removeFromAmericanFavourites.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_removeFromAmericanFavourites.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_removeFromAmericanFavourites.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_removeFromAmericanFavourites.java
index 37eda2f534..049eecf703 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_removeFromAmericanFavourites.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_removeFromAmericanFavourites.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import java.util.List;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_removeFromBritishFavourites.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_removeFromBritishFavourites.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_removeFromBritishFavourites.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_removeFromBritishFavourites.java
index aa13e202af..052a527f51 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/BulkActionPage_removeFromBritishFavourites.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/BulkActionPage_removeFromBritishFavourites.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk;
+package demoapp.dom.progmodel.actions.bulk;
import java.util.List;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImpl-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImpl-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImpl-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImpl.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImpl.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImpl.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImpl.java
index 5a35d2d40b..81e4d4e186 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImpl.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImpl.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk.jdo;
+package demoapp.dom.progmodel.actions.bulk.jdo;
import javax.inject.Named;
import javax.jdo.annotations.IdentityType;
@@ -32,7 +32,7 @@ import org.apache.causeway.applib.jaxb.PersistentEntityAdapter;
import lombok.Getter;
import lombok.Setter;
-import demoapp.dom.domain.actions.progmodel.bulk.BulkActionItemEntity;
+import demoapp.dom.progmodel.actions.bulk.BulkActionItemEntity;
@Profile("demo-jdo")
@PersistenceCapable(
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImplRepository.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImplRepository.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImplRepository.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImplRepository.java
index c402d860c9..5ade5c57ac 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jdo/BulkActionItemEntityImplRepository.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jdo/BulkActionItemEntityImplRepository.java
@@ -16,13 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk.jdo;
+package demoapp.dom.progmodel.actions.bulk.jdo;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
import demoapp.dom._infra.values.ValueHolderRepository;
-import demoapp.dom.domain.actions.progmodel.bulk.BulkActionItemEntityRepository;
+import demoapp.dom.progmodel.actions.bulk.BulkActionItemEntityRepository;
@Profile("demo-jdo")
@Service
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImpl-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImpl-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImpl-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImpl-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImpl.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImpl.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImpl.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImpl.java
index 55f4cd92a0..418ee8430c 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImpl.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImpl.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk.jpa;
+package demoapp.dom.progmodel.actions.bulk.jpa;
import javax.inject.Named;
import javax.persistence.Entity;
@@ -37,7 +37,7 @@ import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
-import demoapp.dom.domain.actions.progmodel.bulk.BulkActionItemEntity;
+import demoapp.dom.progmodel.actions.bulk.BulkActionItemEntity;
@Profile("demo-jpa")
@Entity
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImplRepository.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImplRepository.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImplRepository.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImplRepository.java
index 0c6bbf82fd..add846ba4b 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/bulk/jpa/BulkActionItemEntityImplRepository.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/bulk/jpa/BulkActionItemEntityImplRepository.java
@@ -16,13 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.bulk.jpa;
+package demoapp.dom.progmodel.actions.bulk.jpa;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
import demoapp.dom._infra.values.ValueHolderRepository;
-import demoapp.dom.domain.actions.progmodel.bulk.BulkActionItemEntityRepository;
+import demoapp.dom.progmodel.actions.bulk.BulkActionItemEntityRepository;
@Profile("demo-jpa")
@Service
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesMenu.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesMenu.java
index 8fce7fb361..ad881d901d 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.choices;
+package demoapp.dom.progmodel.actions.choices;
import javax.annotation.Priority;
import javax.inject.Inject;
@@ -32,7 +32,7 @@ import org.apache.causeway.applib.services.factory.FactoryService;
import lombok.RequiredArgsConstructor;
import lombok.val;
-import demoapp.dom.domain.actions.progmodel.TvCharacterPopulator;
+import demoapp.dom.progmodel.actions.TvCharacterPopulator;
@Named("demo.ActionChoicesMenu")
@DomainService(nature=NatureOfService.VIEW)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-dependentChoiceDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-dependentChoiceDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-dependentChoiceDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-dependentChoiceDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-multipleChoicesDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-multipleChoicesDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-multipleChoicesDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-multipleChoicesDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-parameterMatchingDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-parameterMatchingDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-parameterMatchingDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-parameterMatchingDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-singleChoiceDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-singleChoiceDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage-singleChoiceDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage-singleChoiceDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage.java
index 81b5516e63..917a7c47ec 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.choices;
+package demoapp.dom.progmodel.actions.choices;
import java.util.LinkedHashSet;
import java.util.Set;
@@ -38,7 +38,6 @@ import org.apache.causeway.applib.annotation.Nature;
import org.apache.causeway.applib.annotation.ObjectSupport;
import org.apache.causeway.applib.annotation.Property;
import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.value.Markup;
import org.apache.causeway.valuetypes.asciidoc.applib.value.AsciiDoc;
import demoapp.dom._infra.resources.AsciiDocReaderService;
@@ -46,7 +45,7 @@ import demoapp.dom._infra.resources.AsciiDocReaderService;
import lombok.Getter;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
@XmlRootElement(name = "Demo")
@XmlType
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacter.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacter.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacter.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacter.java
index 45852d51c4..5670ef7ec8 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacter.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacter.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.choices;
+package demoapp.dom.progmodel.actions.choices;
import java.util.Collection;
@@ -28,7 +28,7 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacterByShow.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacterByShow.java
similarity index 90%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacterByShow.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacterByShow.java
index 7b4b009a55..c023ce6237 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacterByShow.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacterByShow.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.choices;
+package demoapp.dom.progmodel.actions.choices;
import java.util.Collection;
import java.util.stream.Collectors;
@@ -28,11 +28,9 @@ import org.apache.causeway.applib.annotation.Parameter;
import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import lombok.Value;
-import lombok.experimental.Accessors;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacters.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacters.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacters.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacters.java
index 82e53f79ff..ce54953605 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharacters.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharacters.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.choices;
+package demoapp.dom.progmodel.actions.choices;
import java.util.Collection;
import java.util.List;
@@ -29,7 +29,7 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharactersByShow.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharactersByShow.java
similarity index 90%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharactersByShow.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharactersByShow.java
index e02ff5f1ba..79f0970dd1 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharactersByShow.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharactersByShow.java
@@ -16,27 +16,24 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.choices;
+package demoapp.dom.progmodel.actions.choices;
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.MemberSupport;
import org.apache.causeway.applib.annotation.Optionality;
import org.apache.causeway.applib.annotation.Parameter;
import org.apache.causeway.applib.annotation.SemanticsOf;
-import org.apache.causeway.applib.services.message.MessageService;
import lombok.RequiredArgsConstructor;
import lombok.Value;
import lombok.val;
import lombok.experimental.Accessors;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.SAFE)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharactersByShows.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharactersByShows.java
similarity index 83%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharactersByShows.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharactersByShows.java
index 9d8d63821e..792b546fc5 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/choices/ActionChoicesPage_selectTvCharactersByShows.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/choices/ActionChoicesPage_selectTvCharactersByShows.java
@@ -16,29 +16,21 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.choices;
+package demoapp.dom.progmodel.actions.choices;
-import java.util.Collections;
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.MemberSupport;
import org.apache.causeway.applib.annotation.Optionality;
import org.apache.causeway.applib.annotation.Parameter;
import org.apache.causeway.applib.annotation.SemanticsOf;
-import org.apache.causeway.applib.services.message.MessageService;
-import org.apache.causeway.commons.internal.base._NullSafe;
import lombok.RequiredArgsConstructor;
-import lombok.Value;
-import lombok.val;
-import lombok.experimental.Accessors;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.SAFE)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsMenu.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsMenu.java
index 41b11fb0e2..b3602c4c7d 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.defaults;
+package demoapp.dom.progmodel.actions.defaults;
import javax.annotation.Priority;
import javax.inject.Inject;
@@ -32,7 +32,7 @@ import org.apache.causeway.applib.services.factory.FactoryService;
import lombok.RequiredArgsConstructor;
import lombok.val;
-import demoapp.dom.domain.actions.progmodel.TvCharacterPopulator;
+import demoapp.dom.progmodel.actions.TvCharacterPopulator;
@Named("demo.ActionDefaultsMenu")
@DomainService(nature=NatureOfService.VIEW)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-multipleDefaultsDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-multipleDefaultsDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-multipleDefaultsDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-multipleDefaultsDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-parameterMatchingDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-parameterMatchingDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-parameterMatchingDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-parameterMatchingDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-singleDefaultDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-singleDefaultDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage-singleDefaultDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage-singleDefaultDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage.java
index 3dd7ea0385..4790b05c9b 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.defaults;
+package demoapp.dom.progmodel.actions.defaults;
import java.util.LinkedHashSet;
import java.util.Set;
@@ -41,13 +41,13 @@ import org.apache.causeway.applib.annotation.Property;
import org.apache.causeway.applib.annotation.PropertyLayout;
import org.apache.causeway.valuetypes.asciidoc.applib.value.AsciiDoc;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvShow;
import lombok.Getter;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
import demoapp.dom._infra.resources.AsciiDocReaderService;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
import lombok.Setter;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharacterByShow.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharacterByShow.java
similarity index 90%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharacterByShow.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharacterByShow.java
index ff24444c81..1acdf43bf8 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharacterByShow.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharacterByShow.java
@@ -16,11 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.defaults;
+package demoapp.dom.progmodel.actions.defaults;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
-import demoapp.dom.domain.actions.progmodel.choices.ActionChoicesPage;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
import lombok.RequiredArgsConstructor;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharacters.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharacters.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharacters.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharacters.java
index 0e5f81a3ee..c83b6e6c6d 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharacters.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharacters.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.defaults;
+package demoapp.dom.progmodel.actions.defaults;
import java.util.Collection;
import java.util.List;
@@ -30,7 +30,7 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharactersByShowAndSex.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharactersByShowAndSex.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharactersByShowAndSex.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharactersByShowAndSex.java
index 6f12cbe08e..ebe88bd055 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/defaults/ActionDefaultsPage_selectTvCharactersByShowAndSex.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/defaults/ActionDefaultsPage_selectTvCharactersByShowAndSex.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.defaults;
+package demoapp.dom.progmodel.actions.defaults;
import java.util.ArrayList;
import java.util.List;
@@ -33,8 +33,8 @@ import lombok.Value;
import lombok.val;
import lombok.experimental.Accessors;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.SAFE)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidateMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidateMenu.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidateMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidateMenu.java
index 3ad8375656..33712d38cc 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidateMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidateMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.validate;
+package demoapp.dom.progmodel.actions.validate;
import javax.annotation.Priority;
import javax.inject.Inject;
@@ -32,7 +32,7 @@ import org.apache.causeway.applib.services.factory.FactoryService;
import lombok.RequiredArgsConstructor;
import lombok.val;
-import demoapp.dom.domain.actions.progmodel.TvCharacterPopulator;
+import demoapp.dom.progmodel.actions.TvCharacterPopulator;
@Named("demo.ActionValidateMenu")
@DomainService(nature=NatureOfService.VIEW)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-allArgsValidationDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-allArgsValidationDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-allArgsValidationDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-allArgsValidationDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-parameterMatchingDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-parameterMatchingDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-parameterMatchingDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-parameterMatchingDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-singleValidateDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-singleValidateDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage-singleValidateDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage-singleValidateDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage.java
index c80427d9e8..e900c4f0b3 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage.java
@@ -16,13 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.validate;
+package demoapp.dom.progmodel.actions.validate;
-import java.util.Arrays;
import java.util.LinkedHashSet;
-import java.util.List;
import java.util.Set;
-import java.util.TreeSet;
import javax.inject.Inject;
import javax.inject.Named;
@@ -49,8 +46,8 @@ import lombok.Setter;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
import demoapp.dom._infra.resources.AsciiDocReaderService;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
@XmlRootElement(name = "Demo")
@XmlType
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharacterByShow.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharacterByShow.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharacterByShow.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharacterByShow.java
index 52d54ec7f9..83a56c811e 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharacterByShow.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharacterByShow.java
@@ -16,10 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.validate;
+package demoapp.dom.progmodel.actions.validate;
import java.util.Collection;
-import java.util.stream.Collectors;
import org.apache.causeway.applib.annotation.Action;
import org.apache.causeway.applib.annotation.MemberSupport;
@@ -29,8 +28,8 @@ import org.apache.causeway.applib.annotation.SemanticsOf;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.IDEMPOTENT)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharacters.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharacters.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharacters.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharacters.java
index 73de7ae7b5..8372588e69 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharacters.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharacters.java
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.validate;
+package demoapp.dom.progmodel.actions.validate;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
import lombok.RequiredArgsConstructor;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingName.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingName.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingName.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingName.java
index 3173185cb1..08ae5a3061 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingName.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingName.java
@@ -16,14 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.validate;
+package demoapp.dom.progmodel.actions.validate;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
import lombok.RequiredArgsConstructor;
-import lombok.Value;
-import lombok.experimental.Accessors;
import java.util.ArrayList;
import java.util.List;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingRecord.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingRecord.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingRecord.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingRecord.java
index 81e5f346cb..369cb8e86c 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingRecord.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/validate/ActionValidatePage_selectTvCharactersByShowAndSexUsingRecord.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.validate;
+package demoapp.dom.progmodel.actions.validate;
import java.util.ArrayList;
import java.util.List;
@@ -33,8 +33,8 @@ import lombok.Value;
import lombok.val;
import lombok.experimental.Accessors;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
+import demoapp.dom.progmodel.actions.TvShow;
//tag::class[]
@Action(semantics = SemanticsOf.SAFE)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoMenu.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoMenu.java
index f405b8987f..3b15e4b066 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.veto;
+package demoapp.dom.progmodel.actions.veto;
import javax.annotation.Priority;
import javax.inject.Inject;
@@ -32,7 +32,7 @@ import org.apache.causeway.applib.services.factory.FactoryService;
import lombok.RequiredArgsConstructor;
import lombok.val;
-import demoapp.dom.domain.actions.progmodel.TvCharacterPopulator;
+import demoapp.dom.progmodel.actions.TvCharacterPopulator;
@Named("demo.ActionVetoMenu")
@DomainService(nature=NatureOfService.VIEW)
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-disableActionDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-disableActionDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-disableActionDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-disableActionDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-hideActionDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-hideActionDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-hideActionDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-hideActionDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-vetoParamDescription.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-vetoParamDescription.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage-vetoParamDescription.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage-vetoParamDescription.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage.java
index f90d34294b..bf4ccfbb78 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.veto;
+package demoapp.dom.progmodel.actions.veto;
import java.util.LinkedHashSet;
import java.util.Set;
@@ -36,7 +36,6 @@ import org.apache.causeway.applib.annotation.Editing;
import org.apache.causeway.applib.annotation.LabelPosition;
import org.apache.causeway.applib.annotation.Nature;
import org.apache.causeway.applib.annotation.ObjectSupport;
-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.valuetypes.asciidoc.applib.value.AsciiDoc;
@@ -46,8 +45,7 @@ import lombok.Setter;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
import demoapp.dom._infra.resources.AsciiDocReaderService;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
-import demoapp.dom.domain.actions.progmodel.TvShow;
+import demoapp.dom.progmodel.actions.TvCharacter;
@XmlRootElement(name = "Demo")
@XmlType
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersBySex.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersBySex.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersBySex.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersBySex.java
index 672ff8a75b..f881635954 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersBySex.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersBySex.java
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.veto;
+package demoapp.dom.progmodel.actions.veto;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
import lombok.RequiredArgsConstructor;
import lombok.Value;
@@ -26,7 +26,6 @@ import lombok.experimental.Accessors;
import java.util.Collection;
import java.util.List;
-import java.util.Set;
import java.util.stream.Collectors;
import org.apache.causeway.applib.annotation.*;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersIfNotDisabled.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersIfNotDisabled.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersIfNotDisabled.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersIfNotDisabled.java
index ed7df09452..551d5c6b11 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersIfNotDisabled.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersIfNotDisabled.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.veto;
+package demoapp.dom.progmodel.actions.veto;
import java.util.List;
import java.util.Set;
@@ -28,7 +28,7 @@ import org.apache.causeway.applib.annotation.Parameter;
import lombok.RequiredArgsConstructor;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
//tag::class[]
@Action
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersIfNotHidden.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersIfNotHidden.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersIfNotHidden.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersIfNotHidden.java
index ce2007a879..d6d1ff61b8 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/actions/progmodel/veto/ActionVetoPage_selectTvCharactersIfNotHidden.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/actions/veto/ActionVetoPage_selectTvCharactersIfNotHidden.java
@@ -16,13 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.actions.progmodel.veto;
+package demoapp.dom.progmodel.actions.veto;
-import demoapp.dom.domain.actions.progmodel.TvCharacter;
+import demoapp.dom.progmodel.actions.TvCharacter;
import lombok.RequiredArgsConstructor;
-import lombok.Value;
-import lombok.experimental.Accessors;
import java.util.List;
import java.util.Set;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumber.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumber.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumber.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumber.java
index 2d90460356..447150cb43 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumber.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumber.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.compositevalues;
+package demoapp.dom.progmodel.customvaluetypes.compositevalues;
//tag::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumberValueSemantics.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumberValueSemantics.java
similarity index 98%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumberValueSemantics.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumberValueSemantics.java
index f84cf5271b..ecb2967a24 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumberValueSemantics.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumberValueSemantics.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.compositevalues;
+package demoapp.dom.progmodel.customvaluetypes.compositevalues;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumber_default.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumber_default.java
similarity index 93%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumber_default.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumber_default.java
index 1a6ac85c17..6b5be25f37 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/ComplexNumber_default.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/ComplexNumber_default.java
@@ -1,4 +1,4 @@
-package demoapp.dom.domain.objects.progmodel.compositevalues;
+package demoapp.dom.progmodel.customvaluetypes.compositevalues;
import org.apache.causeway.applib.annotation.Action;
import org.apache.causeway.applib.annotation.ActionLayout;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypeMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypeMenu.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypeMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypeMenu.java
index 5a14672454..7585183481 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypeMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypeMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.compositevalues;
+package demoapp.dom.progmodel.customvaluetypes.compositevalues;
import javax.inject.Inject;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage.java
similarity index 92%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage.java
index 7277fc30d2..755da72280 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.compositevalues;
+package demoapp.dom.progmodel.customvaluetypes.compositevalues;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
@@ -29,7 +29,6 @@ import org.apache.causeway.applib.annotation.DomainObject;
import org.apache.causeway.applib.annotation.Nature;
import org.apache.causeway.applib.annotation.ObjectSupport;
import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
//tag::class[]
@Named("demo.CompositeValuesPage")
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage_addComplexNumber.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage_addComplexNumber.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage_addComplexNumber.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage_addComplexNumber.java
index 34d2b70cad..d33a608d81 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage_addComplexNumber.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage_addComplexNumber.java
@@ -1,4 +1,4 @@
-package demoapp.dom.domain.objects.progmodel.compositevalues;
+package demoapp.dom.progmodel.customvaluetypes.compositevalues;
import lombok.RequiredArgsConstructor;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage_subtractComplexNumber.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage_subtractComplexNumber.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage_subtractComplexNumber.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage_subtractComplexNumber.java
index 3546b64360..a3fd57a303 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/compositevalues/CompositeValueTypePage_subtractComplexNumber.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/compositevalues/CompositeValueTypePage_subtractComplexNumber.java
@@ -1,4 +1,4 @@
-package demoapp.dom.domain.objects.progmodel.compositevalues;
+package demoapp.dom.progmodel.customvaluetypes.compositevalues;
import lombok.RequiredArgsConstructor;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/EmailAddress.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/EmailAddress.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/EmailAddress.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/EmailAddress.java
index bc2785dd5c..5e4a9b64dd 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/EmailAddress.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/EmailAddress.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.customvalues;
+package demoapp.dom.progmodel.customvaluetypes.customvalues;
//tag::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/EmailAddressValueSemantics.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/EmailAddressValueSemantics.java
similarity index 98%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/EmailAddressValueSemantics.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/EmailAddressValueSemantics.java
index 92d9cd9d9f..854ad87752 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/EmailAddressValueSemantics.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/EmailAddressValueSemantics.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.customvalues;
+package demoapp.dom.progmodel.customvaluetypes.customvalues;
import lombok.NonNull;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/Percentage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/Percentage.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/Percentage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/Percentage.java
index 65086dad29..b57fd07433 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/Percentage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/Percentage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.customvalues;
+package demoapp.dom.progmodel.customvaluetypes.customvalues;
//tag::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypeMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypeMenu.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypeMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypeMenu.java
index ad454dcabb..f94c54c336 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypeMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypeMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.customvalues;
+package demoapp.dom.progmodel.customvaluetypes.customvalues;
import javax.inject.Inject;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypePage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypePage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypePage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypePage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypePage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypePage.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypePage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypePage.java
index fb2c17b070..c53de93d83 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypePage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypePage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.customvalues;
+package demoapp.dom.progmodel.customvaluetypes.customvalues;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypePage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypePage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/customvalues/ScalarValueTypePage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/customvalues/ScalarValueTypePage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/ComplexNumber.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/ComplexNumber.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/ComplexNumber.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/ComplexNumber.java
index 3f12f2f456..93559d403b 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/ComplexNumber.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/ComplexNumber.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues;
import lombok.Value;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/ComplexNumberSamples.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/ComplexNumberSamples.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/ComplexNumberSamples.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/ComplexNumberSamples.java
index dcd9f310e4..624594947a 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/ComplexNumberSamples.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/ComplexNumberSamples.java
@@ -18,7 +18,7 @@
*
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues;
import java.util.stream.Stream;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/NumberConstantEntity.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/NumberConstantEntity.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/NumberConstantEntity.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/NumberConstantEntity.java
index fcdf5b8b0c..d0cc68232a 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/NumberConstantEntity.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/NumberConstantEntity.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/NumberConstantSeeding.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/NumberConstantSeeding.java
similarity index 95%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/NumberConstantSeeding.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/NumberConstantSeeding.java
index 35d170afdf..b3be233783 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/NumberConstantSeeding.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/NumberConstantSeeding.java
@@ -18,7 +18,7 @@
*
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues;
import javax.inject.Inject;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/ComplexNumberJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/ComplexNumberJdo.java
similarity index 90%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/ComplexNumberJdo.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/ComplexNumberJdo.java
index 4f87cc28d4..726985246d 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/ComplexNumberJdo.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/ComplexNumberJdo.java
@@ -16,14 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jdo;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jdo;
import org.apache.causeway.applib.annotation.Value;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
import lombok.AccessLevel;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
-
//tag::class[]
@javax.jdo.annotations.PersistenceCapable
@javax.jdo.annotations.EmbeddedOnly // <.>
@@ -33,7 +32,7 @@ import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
@lombok.AllArgsConstructor(staticName = "of")
@lombok.NoArgsConstructor // <4>
public class ComplexNumberJdo
- implements ComplexNumber{
+ implements ComplexNumber {
@javax.jdo.annotations.Column(allowsNull = "false")
private double re; // <.>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/ComplexNumberJdoValueSemantics.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/ComplexNumberJdoValueSemantics.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/ComplexNumberJdoValueSemantics.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/ComplexNumberJdoValueSemantics.java
index 16ba12d9b7..34280523d9 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/ComplexNumberJdoValueSemantics.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/ComplexNumberJdoValueSemantics.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jdo;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jdo;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypeMenuJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypeMenuJdo.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypeMenuJdo.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypeMenuJdo.java
index a288162043..15802da0f8 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypeMenuJdo.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypeMenuJdo.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jdo;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jdo;
import javax.inject.Inject;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypePageJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypePageJdo-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypePageJdo-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypePageJdo-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypePageJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypePageJdo.java
similarity index 88%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypePageJdo.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypePageJdo.java
index cd9d949605..4cac4e0753 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypePageJdo.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypePageJdo.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jdo;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jdo;
import java.util.List;
@@ -30,8 +30,8 @@ import org.apache.causeway.applib.annotation.ObjectSupport;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
import demoapp.dom._infra.values.ValueHolderRepository;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.NumberConstantEntity;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.NumberConstantEntity;
//tag::class[]
@Named("demo.EmbeddedTypePageJdo")
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypePageJdo.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypePageJdo.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/EmbeddedTypePageJdo.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/EmbeddedTypePageJdo.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo.java
index ff060ed088..193cc5992f 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jdo;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jdo;
import javax.inject.Named;
import javax.jdo.annotations.Column;
@@ -36,8 +36,8 @@ import org.apache.causeway.applib.annotation.Property;
import lombok.Getter;
import lombok.Setter;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.NumberConstantEntity;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.NumberConstantEntity;
@Profile("demo-jdo")
//tag::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo.svg b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo.svg
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdo.svg
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdo.svg
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdoRepository.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdoRepository.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdoRepository.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdoRepository.java
index a4fd86eb29..677d969475 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jdo/NumberConstantJdoRepository.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jdo/NumberConstantJdoRepository.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jdo;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jdo;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
@@ -24,7 +24,7 @@ import org.springframework.stereotype.Service;
import lombok.val;
import demoapp.dom._infra.values.ValueHolderRepository;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
@Profile("demo-jdo")
@Service
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/ComplexNumberJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/ComplexNumberJpa.java
similarity index 92%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/ComplexNumberJpa.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/ComplexNumberJpa.java
index f5269d5b95..076f82e92f 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/ComplexNumberJpa.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/ComplexNumberJpa.java
@@ -16,13 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jpa;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jpa;
import org.apache.causeway.applib.annotation.Value;
import lombok.AccessLevel;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
//tag::class[]
@javax.persistence.Embeddable // <.>
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/ComplexNumberJpaValueSemantics.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/ComplexNumberJpaValueSemantics.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/ComplexNumberJpaValueSemantics.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/ComplexNumberJpaValueSemantics.java
index 9a2273a43a..7169bb66e9 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/ComplexNumberJpaValueSemantics.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/ComplexNumberJpaValueSemantics.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jpa;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jpa;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypeMenuJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypeMenuJpa.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypeMenuJpa.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypeMenuJpa.java
index a463c6b093..01e5854c9f 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypeMenuJpa.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypeMenuJpa.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jpa;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jpa;
import javax.inject.Inject;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypePageJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypePageJpa-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypePageJpa-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypePageJpa-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypePageJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypePageJpa.java
similarity index 88%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypePageJpa.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypePageJpa.java
index 90c1392fb9..d3e1d0cc8b 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypePageJpa.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypePageJpa.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jpa;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jpa;
import java.util.List;
@@ -30,8 +30,8 @@ import org.apache.causeway.applib.annotation.ObjectSupport;
import demoapp.dom._infra.asciidocdesc.HasAsciiDocDescription;
import demoapp.dom._infra.values.ValueHolderRepository;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.NumberConstantEntity;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.NumberConstantEntity;
//tag::class[]
@Named("demo.EmbeddedTypePageJpa")
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypePageJpa.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypePageJpa.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/EmbeddedTypePageJpa.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/EmbeddedTypePageJpa.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa.java
index 25a16a02d0..78bc4616a9 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jpa;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jpa;
import javax.inject.Named;
import javax.persistence.Entity;
@@ -37,8 +37,8 @@ import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.NumberConstantEntity;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.NumberConstantEntity;
@Profile("demo-jpa")
//tag::class[]
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa.svg b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa.svg
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpa.svg
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpa.svg
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpaRepository.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpaRepository.java
similarity index 91%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpaRepository.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpaRepository.java
index df35057be2..9051aefaa1 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/embeddedvalues/jpa/NumberConstantJpaRepository.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/customvaluetypes/embeddedvalues/jpa/NumberConstantJpaRepository.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.embeddedvalues.jpa;
+package demoapp.dom.progmodel.customvaluetypes.embeddedvalues.jpa;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
@@ -24,7 +24,7 @@ import org.springframework.stereotype.Service;
import lombok.val;
import demoapp.dom._infra.values.ValueHolderRepository;
-import demoapp.dom.domain.objects.progmodel.embeddedvalues.ComplexNumber;
+import demoapp.dom.progmodel.customvaluetypes.embeddedvalues.ComplexNumber;
@Profile("demo-jpa")
@Service
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder.java
similarity index 94%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder.java
index 293d17c303..191daf2e23 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.mixins;
+package demoapp.dom.progmodel.mixins;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_explanation.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_explanation.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_explanation.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_explanation.java
index 2e40a803f4..dabab3ce46 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_explanation.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_explanation.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.mixins;
+package demoapp.dom.progmodel.mixins;
import org.apache.causeway.applib.annotation.Property;
import org.apache.causeway.applib.annotation.PropertyLayout;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_fibonacciSequence.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_fibonacciSequence.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_fibonacciSequence.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_fibonacciSequence.java
index bfb7d7981f..4b1f5f550d 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_fibonacciSequence.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_fibonacciSequence.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.mixins;
+package demoapp.dom.progmodel.mixins;
import java.util.ArrayList;
import java.util.List;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_updateCount.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_updateCount.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_updateCount.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_updateCount.java
index 8accfeb0cd..f665e862d8 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/CountHolder_updateCount.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/CountHolder_updateCount.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.mixins;
+package demoapp.dom.progmodel.mixins;
import org.apache.causeway.applib.annotation.Action;
import org.apache.causeway.applib.annotation.ActionLayout;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/FibonacciNumberVm-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/FibonacciNumberVm-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/FibonacciNumberVm-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/FibonacciNumberVm-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/FibonacciNumberVm.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/FibonacciNumberVm.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/FibonacciNumberVm.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/FibonacciNumberVm.java
index 89881570e0..60799175ca 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/FibonacciNumberVm.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/FibonacciNumberVm.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.mixins;
+package demoapp.dom.progmodel.mixins;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/FibonacciNumberVm.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/FibonacciNumberVm.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/FibonacciNumberVm.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/FibonacciNumberVm.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinMenu.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinMenu.java
similarity index 96%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinMenu.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinMenu.java
index 7fc89aae53..1603ec9693 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinMenu.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinMenu.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.mixins;
+package demoapp.dom.progmodel.mixins;
import javax.inject.Named;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinPage-description.adoc b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinPage-description.adoc
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinPage-description.adoc
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinPage-description.adoc
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinPage.java b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinPage.java
similarity index 97%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinPage.java
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinPage.java
index b3661d93f6..4022bdd775 100644
--- a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinPage.java
+++ b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinPage.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package demoapp.dom.domain.objects.progmodel.mixins;
+package demoapp.dom.progmodel.mixins;
import javax.inject.Named;
import javax.xml.bind.annotation.XmlAccessType;
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinPage.layout.xml b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinPage.layout.xml
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/mixins/MixinPage.layout.xml
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/mixins/MixinPage.layout.xml
diff --git a/examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/bean/readme.txt b/examples/demo/domain/src/main/java/demoapp/dom/progmodel/services/bean/readme.txt
similarity index 100%
rename from examples/demo/domain/src/main/java/demoapp/dom/domain/objects/progmodel/bean/readme.txt
rename to examples/demo/domain/src/main/java/demoapp/dom/progmodel/services/bean/readme.txt
diff --git a/examples/demo/domain/src/main/resources/static/css/application.css b/examples/demo/domain/src/main/resources/static/css/application.css
index e507f33b2a..58f8fba943 100644
--- a/examples/demo/domain/src/main/resources/static/css/application.css
+++ b/examples/demo/domain/src/main/resources/static/css/application.css
@@ -371,4 +371,8 @@ div.sect3 > h4 {
img.navbar-brand-logo {
height: 30px;
+}
+
+#fieldSet-sources span.scalarValueInput div.additionalButtons {
+ display: none;
}
\ No newline at end of file