Package: DeviceInventoryManagementFactoryImpl
DeviceInventoryManagementFactoryImpl
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DeviceInventoryManagementFactoryImpl() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventory() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventoryBundle() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventoryBundles() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventoryContainer() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventoryContainers() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventoryItem() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventoryPackage() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventoryPackages() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventorySystemPackage() |
|
|
|
|
|
||||||||||||||||||||
newDeviceInventorySystemPackages() |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2021, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.service.device.management.inventory.internal;
14:
15: import org.eclipse.kapua.locator.KapuaProvider;
16: import org.eclipse.kapua.service.device.management.inventory.DeviceInventoryManagementFactory;
17: import org.eclipse.kapua.service.device.management.inventory.model.bundle.DeviceInventoryBundle;
18: import org.eclipse.kapua.service.device.management.inventory.model.bundle.DeviceInventoryBundles;
19: import org.eclipse.kapua.service.device.management.inventory.model.bundle.internal.DeviceInventoryBundleImpl;
20: import org.eclipse.kapua.service.device.management.inventory.model.bundle.internal.DeviceInventoryBundlesImpl;
21: import org.eclipse.kapua.service.device.management.inventory.model.container.DeviceInventoryContainer;
22: import org.eclipse.kapua.service.device.management.inventory.model.container.DeviceInventoryContainers;
23: import org.eclipse.kapua.service.device.management.inventory.model.container.internal.DeviceInventoryContainerImpl;
24: import org.eclipse.kapua.service.device.management.inventory.model.container.internal.DeviceInventoryContainersImpl;
25: import org.eclipse.kapua.service.device.management.inventory.model.inventory.DeviceInventory;
26: import org.eclipse.kapua.service.device.management.inventory.model.inventory.DeviceInventoryItem;
27: import org.eclipse.kapua.service.device.management.inventory.model.inventory.internal.DeviceInventoryImpl;
28: import org.eclipse.kapua.service.device.management.inventory.model.inventory.internal.DeviceInventoryItemImpl;
29: import org.eclipse.kapua.service.device.management.inventory.model.packages.DeviceInventoryPackage;
30: import org.eclipse.kapua.service.device.management.inventory.model.packages.DeviceInventoryPackages;
31: import org.eclipse.kapua.service.device.management.inventory.model.packages.internal.DeviceInventoryPackageImpl;
32: import org.eclipse.kapua.service.device.management.inventory.model.packages.internal.DeviceInventoryPackagesImpl;
33: import org.eclipse.kapua.service.device.management.inventory.model.system.DeviceInventorySystemPackage;
34: import org.eclipse.kapua.service.device.management.inventory.model.system.DeviceInventorySystemPackages;
35: import org.eclipse.kapua.service.device.management.inventory.model.system.internal.DeviceInventorySystemPackageImpl;
36: import org.eclipse.kapua.service.device.management.inventory.model.system.internal.DeviceInventorySystemPackagesImpl;
37:
38: /**
39: * {@link DeviceInventoryManagementFactory} implementation.
40: *
41: * @since 1.5.0
42: */
43: @KapuaProvider
44: public class DeviceInventoryManagementFactoryImpl implements DeviceInventoryManagementFactory {
45:
46: @Override
47: public DeviceInventory newDeviceInventory() {
48: return new DeviceInventoryImpl();
49: }
50:
51: @Override
52: public DeviceInventoryItem newDeviceInventoryItem() {
53: return new DeviceInventoryItemImpl();
54: }
55:
56: @Override
57: public DeviceInventoryBundle newDeviceInventoryBundle() {
58: return new DeviceInventoryBundleImpl();
59: }
60:
61: @Override
62: public DeviceInventoryBundles newDeviceInventoryBundles() {
63: return new DeviceInventoryBundlesImpl();
64: }
65:
66: @Override
67: public DeviceInventoryContainer newDeviceInventoryContainer() {
68: return new DeviceInventoryContainerImpl();
69: }
70:
71: @Override
72: public DeviceInventoryContainers newDeviceInventoryContainers() {
73: return new DeviceInventoryContainersImpl();
74: }
75:
76: @Override
77: public DeviceInventorySystemPackage newDeviceInventorySystemPackage() {
78: return new DeviceInventorySystemPackageImpl();
79: }
80:
81: @Override
82: public DeviceInventorySystemPackages newDeviceInventorySystemPackages() {
83: return new DeviceInventorySystemPackagesImpl();
84: }
85:
86: @Override
87: public DeviceInventoryPackage newDeviceInventoryPackage() {
88: return new DeviceInventoryPackageImpl();
89: }
90:
91: @Override
92: public DeviceInventoryPackages newDeviceInventoryPackages() {
93: return new DeviceInventoryPackagesImpl();
94: }
95: }