Skip to content

Package: KuraBundles

KuraBundles

nameinstructionbranchcomplexitylinemethod
KuraBundles()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getBundles()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
setBundles(KuraBundle[])
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016, 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.call.kura.model.bundle;
14:
15: import javax.xml.bind.annotation.XmlAccessType;
16: import javax.xml.bind.annotation.XmlAccessorType;
17: import javax.xml.bind.annotation.XmlElement;
18: import javax.xml.bind.annotation.XmlRootElement;
19:
20: /**
21: * Kura bundles list definition.
22: *
23: * @since 1.0
24: *
25: */
26: @XmlRootElement(name = "bundles")
27: @XmlAccessorType(XmlAccessType.FIELD)
28: public class KuraBundles {
29:
30: @XmlElement(name = "bundle")
31: public KuraBundle[] bundles;
32:
33: /**
34: * Get the bundles list
35: *
36: * @return
37: */
38: public KuraBundle[] getBundles() {
39: return bundles;
40: }
41:
42: /**
43: * Set the bundles list
44: *
45: * @param bundles
46: */
47: public void setBundles(KuraBundle[] bundles) {
48: this.bundles = bundles;
49: }
50: }