⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cimclient.java

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
       {          ciQualifier = _getQualifier (cInst,                                       cNsInst,                                       path.cInst ());       }       if (ciQualifier != 0)       {          return new CIMQualifierType (ciQualifier);       }       else       {          return null;       }    }    public CIMQualifierType getQualifier (CIMObjectPath path)         throws CIMException    {       long ciQualifier = 0;       if (cInst != 0)       {          ciQualifier = _getQualifier (cInst,                                       cNsInst,                                       path.cInst ());       }       if (ciQualifier != 0)       {          return new CIMQualifierType (ciQualifier);       }       else       {          return null;       }    }    public void createQualifierType (CIMObjectPath    path,                                     CIMQualifierType qt)         throws CIMException    {       if (cInst != 0)       {          _setQualifier (cInst, cNsInst, path.cInst (), qt.cInst ());       }    }    public void setQualifierType (CIMObjectPath    path,                                  CIMQualifierType qt)         throws CIMException    {       if (cInst != 0)       {          _setQualifier (cInst, cNsInst, path.cInst (), qt.cInst ());       }    }    public void setQualifier (CIMObjectPath    path,                              CIMQualifierType qualifierType)         throws CIMException    {        setQualifierType (path, qualifierType);    }   public void createClass (CIMObjectPath path,                            CIMClass      cc)         throws CIMException    {      if (cInst != 0)      {         _createClass (cInst, cNsInst, path.cInst (), cc.cInst ());      }    }    public void setClass (CIMObjectPath path,                          CIMClass      cc)         throws CIMException    {       if (cInst != 0)       {          _setClass (cInst,cNsInst, path.cInst (), cc.cInst ());       }    }    public void modifyClass (CIMObjectPath path,                             CIMClass      modifiedClass)         throws CIMException    {        setClass (path, modifiedClass);    }    public CIMObjectPath createInstance (CIMObjectPath path,                                         CIMInstance   ci)         throws CIMException    {       long ciObjectPath = 0;       if (cInst != 0)       {          ciObjectPath = _createInstance (cInst,                                          cNsInst,                                          path.cInst (),                                          ci.cInst ());       }       if (ciObjectPath != 0)       {          return new CIMObjectPath (ciObjectPath);       }       else       {          return null;       }    }    public void setInstance (CIMObjectPath path,                             CIMInstance   ci)         throws CIMException    {        modifyInstance (path, ci, true, (String[])null);    }    public void modifyInstance (CIMObjectPath path,                                CIMInstance   modifiedInstance,                                boolean       includeQualifiers,                                String        propertyList[])         throws CIMException    {       if (cInst != 0)       {          _modifyInstance (cInst,                           cNsInst,                           path.cInst (),                           modifiedInstance.cInst (),                           includeQualifiers,                           propertyList);       }    }    public CIMValue getProperty (CIMObjectPath path,                                 String        propertyName)         throws CIMException    {       long ciValue = 0;       if (cInst != 0)       {          ciValue = _getProperty (cInst,                                  cNsInst,                                  path.cInst (),                                  propertyName);       }       if (ciValue != 0)       {          return new CIMValue (ciValue);       }       else       {          return null;       }    }    public void setProperty (CIMObjectPath path,                             String        propertyName,                             CIMValue      newValue)         throws CIMException    {       if (cInst != 0)       {          _setProperty (cInst, cNsInst, path.cInst (), propertyName, newValue.cInst ());       }    }    public Enumeration execQuery (CIMObjectPath path,                                  String        query,                                  String        ql)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _execQuery (cInst,                                      cNsInst,                                      path.cInst (),                                      query,                                      ql);       }       if (ciEnumeration != 0)       {          return new InstEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration associatorNames (CIMObjectPath path,                                        String        assocClass,                                        String        resultClass,                                        String        role,                                        String        resultRole)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _associatorNames (cInst,                                            cNsInst,                                            path.cInst (),                                            assocClass,                                            resultClass,                                            role,                                            resultRole);       }       if (ciEnumeration != 0)       {          return new PathEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration associators (CIMObjectPath path,                                    String        assocClass,                                    String        resultClass,                                    String        role,                                    String        resultRole,                                    boolean       includeQualifiers,                                    boolean       includeClassOrigin,                                    String        propertyList[])         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _associators (cInst,                                        cNsInst,                                        path.cInst (),                                        assocClass,                                        resultClass,                                        role,                                        resultRole,                                        includeQualifiers,                                        includeClassOrigin,                                        propertyList);       }       if (ciEnumeration != 0)       {          return new InstEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration referenceNames (CIMObjectPath path,                                       String        resultClass,                                       String        role)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _referenceNames (cInst,                                           cNsInst,                                           path.cInst (),                                           resultClass,                                           role);       }       if (ciEnumeration != 0)       {          return new PathEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration references (CIMObjectPath path,                                   String        resultClass,                                   String        role,                                   boolean       includeQualifiers,                                   boolean       includeClassOrigin,                                   String        propertyList[])         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _references (cInst,                                       cNsInst,                                       path.cInst (),                                       resultClass,                                       role,                                       includeQualifiers,                                       includeClassOrigin,                                       propertyList);       }       if (ciEnumeration != 0)       {          return new InstEnumeration (ciEnumeration);       }       else       {          return null;       }    }/*    public CIMNameSpace getNameSpace ()    {    }    public CIMFeatures getServerFeatures ()         throws CIMException    {    }    public void authenticate (String userName,                              String password)         throws CIMException    {    }*/    static {        System.loadLibrary("JMPIProviderManager");    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -