Package org.sblim.wbem.cim

Examples of org.sblim.wbem.cim.CIMParameter


      SPLSymbolTable methodArgsSymbolTable=new SPLSymbolTable();
     
            Vector parameters = cimMethod.getParameters();
      for(int j=0; j<parameters.size(); j++)
      {
        CIMParameter cimparameter = (CIMParameter)parameters.get(j);
        String parameterName=cimparameter.getName();
        //boolean isArr=cimparameter.isArray();
        int type=CIMSPLTypeConstants.convertCIMTypeToInternalType(cimparameter.getType().getType());
        boolean isArray = CIMSPLTypeConstants.getIsArray(cimparameter.getType().getType());
        String referenceTypeName="";
       
        if(type == TypeConstants.referenceType)
        { 
          referenceTypeName = CIMSPLTypeConstants.getReferenceTypeName(cimparameter.getName());
        }
        Argument arg=new ArgumentImpl(type, parameterName, isArray, referenceTypeName);
       
        methodArgsSymbolTable.insertVariableSymbol(parameterName, type, referenceTypeName, isArray, false, false);
        //System.out.println(" inserted variable symbol into methodArgsSymbolTable "+parameterName);
View Full Code Here


          CIMMethod cimMethod= cimclass.getMethod(methodName);
          Vector params = cimMethod.getParameters();
          for(int j=0;j<params.size();j++)
          {
            CIMParameter cimparameter=(CIMParameter)params.get(j);
            String parameterName=cimparameter.getName();
            int type=cimparameter.getType().getType();
            //boolean isArray=cimparameter.isArray();
            //System.out.println("parameter name = "+parameterName);
            Object paramValue=cimArgNameValuePairs.get(parameterName);
            if(paramValue!=null){
             
View Full Code Here

TOP

Related Classes of org.sblim.wbem.cim.CIMParameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.