All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsimpledb.change.MapFieldChange Maven / Gradle / Ivy

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 map field changes.
 *
 * @param  the type of the object containing the changed field
 */
public abstract class MapFieldChange extends FieldChange {

    /**
     * Constructor.
     *
     * @param jobj Java object containing the map 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 MapFieldChange(T jobj, int storageId, String fieldName) {
        super(jobj, storageId, fieldName);
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy