Class ProcessSystemState.ValidationResult
java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessSystemState.ValidationResult
- Enclosing class:
ProcessSystemState
Result of state validation.
- Version:
- 1.0
- Author:
- ESOL
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidationResult(boolean valid, List<String> errors, List<String> warnings) Creates a validation result. -
Method Summary
-
Field Details
-
valid
private final boolean valid -
errors
-
warnings
-
-
Constructor Details
-
ValidationResult
-
-
Method Details
-
isValid
public boolean isValid()Returns whether the state is valid.- Returns:
- true if valid
-
getErrors
-
getWarnings
-
toString
-