diff --git a/runtime/src/main/java/eu/mihosoft/vmf/runtime/core/Content.java b/runtime/src/main/java/eu/mihosoft/vmf/runtime/core/Content.java index 871f13d..4a4e90f 100644 --- a/runtime/src/main/java/eu/mihosoft/vmf/runtime/core/Content.java +++ b/runtime/src/main/java/eu/mihosoft/vmf/runtime/core/Content.java @@ -120,9 +120,19 @@ public interface Content { T shallowCopy(); /** - * Indicates whether this VMF object is equal to the specified object. + * Indicates whether this VMF object is equal to the specified model object. * It uses VMFs equals implementation which compares all properties unless * they are ignored explicitly via annotation. + * + *

Example:

+ *

+     *     MyModel m1 = ...
+     *     MyModel m2 = ...
+     *     boolean equals = m1.vmf().content().equals(m2);
+     *     System.out.println("Models are equal: " + equals);
+     *     // output: Models are equal: true
+     * 
+ * * @param o object to compare * @return {@code } if equals; {@code false} otherwise */