
net.yapbam.data.event.TransactionsRemovedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yapbam-commons Show documentation
Show all versions of yapbam-commons Show documentation
Commons Yapbam classes used by desktop and Android versions.
package net.yapbam.data.event;
import net.yapbam.data.Transaction;
/** This event is sent when one or more transactions are deleted.
*/
public class TransactionsRemovedEvent extends DataEvent {
private Transaction[] removed;
/** Constructor.
* @param source The object that thrown the event
* @param removed The removed transactions
*/
public TransactionsRemovedEvent(Object source, Transaction[] removed) {
super(source);
this.removed = removed;
}
/** Gets the removed transactions.
* @return a transaction array.
*/
public Transaction[] getTransactions() {
return removed;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy