public final Object generateDeviceGroupInElementsCIMWrapper(final Argument arg,final Map<String,Object> keyMap,int index){
  @SuppressWarnings("unchecked") List<CIMObjectPath> deviceGroupPaths=(List<CIMObjectPath>)keyMap.get(arg.getValue());
  CIMObjectPath deviceGroupPath=deviceGroupPaths.get(index);
  CIMObjectPath[] pathArray=new CIMObjectPath[]{deviceGroupPath};
  return new CIMArgument<Object>(arg.getName(),CIMDataType.getDataType(pathArray),pathArray);
}

public final Object generateDeviceGroupInElementsCIMWrapper ( final Argument arg , final Map < String , Object > keyMap , int index ) { @ SuppressWarnings ( "unchecked" ) List < CIMObjectPath > deviceGroupPaths = ( List < CIMObjectPath > ) keyMap . get ( arg . getValue ( ) ) ; CIMObjectPath deviceGroupPath = deviceGroupPaths . get ( index ) ; CIMObjectPath [ ] pathArray = new CIMObjectPath [ ] { deviceGroupPath } ; return new CIMArgument < Object > ( arg . getName ( ) , CIMDataType . getDataType ( pathArray ) , pathArray ) ; }
add devicegroup paths into cimobjectpath [ ] , which his being used as value for inelements while invoking modifystoragetierpolicyrule .
