public class WbemcliUtil.WmiResult<T extends java.lang.Enum<T>>
extends java.lang.Object
| Constructor and Description |
|---|
WmiResult(java.lang.Class<T> propertyEnum) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCIMType(T property)
Gets the CIM type from the WmiResult.
|
int |
getResultCount() |
java.lang.Object |
getValue(T property,
int index)
Gets a value from the WmiResult, which may be null.
|
int |
getVtType(T property)
Gets the Variant type from the WmiResult.
|
public WmiResult(java.lang.Class<T> propertyEnum)
propertyEnum - The enum associated with this mappublic java.lang.Object getValue(T property, int index)
getVtType(T) or the
Class of the returned Object.property - The property (column) to fetchindex - The index (row) to fetchpublic int getVtType(T property)
Variant interface.property - The property (column) whose type to fetchpublic int getCIMType(T property)
Wbemcli interface.property - The property (column) whose type to fetchpublic int getResultCount()