public interface BulkItemResult
BulkOperation
process.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEntityIdent()
Returns the unique identifier for the entity that this
BulkItemResult instance represents.
|
RMRuntimeException |
getException()
Returns any available
RMRuntimeException associated with
a failed operation. |
java.lang.Object |
getResultData()
Returns associated result data, if any, for a successful
BulkItemResult . |
boolean |
wasSuccessful()
Indicates whether or not the operation was successful for
the associated entity.
|
java.lang.String getEntityIdent()
String
value.boolean wasSuccessful()
true
if the operation was successful.
false
otherwise; the getException()
method can supply any available failure information.RMRuntimeException getException()
RMRuntimeException
associated with
a failed operation.RMRuntimeException
instance. This value can be null
.java.lang.Object getResultData()
BulkItemResult
.
For example, for a successful BulkItemResult
returned from the
BulkOperation.copyRecords
operation, the getResultData()
method returns a
Record
instance representing the result of the record copy operation.Object
value. For most bulk operations this is always
a null
value, but can be a Record
instance in the case
of the BulkOperation.copyRecords
method.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.