Class WbemcliUtil.WmiResult<T extends Enum<T>>
java.lang.Object
com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<T>
- Enclosing class:
WbemcliUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCIMType(T property) Gets the CIM type from the WmiResult.intGets a value from the WmiResult, which may be null.intGets the Variant type from the WmiResult.
-
Constructor Details
-
WmiResult
-
-
Method Details
-
getValue
Gets a value from the WmiResult, which may be null. User must check for null and cast the result. Types correlate to the CIM Type of the enumerated WMI property and will be consistent for a given property, and may be validated by the user usinggetVtType(T)or the Class of the returned Object.- Parameters:
property- The property (column) to fetchindex- The index (row) to fetch- Returns:
- The Object containing the specified value, which may be null
-
getVtType
-
getCIMType
-
getResultCount
public int getResultCount()- Returns:
- The number of results in each mapped list
-