Skip to content

Package: ServiceXmlConfigPropertiesAdapted

ServiceXmlConfigPropertiesAdapted

nameinstructionbranchcomplexitylinemethod
ServiceXmlConfigPropertiesAdapted()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
getProperties()
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%
setProperties(ServiceXmlConfigPropertyAdapted[])
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) 2019, 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.config;
14:
15: import javax.xml.bind.annotation.XmlAccessType;
16: import javax.xml.bind.annotation.XmlAccessorType;
17: import javax.xml.bind.annotation.XmlElement;
18:
19: /**
20: * A container for XmlConfigPropertyAdapted organized into an array.
21: *
22: * @since 1.0
23: */
24: @XmlAccessorType(XmlAccessType.FIELD)
25: public class ServiceXmlConfigPropertiesAdapted {
26:
27: @XmlElement(name = "property")
28: private ServiceXmlConfigPropertyAdapted[] properties;
29:
30: /**
31: * Constructor
32: */
33: public ServiceXmlConfigPropertiesAdapted() {
34: }
35:
36: /**
37: * Get the adapted properties as array
38: *
39: * @return
40: */
41: public ServiceXmlConfigPropertyAdapted[] getProperties() {
42: return properties;
43: }
44:
45: /**
46: * Set the adapted properties from the array
47: *
48: * @param properties
49: */
50: public void setProperties(ServiceXmlConfigPropertyAdapted[] properties) {
51: this.properties = properties;
52: }
53: }