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