View Javadoc
1   package org.metricshub.wbem.client;
2   
3   /*-
4    * ╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲
5    * WBEM Java Client
6    * ჻჻჻჻჻჻
7    * Copyright 2023 - 2025 MetricsHub
8    * ჻჻჻჻჻჻
9    * Licensed under the Apache License, Version 2.0 (the "License");
10   * you may not use this file except in compliance with the License.
11   * You may obtain a copy of the License at
12   *
13   *      http://www.apache.org/licenses/LICENSE-2.0
14   *
15   * Unless required by applicable law or agreed to in writing, software
16   * distributed under the License is distributed on an "AS IS" BASIS,
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   * See the License for the specific language governing permissions and
19   * limitations under the License.
20   * ╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱╲╱
21   */
22  
23  import java.util.List;
24  
25  /**
26   * Wrapper class for WBEM query result.
27   *
28   */
29  public class WbemQueryResult {
30  	/** List of the properties of the query. */
31  	private final List<String> properties;
32  
33  	/** Query results. */
34  	private final List<List<String>> values;
35  
36  	public WbemQueryResult(final List<String> properties, final List<List<String>> values) {
37  		this.properties = properties;
38  		this.values = values;
39  	}
40  
41  	public List<String> getProperties() {
42  		return properties;
43  	}
44  
45  	public List<List<String>> getValues() {
46  		return values;
47  	}
48  }