Cameo Simulation Toolkit 2022x Documentation

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

You can assign a value from a specific row in a spreadsheet in an Excel file to an fUML runtime value by using the following API
 

public void updatefUMLValueFromSpreadSheet(StructuredValue value, String fileName, String sheetName, Number rowIndex, Object mappingClass) {
...
}

 

The APIs can ignore the sheetName and use the first sheet of the selected spreadsheet instead.
 

public void updatefUMLValueFromSpreadSheet(StructuredValue value, String fileName, Number rowIndex, Object mappingClass) {
...
}

The mappingClass parameter can be String or Element for represent the mapping Class name or mapping Class Element. The APIs can ignore the mappingClass then update the runtime object of the file schema element that is matched with file name.

  • No labels