T - the type of the object containing the changed fieldpublic class ListFieldClear<T> extends ListFieldChange<T>
@OnChange-annotated methods
when a list field is cleared.| Constructor and Description |
|---|
ListFieldClear(T jobj,
int storageId,
String fieldName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(JTransaction jtx,
JObject jobj)
Apply this change to the given object in the given transaction.
|
String |
toString() |
<R> R |
visit(ChangeSwitch<R> target)
Apply visitor pattern.
|
equals, getFieldName, getStorageId, hashCodepublic ListFieldClear(T jobj, int storageId, String fieldName)
jobj - Java object containing the list field that was clearedstorageId - the storage ID of the affected fieldfieldName - the name of the field that changedIllegalArgumentException - if jobj or fieldName is nullpublic <R> R visit(ChangeSwitch<R> target)
Changetarget corresponding to this instance's type.public void apply(JTransaction jtx, JObject jobj)
ChangeCopyright © 2017. All rights reserved.