01: /*
02: * ReportNote.java
03: *
04: * Created on November 9, 2006, 11:18 AM
05: *
06: * To change this template, choose Tools | Template Manager
07: * and open the template in the editor.
08: */
09:
10: package org.netbeans.modules.e2e.wsdl.validator;
11:
12: /**
13: *
14: * @author Michal Skvor
15: */
16: public final class ReportNote {
17:
18: public static final int SEVERITY_LOG = 1;
19: public static final int SEVERITY_WARNING = 2;
20: public static final int SEVERITY_ERROR = 3;
21:
22: private int severity;
23: private String desctiption;
24:
25: public ReportNote(int severity, String desctiption) {
26: this .severity = severity;
27: this .desctiption = desctiption;
28: }
29:
30: public int getSeverity() {
31: return severity;
32: }
33:
34: public String getDescription() {
35: return desctiption;
36: }
37: }
|