]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.ltk/src/org/simantics/ltk/Problem.java
Include Jaxen in org.simantics.scl.feature to keep JDom2 happy
[simantics/platform.git] / bundles / org.simantics.ltk / src / org / simantics / ltk / Problem.java
1 package org.simantics.ltk;
2
3 public class Problem {
4         Location location;
5         String description;
6         Severity severity;
7         
8         public Problem(Location location, String description,
9                         Severity severity) {
10                 this.location = location;
11                 this.description = description;
12                 this.severity = severity;
13         }
14         
15         public Problem(Location location, String description) {
16                 this(location, description, Severity.ERROR);
17         }
18
19         public Location getLocation() {
20                 return location;
21         }
22         
23         public void setLocation(Location location) {
24                 this.location = location;
25         }
26         
27         public String getDescription() {
28                 return description;
29         }
30         
31         public void setDescription(String description) {
32                 this.description = description;
33         }
34 }