public class SWbemPropertyImpl extends Object implements SWbemProperty
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
array |
protected WbemCIMType |
cimtype |
protected boolean |
local |
protected String |
name |
protected String |
origin |
protected SWbemQualifierSet |
qualSet |
protected com.jacob.com.Variant |
variant |
protected Wmi |
wmi |
| Constructor and Description |
|---|
SWbemPropertyImpl() |
SWbemPropertyImpl(ActiveXMethods ax) |
SWbemPropertyImpl(ActiveXMethods ax,
Wmi wmi) |
| Modifier and Type | Method and Description |
|---|---|
SWbemPropertyImpl |
configure(Consumer<SWbemPropertyImpl> conf) |
WbemCIMType |
getCIMType()
The CIMType property of the SWbemProperty object is an integer that can be used to determine the CIM type of this property.
|
String |
getName()
SWbemProperty.Name property
SWbemProperty.Name As String
This property is read-only.
|
String |
getOrigin()
The Origin property of the SWbemProperty object retrieves the name of the WMI class in which this
property was introduced.
|
Optional<WmiObj> |
getReference()
Ссылка на объект, актуально для тех свойств, чей тип (getCIMType)
WbemCIMType.REFERENCE |
com.jacob.com.Variant |
getVariant()
Значение свойства
|
SWbemQualifierSet |
getWmiQualifiers() |
boolean |
isArray()
The IsArray property of the SWbemProperty object is a Boolean value that can be used to determine
if this property has an array type.
|
boolean |
isLocal()
The IsLocal property of the SWbemProperty object is a Boolean
value that can be used to determine if this property is local.
|
void |
setArray(boolean array) |
void |
setCIMType(WbemCIMType type) |
void |
setLocal(boolean local) |
void |
setName(String name) |
void |
setOrigin(String origin) |
void |
setVariant(com.jacob.com.Variant variant) |
protected SWbemQualifierSet qualSet
protected String name
protected boolean local
protected boolean array
protected WbemCIMType cimtype
protected String origin
protected com.jacob.com.Variant variant
protected Wmi wmi
public SWbemPropertyImpl()
public SWbemPropertyImpl(ActiveXMethods ax, Wmi wmi)
public SWbemPropertyImpl(ActiveXMethods ax)
public SWbemPropertyImpl configure(Consumer<SWbemPropertyImpl> conf)
public SWbemQualifierSet getWmiQualifiers()
getWmiQualifiers in interface GetWmiQualifierspublic String getName()
SWbemPropertySWbemProperty.Name property SWbemProperty.Name As String This property is read-only. Requirements Minimum supported client - Windows Vista Minimum supported server - Windows Server 2008 Header - Wbemdisp.h Type library - Wbemdisp.tlb DLL - Wbemdisp.dll CLSID - CLSID_SWbemProperty IID - IID_ISWbemProperty
getName in interface SWbemPropertypublic void setName(String name)
public boolean isLocal()
SWbemPropertyThe IsLocal property of the SWbemProperty object is a Boolean value that can be used to determine if this property is local. A value of FALSE indicates that this property has been inherited from another class. This property is read-only.
isLocal in interface SWbemPropertypublic void setLocal(boolean local)
public boolean isArray()
SWbemPropertyThis property is read-only.
isArray in interface SWbemPropertypublic void setArray(boolean array)
public WbemCIMType getCIMType()
SWbemPropertyThis property is read-only.
Свойство CIMType объекта SWbemProperty является целым числом, которое можно использовать для определения типа CIM этого свойства.
getCIMType in interface SWbemPropertypublic void setCIMType(WbemCIMType type)
public String getOrigin()
SWbemPropertyIf the property is local (see SWbemQualifier.IsLocal), this value is the same as the owning class.
This property is read-only.
Свойство Origin объекта SWbemProperty извлекает имя класса WMI, в котором это свойство было введено. Для классов с глубокой иерархией наследования часто бывает желательно знать, какие свойства были объявлены в каких классах.
Если свойство является локальным (см. SWbemQualifier.IsLocal), это значение совпадает с классом-владельцем.
getOrigin in interface SWbemPropertypublic void setOrigin(String origin)
public com.jacob.com.Variant getVariant()
SWbemPropertygetVariant in interface SWbemPropertypublic void setVariant(com.jacob.com.Variant variant)
public Optional<WmiObj> getReference()
SWbemPropertyWbemCIMType.REFERENCEgetReference in interface SWbemPropertyCopyright © 2020. All rights reserved.