Skip to content

Commit

Permalink
jackson sketch. will be revised. Don't use this for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
miho committed Jul 25, 2024
1 parent bad07ce commit af58c01
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion runtime/src/main/java/eu/mihosoft/vmf/runtime/core/Content.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,19 @@ public interface Content {
<T> 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.
*
* <p>Example:</p>
* <pre><code>
* MyModel m1 = ...
* MyModel m2 = ...
* boolean equals = m1.vmf().content().equals(m2);
* System.out.println("Models are equal: " + equals);
* // output: Models are equal: true
* </code></pre>
*
* @param o object to compare
* @return {@code } if equals; {@code false} otherwise
*/
Expand Down

0 comments on commit af58c01

Please sign in to comment.