Creating a DOM Collector
Collectors are usually created and populated with data by the Platform and thus do not need to be created explicitly except when working on unit tests.
In Java a collector is created using the generated factory class.
CapacityPlanningFactory factory = new CapacityPlanningFactoryImpl(); CapacityPlanning coll = factory.createCollector();
The collector class is an implementation of
DbDomCollector
.
In Python a collector is created directly using the constructor.
coll = CapacityPlanning()