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
The following commit(s) were added to refs/heads/master by this push:
new 75aa47cffb ISIS-3226: minor: javadoc and utility
75aa47cffb is described below
commit 75aa47cffbda12c7efef2ad97e571ffcf20e08d3
Author: Andi Huber <[email protected]>
AuthorDate: Thu Oct 13 08:01:41 2022 +0200
ISIS-3226: minor: javadoc and utility
---
.../core/metamodel/consent/InteractionInitiatedBy.java | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git
a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/consent/InteractionInitiatedBy.java
b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/consent/InteractionInitiatedBy.java
index f8e6ddf05f..b7901c30df 100644
---
a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/consent/InteractionInitiatedBy.java
+++
b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/consent/InteractionInitiatedBy.java
@@ -37,22 +37,24 @@ public enum InteractionInitiatedBy {
FRAMEWORK,
/**
- * always authorized, no transactions, no publishing, no domain events
+ * always authorized, no transactions, no publishing, no domain events;
+ * eg. used for serialization and de-serialization
*/
PASS_THROUGH;
/**
* @see #USER
*/
- public boolean isUser() {
- return this==USER;
- }
+ public boolean isUser() { return this==USER; }
+
+ /**
+ * @see #FRAMEWORK
+ */
+ public boolean isFramework() { return this==FRAMEWORK; }
/**
* @see #PASS_THROUGH
*/
- public boolean isPassThrough() {
- return this==PASS_THROUGH;
- }
+ public boolean isPassThrough() { return this==PASS_THROUGH; }
}