Skip to content

Package: KuraInventoryContainer

KuraInventoryContainer

nameinstructionbranchcomplexitylinemethod
KuraInventoryContainer()
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%
getName()
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%
getState()
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%
getType()
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%
getVersion()
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%
setName(String)
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%
setState(String)
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%
setType(String)
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%
setVersion(String)
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) 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.inventory.containers;
14:
15: import com.fasterxml.jackson.annotation.JsonProperty;
16: import com.fasterxml.jackson.annotation.JsonRootName;
17:
18: /**
19: * {@link KuraInventoryContainer} definition.
20: *
21: * @since 2.0.0
22: */
23: @JsonRootName("container")
24: public class KuraInventoryContainer {
25:
26: @JsonProperty("name")
27: public String name;
28:
29: @JsonProperty("version")
30: public String version;
31:
32: @JsonProperty("type")
33: public String type;
34:
35: @JsonProperty("state")
36: public String state;
37:
38: /**
39: * Gets the name.
40: *
41: * @return The name.
42: * @since 2.0.0
43: */
44: public String getName() {
45: return name;
46: }
47:
48: /**
49: * Sets the name.
50: *
51: * @param name The name.
52: * @since 2.0.0
53: */
54: public void setName(String name) {
55: this.name = name;
56: }
57:
58: /**
59: * Gets the version.
60: *
61: * @return The version.
62: * @since 2.0.0
63: */
64: public String getVersion() {
65: return version;
66: }
67:
68: /**
69: * Gets the version.
70: *
71: * @param version The version.
72: * @since 2.0.0
73: */
74: public void setVersion(String version) {
75: this.version = version;
76: }
77:
78: /**
79: * Gets the type.
80: *
81: * @return The type.
82: * @since 2.0.0
83: */
84: public String getType() {
85: return type;
86: }
87:
88: /**
89: * Sets the type.
90: *
91: * @param type The type.
92: * @since 2.0.0
93: */
94: public void setType(String type) {
95: this.type = type;
96: }
97:
98: /**
99: * Gets the state
100: *
101: * @return The state
102: * @since 2.0.0
103: */
104: public String getState() {
105: return state;
106: }
107:
108: /**
109: * Sets the state
110: *
111: * @param state The state
112: * @since 2.0.0
113: */
114: public void setState(String state) {
115: this.state = state;
116: }
117: }