public static final class XAImporter.ProviderImportResult extends Object
| Constructor and Description |
|---|
ProviderImportResult(Transaction transaction,
boolean isNew)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Transaction |
getTransaction()
Get the transaction.
|
boolean |
isNew()
Determine whether this import resulted in a new transaction.
|
public ProviderImportResult(Transaction transaction, boolean isNew)
transaction - the new transaction (must not be null)isNew - true if the transaction was just now imported, false if the transaction already existedpublic Transaction getTransaction()
null)public boolean isNew()
true if the transaction was new, false otherwiseCopyright © 2016 JBoss by Red Hat. All rights reserved.