You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: persist/arez/persist/Persist.html
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,8 +88,13 @@ <h2>Optional Element Summary</h2>
88
88
<divclass="block">Return the name used to persist the property.</div>
89
89
</div>
90
90
<divclass="col-first odd-row-color"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<divclass="block">Return the name of the setter.</div>
94
+
</div>
95
+
<divclass="col-first even-row-color"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<divclass="block">The key identifying the store where the observable data is stored.</div>
94
99
</div>
95
100
</div>
@@ -142,6 +147,24 @@ <h3>store</h3>
142
147
</dl>
143
148
</section>
144
149
</li>
150
+
<li>
151
+
<sectionclass="detail" id="setterName()">
152
+
<h3>setterName</h3>
153
+
<divclass="member-signature"><spanclass="annotations">@Nonnull </span><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <spanclass="element-name"><ahref="../../src-html/arez/persist/Persist.html#line-47">setterName</a></span></div>
154
+
<divclass="block">Return the name of the setter.
155
+
If unspecified the tool assumes that the setter method is named according to javabeans setter based on the derived
156
+
<ahref="#name()"><code>name()</code></a> of the property. So if the property is named <code>expanded</code> then the library will
157
+
derive a setter method named <code>setExpanded</code>.</div>
158
+
<dlclass="notes">
159
+
<dt>Returns:</dt>
160
+
<dd>the name of the setter used to update value when restoring from a persisted store.</dd>
<divclass="block">Specify logger to use to capture logging in tests</div>
365
365
</dd>
366
+
<dt><ahref="arez/persist/Persist.html#setterName()" class="member-name-link">setterName()</a> - Element in annotation interface arez.persist.<ahref="arez/persist/Persist.html" title="annotation interface in arez.persist">Persist</a></dt>
367
+
<dd>
368
+
<divclass="block">Return the name of the setter.</div>
369
+
</dd>
366
370
<dt><ahref="arez/persist/runtime/ArezPersist.html#shouldCheckApiInvariants()" class="member-name-link">shouldCheckApiInvariants()</a> - Static method in class arez.persist.runtime.<ahref="arez/persist/runtime/ArezPersist.html" title="class in arez.persist.runtime">ArezPersist</a></dt>
367
371
<dd>
368
372
<divclass="block">Return true if apiInvariants will be checked.</div>
<spanclass="source-line-no">040</span><spanid="line-40"> * Return the name of the setter.</span>
54
+
<spanclass="source-line-no">041</span><spanid="line-41"> * If unspecified the tool assumes that the setter method is named according to javabeans setter based on the derived</span>
55
+
<spanclass="source-line-no">042</span><spanid="line-42"> * {@link #name()} of the property. So if the property is named {@code expanded} then the library will</span>
56
+
<spanclass="source-line-no">043</span><spanid="line-43"> * derive a setter method named {@code setExpanded}.</span>
<spanclass="source-line-no">045</span><spanid="line-45"> * @return the name of the setter used to update value when restoring from a persisted store.</span>
0 commit comments