Class ProcessResult
java.lang.Object
neqsim.mcp.model.ProcessResult
Typed result model for process simulations.
Contains the simulation report JSON, the process system reference (for further Java-side
inspection), and the process system name. This is the typed counterpart for the JSON returned by
ProcessRunner.run(String).
- Version:
- 1.0
- Author:
- Even Solbraa
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProcessSystemprivate final Stringprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionProcessResult(String processSystemName, ProcessSystem processSystem, String reportJson) Creates a process result. -
Method Summary
Modifier and TypeMethodDescriptionGets the process system reference for further Java-side access.Gets the process system name.Gets the simulation report as a JSON string.
-
Field Details
-
processSystemName
-
processSystem
-
reportJson
-
-
Constructor Details
-
ProcessResult
Creates a process result.- Parameters:
processSystemName- the process system nameprocessSystem- the process system reference (transient — not serialized)reportJson- the simulation report as JSON string
-
-
Method Details
-
getProcessSystemName
-
getProcessSystem
Gets the process system reference for further Java-side access.- Returns:
- the process system, or null if not available
-
getReportJson
-