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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classParameter class for doc supplier -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapping(String gaap, String tableName, Function<IMappedDocumentFactory.Parameter, ? extends Doc> supplier) add table name + gaap (optional) to Doc mappingvoidremoveMapping(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-
-