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, setIdDelimiter
protected HiveCommon hive
public HiveItemFactory(HiveCommon hive)
public HiveItemFactory(CommonItemFactory parentItemFactory, HiveCommon hive, String baseId, String idDelimiter)
protected DataItemCommand constructCommand(String localId)
constructCommand
in class CommonItemFactory
protected WriteHandlerItem constructWriteHandler(String localId, WriteHandler writeHandler)
constructWriteHandler
in class CommonItemFactory
protected DataItemInputChained constructInput(String localId)
constructInput
in class CommonItemFactory
protected WriteHandlerItem constructInputOutput(String localId, WriteHandler writeHandler)
constructInputOutput
in class CommonItemFactory
public void disposeItem(DataItem item)
ItemFactory
If the item was not created by this factory or was already disposed this is no error and no exception is thrown
disposeItem
in interface ItemFactory
disposeItem
in class CommonItemFactory
item
- data item to disposepublic void disposeAllItems()
CommonItemFactory
disposeAllItems
in interface ItemFactory
disposeAllItems
in class CommonItemFactory