|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.chenlichao.wmi4j.SWbemProperty
public class SWbemProperty
Represents a single WMI property of a managed object. Created by chenlichao on 14-7-26.
| 方法摘要 | |
|---|---|
WbemCimTypeEnum |
getCIMType()
Return an integer that can be used to determine the CIM type of this property. |
String |
getName()
Returns the name of this WMI property. |
String |
getOrigin()
Retrieves the name of the WMI class in which this property was introduced. |
SWbemQualifierSet |
getQualifiers()
Returns an SWbemQualifierSet object that is a collection of qualifiers for this WMI property. |
WMIVariant |
getValue()
Get the variant value of the WMI property. |
boolean |
getValueAsBoolean()
Get the variant value of the WMI property as boolean value. |
int |
getValueAsInteger()
Get the variant value of the WMI property as integer. |
String |
getValueAsString()
Get the variant value of the WMI property as string. |
boolean |
isArray()
Boolean value that can be used to determine if this property has an array type. |
boolean |
isLocal()
Boolean value that can be used to determine if this property is local. |
void |
setValue(WMIVariant variant)
Set the variant value of the WMI property. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public WbemCimTypeEnum getCIMType()
throws WMIException
WMIException
public boolean isArray()
throws WMIException
WMIException
public boolean isLocal()
throws WMIException
WMIException
public String getName()
throws WMIException
WMIException
public String getOrigin()
throws WMIException
SWbemQualifier.isLocal()),
this value is the same as the owning class. This property is read-only.
WMIException
public SWbemQualifierSet getQualifiers()
throws WMIException
SWbemQualifierSet object that is a collection of qualifiers for this WMI property.
This property is read-only.
SWbemQualifierSet object that is a collection of qualifiers for this WMI property.
WMIException
public WMIVariant getValue()
throws WMIException
WMIException
public void setValue(WMIVariant variant)
throws WMIException
variant - The variant value of the WMI property
WMIException
public String getValueAsString()
throws WMIException
WMIException - If the actual CIMType is not string.
public boolean getValueAsBoolean()
throws WMIException
WMIException - If the actual CIMType is not Boolean.
public int getValueAsInteger()
throws WMIException
WMIException - If the actual CIMType is not integer.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||