You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/01/21 15:15:22 UTC
[isis] 01/02: ISIS-2270: some api notes for FactoryService
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 7e433ee35322088b39f6e90a021abb1fca1697e3
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Jan 21 14:23:07 2020 +0100
ISIS-2270: some api notes for FactoryService
---
.../java/org/apache/isis/applib/services/factory/FactoryService.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java b/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java
index f13919e..a3eaa5e 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java
@@ -53,6 +53,7 @@ public interface FactoryService {
* @param mixinClass
* @param mixedIn
* @return
+ * @apiNote forces the mixinClass to be added to the meta-model if not already
*/
<T> T mixin(Class<T> mixinClass, Object mixedIn);
@@ -60,6 +61,7 @@ public interface FactoryService {
* Creates a new ViewModel instance, and initializes according to the given {@code mementoStr}
* @param viewModelClass
* @param mementoStr - ignored if {@code null}
+ * @apiNote forces the viewModelClass to be added to the meta-model if not already
* @since 2.0
*/
<T> T viewModel(Class<T> viewModelClass, @Nullable String mementoStr);
@@ -67,6 +69,7 @@ public interface FactoryService {
/**
* Creates a new ViewModel instance
* @param viewModelClass
+ * @apiNote forces the viewModelClass to be added to the meta-model if not already
* @since 2.0
*/
default <T> T viewModel(Class<T> viewModelClass) {