Skip to content

Package: BundleKeyResultWrapper

BundleKeyResultWrapper

nameinstructionbranchcomplexitylinemethod
BundleKeyResultWrapper(BundleKeyWrapper, String)
M: 0 C: 9
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 4
100%
M: 0 C: 1
100%
getBundleKeyWrapper()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getResult()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2015 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.internal.core.services.label;
15:
16: /**
17: * A Wrapper Object to wrap a bundle, a key and the result object.
18: *
19: * @author Eugen Neufeld
20: *
21: */
22: class BundleKeyResultWrapper {
23:         private final BundleKeyWrapper bundleKeyWrapper;
24:         private final String result;
25:
26:         /**
27:          * Default constructor.
28:          *
29:          * @param bundleKeyWrapper The BundleKeyWrapper
30:          * @param result The result
31:          */
32:         BundleKeyResultWrapper(BundleKeyWrapper bundleKeyWrapper, String result) {
33:                 super();
34:                 this.bundleKeyWrapper = bundleKeyWrapper;
35:                 this.result = result;
36:         }
37:
38:         /**
39:          * The BundleKeyWrapper.
40:          *
41:          * @return the bundleKeyWrapper
42:          */
43:         public BundleKeyWrapper getBundleKeyWrapper() {
44:                 return bundleKeyWrapper;
45:         }
46:
47:         /**
48:          * The wrapped Result.
49:          *
50:          * @return the result
51:          */
52:         public String getResult() {
53:                 return result;
54:         }
55: }