Package io.permazen.change
Class SetFieldClear<T>
java.lang.Object
io.permazen.change.Change<T>
io.permazen.change.FieldChange<T>
io.permazen.change.SetFieldChange<T>
io.permazen.change.SetFieldClear<T>
- Type Parameters:
T
- the type of the object containing the changed field
Notification object that gets passed to
@OnChange
-annotated methods when a set field is cleared.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(PermazenTransaction jtx, PermazenObject jobj) Apply this change to the given object in the given transaction.toString()
<R> R
visit
(ChangeSwitch<R> target) Apply visitor pattern.Methods inherited from class io.permazen.change.FieldChange
equals, getFieldName, hashCode
-
Constructor Details
-
SetFieldClear
Constructor.- Parameters:
jobj
- Java object containing the set field that was clearedfieldName
- the name of the field that changed- Throws:
IllegalArgumentException
- ifjobj
orfieldName
is null
-
-
Method Details