return errors;
}
public void addProcess(final Process process) {
if (process instanceof RuleFlowProcess) {
RuleFlowProcessValidator validator = RuleFlowProcessValidatorImpl.getInstance();
RuleFlowProcessValidationError[] errors = validator.validateProcess((RuleFlowProcess) process);
if (errors.length != 0) {
for (int i = 0; i < errors.length; i++) {
this.errors.add(new ParserError(errors[i].toString(), -1, -1));
}
} else {