cn.chenlichao.wmi4j
类 SWbemQualifier

java.lang.Object
  继承者 cn.chenlichao.wmi4j.SWbemQualifier

public class SWbemQualifier
extends Object

You can use the properties of the SWbemQualifier object to represent a single qualifier of a WMI class, instance, property, or method parameter. Created by chenlichao on 14-7-26.


方法摘要
 String getName()
          Get the name of this qualifier.
 boolean getPropagatesToInstance()
          Indicates if this qualifier can be propagated to an instance.
 boolean getPropagatesToSubClass()
          Indicates if this qualifier can be propagated to an subclass.
 WMIVariant getValue()
          Get the variant value of this qualifier.
 boolean isAmended()
          Get a Boolean value that indicates if this qualifier has been localized using a merge operation.
 boolean isLocal()
          Indicates if this qualifier is local.
 boolean isOverridable()
          Indicates if this qualifier can be overridden when propagated.
 void setOverridable(boolean isOverridable)
          Set if this qualifier can be overridden when propagated.
 void setPropagatesToInstance(boolean propagatesToInstance)
          Set if this qualifier can be propagated to an instance.
 void setValue(WMIVariant variant)
          Set the variant value of this qualifier.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

isAmended

public boolean isAmended()
                  throws WMIException
Get a Boolean value that indicates if this qualifier has been localized using a merge operation.

返回:
A Boolean value that indicates if this qualifier has been localized using a merge operation.
抛出:
WMIException

isLocal

public boolean isLocal()
                throws WMIException
Indicates if this qualifier is local.

返回:
True if this qualifier is local, false if this qualifier is inherited from supper class;
抛出:
WMIException

isOverridable

public boolean isOverridable()
                      throws WMIException
Indicates if this qualifier can be overridden when propagated.

返回:
True if can be override, otherwise return false.
抛出:
WMIException

setOverridable

public void setOverridable(boolean isOverridable)
                    throws WMIException
Set if this qualifier can be overridden when propagated.

参数:
isOverridable - If can be overridden
抛出:
WMIException

getName

public String getName()
               throws WMIException
Get the name of this qualifier. This property is read-only.

返回:
the name of this qualifier.
抛出:
WMIException

getPropagatesToInstance

public boolean getPropagatesToInstance()
                                throws WMIException
Indicates if this qualifier can be propagated to an instance.

返回:
True if can, otherwise false.
抛出:
WMIException

setPropagatesToInstance

public void setPropagatesToInstance(boolean propagatesToInstance)
                             throws WMIException
Set if this qualifier can be propagated to an instance.

参数:
propagatesToInstance - True if can be propagated, otherwise false
抛出:
WMIException

getPropagatesToSubClass

public boolean getPropagatesToSubClass()
                                throws WMIException
Indicates if this qualifier can be propagated to an subclass.

返回:
True if can, otherwise false.
抛出:
WMIException

getValue

public WMIVariant getValue()
                    throws WMIException
Get the variant value of this qualifier.

返回:
The variant value of this qualifier.
抛出:
WMIException

setValue

public void setValue(WMIVariant variant)
              throws WMIException
Set the variant value of this qualifier.

参数:
variant - the variant value of this qualifier.
抛出:
WMIException


Copyright © 2014. All rights reserved.