org.jsimpledb.change.ListFieldChange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsimpledb-main Show documentation
Show all versions of jsimpledb-main Show documentation
JSimpleDB classes that map Java model classes onto the core API.
The newest version!
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.change;
/**
* Notification object that gets passed to {@link org.jsimpledb.annotation.OnChange @OnChange}-annotated methods
* when a list field changes.
*
* @param the type of the object containing the changed field
*/
public abstract class ListFieldChange extends FieldChange {
/**
* Constructor.
*
* @param jobj Java object containing the list field that changed
* @param storageId the storage ID of the affected field
* @param fieldName the name of the field that changed
* @throws IllegalArgumentException if {@code jobj} or {@code fieldName} is null
*/
protected ListFieldChange(T jobj, int storageId, String fieldName) {
super(jobj, storageId, fieldName);
}
}