public class StaticBulkObjectFactory extends Object implements BulkObjectFactory
| Constructor and Description |
|---|
StaticBulkObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
BulkObject |
createBulkObject(RowValues values)
Create a
BulkObject of the appropriate type from a row of values. |
String |
getBulkRowType(BulkObject bulkObject)
Returns the type string which corresponds to the type of
BulkObject provided |
public BulkObject createBulkObject(RowValues values)
BulkObjectFactoryBulkObject of the appropriate type from a row of values.
Uses the "Type" column value to determine the type that it should returncreateBulkObject in interface BulkObjectFactoryvalues - a set of column datapublic String getBulkRowType(BulkObject bulkObject)
BulkObjectFactoryBulkObject providedgetBulkRowType in interface BulkObjectFactorybulkObject - object to determine type string forCopyright © 2024. All rights reserved.