1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| package jnpf.elnFormula;
|
| public final class FormulaDiagnostic {
|
| public enum Severity {
| ERROR,
| WARNING
| }
|
| private final Severity severity;
| private final String code;
| private final String message;
| private final int start;
| private final int end;
|
| public FormulaDiagnostic(Severity severity, String code, String message, int start, int end) {
| this.severity = severity;
| this.code = code;
| this.message = message;
| this.start = start;
| this.end = end;
| }
|
| public Severity getSeverity() {
| return severity;
| }
|
| public String getCode() {
| return code;
| }
|
| public String getMessage() {
| return message;
| }
|
| public int getStart() {
| return start;
| }
|
| public int getEnd() {
| return end;
| }
| }
|
|