01: package org.osbl.inventory.logic;
02:
03: import org.osbl.inventory.model.CostType;
04: import org.osbl.inventory.model.CostTypeHierarchy;
05: import org.osbl.persistence.logic.DefaultTreeLogic;
06:
07: /**
08: * @author hengels
09: * @version $Revision$
10: */
11: public class DefaultInventoryLogic extends
12: DefaultTreeLogic<CostTypeHierarchy, CostType> implements
13: InventoryLogic {
14: protected String getNodeType() {
15: return CostType.class.getName();
16: }
17:
18: protected String getTreeType() {
19: return CostTypeHierarchy.class.getName();
20: }
21: }
|