public class HiveItemFactory extends CommonItemFactory
| Modifier and Type | Field and Description |
|---|---|
protected HiveCommon |
hive |
DEFAULT_ID_DELIMITER, itemMap| Constructor and Description |
|---|
HiveItemFactory(CommonItemFactory parentItemFactory,
HiveCommon hive,
String baseId,
String idDelimiter) |
HiveItemFactory(HiveCommon hive) |
| Modifier and Type | Method and Description |
|---|---|
protected DataItemCommand |
constructCommand(String localId) |
protected DataItemInputChained |
constructInput(String localId) |
protected WriteHandlerItem |
constructInputOutput(String localId,
WriteHandler writeHandler) |
protected WriteHandlerItem |
constructWriteHandler(String localId,
WriteHandler writeHandler) |
void |
disposeAllItems()
Dispose all items but not the factory itself
|
void |
disposeItem(DataItem item)
Dispose an item if it was created by this factory
|
addSubFactory, createCommand, createInput, createInputOutput, createOutput, dispose, generateId, getBaseId, isDisposed, removeSubFactory, setIdDelimiterprotected HiveCommon hive
public HiveItemFactory(HiveCommon hive)
public HiveItemFactory(CommonItemFactory parentItemFactory, HiveCommon hive, String baseId, String idDelimiter)
protected DataItemCommand constructCommand(String localId)
constructCommand in class CommonItemFactoryprotected WriteHandlerItem constructWriteHandler(String localId, WriteHandler writeHandler)
constructWriteHandler in class CommonItemFactoryprotected DataItemInputChained constructInput(String localId)
constructInput in class CommonItemFactoryprotected WriteHandlerItem constructInputOutput(String localId, WriteHandler writeHandler)
constructInputOutput in class CommonItemFactorypublic void disposeItem(DataItem item)
ItemFactoryIf the item was not created by this factory or was already disposed this is no error and no exception is thrown
disposeItem in interface ItemFactorydisposeItem in class CommonItemFactoryitem - data item to disposepublic void disposeAllItems()
CommonItemFactorydisposeAllItems in interface ItemFactorydisposeAllItems in class CommonItemFactory