You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2017/10/16 16:01:26 UTC
[isis] 04/09: ISIS-1742: deprecates DomainObjectContainer's
#isValid,
#validate since semantics of when can be called are not well-defined
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch dev/2.0.0/ISIS-1742-remove-deprecations
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 2811065bc81f632ec7a359795a1e1fd160f6571b
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Oct 16 16:04:09 2017 +0100
ISIS-1742: deprecates DomainObjectContainer's #isValid, #validate since semantics of when can be called are not well-defined
---
.../src/main/java/org/apache/isis/applib/DomainObjectContainer.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/core/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java b/core/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java
index d5d7318..5ae95f5 100644
--- a/core/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java
+++ b/core/applib/src/main/java/org/apache/isis/applib/DomainObjectContainer.java
@@ -182,7 +182,10 @@ public interface DomainObjectContainer {
* validation of properties, collections and object-level is vetoing.
*
* @see #validate(Object)
+ *
+ * @deprecated - semantics of when this can be called in the object's lifecycle is not well-defined
*/
+ @Deprecated
@Programmatic
boolean isValid(Object domainObject);
@@ -195,7 +198,10 @@ public interface DomainObjectContainer {
* </p>
*
* @see #isValid(Object)
+ *
+ * @deprecated - semantics of when this can be called in the object's lifecycle is not well-defined
*/
+ @Deprecated
@Programmatic
String validate(Object domainObject);
--
To stop receiving notification emails like this one, please contact
"commits@isis.apache.org" <co...@isis.apache.org>.