public final class ImportResult<T extends Transaction> extends Object
| Constructor and Description |
|---|
ImportResult(T transaction,
SubordinateTransactionControl control,
boolean isNew)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SubordinateTransactionControl |
getControl()
Get the subordinate controller.
|
T |
getTransaction()
Get the transaction.
|
boolean |
isNew()
Determine whether this import resulted in a new transaction.
|
public ImportResult(T transaction, SubordinateTransactionControl control, boolean isNew)
transaction - the new transaction (must not be null)control - the controller for the subordinate transaction (must not be null)isNew - true if the transaction was just now imported, false if the transaction already existedpublic T getTransaction()
null)public SubordinateTransactionControl getControl()
null)public boolean isNew()
true if the transaction was new, false otherwiseCopyright © 2017 JBoss by Red Hat. All rights reserved.