
io.permazen.core.SetFieldAddNotifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permazen-core Show documentation
Show all versions of permazen-core Show documentation
Permazen core API classes which provide objects, fields, indexes, queries, and schema management on top of a key/value store.
The newest version!
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen.core;
import java.util.NavigableSet;
final class SetFieldAddNotifier extends SetFieldNotifier {
final E newValue;
SetFieldAddNotifier(SetField field, ObjId id, E newValue) {
super(field, id);
this.newValue = newValue;
}
@Override
public void notify(Transaction tx, SetFieldChangeListener listener, int[] path, NavigableSet referrers) {
listener.onSetFieldAdd(tx, this.id, this.field, path, referrers, this.newValue);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy