Package org.adempiere.base
Interface IMappedDocumentFactory
- All Known Implementing Classes:
MappedDocumentFactory
public interface IMappedDocumentFactory
Factory interface for mapping between tableName+gaap to
Doc
implementation.- Author:
- hengsin
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Parameter class for doc supplier -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMapping
(String gaap, String tableName, Function<IMappedDocumentFactory.Parameter, ? extends Doc> supplier) add table name + gaap (optional) to Doc mappingvoid
removeMapping
(String gaap, String tableName) Remove mapping
-
Method Details
-
addMapping
void addMapping(String gaap, String tableName, Function<IMappedDocumentFactory.Parameter, ? extends Doc> supplier) add table name + gaap (optional) to Doc mapping- Parameters:
gaap
- map to c_acctschema.gaap (optional)tableName
-supplier
-
-
removeMapping
Remove mapping- Parameters:
gaap
-tableName
-
-