CMSNotice.java (814B)
1 package de.openrat.client.util; 2 3 public class CMSNotice 4 { 5 6 public static enum CMSErrorStatus 7 { 8 NOTICE, WARN, ERROR, INFO; 9 } 10 11 private CMSErrorStatus status; 12 private String type; 13 private String name; 14 private String text; 15 private String key; 16 17 public CMSErrorStatus getStatus() 18 { 19 return status; 20 } 21 22 public void setStatus(CMSErrorStatus status) 23 { 24 this.status = status; 25 } 26 27 public String getType() 28 { 29 return type; 30 } 31 32 public void setType(String type) 33 { 34 this.type = type; 35 } 36 37 public String getName() 38 { 39 return name; 40 } 41 42 public void setName(String name) 43 { 44 this.name = name; 45 } 46 47 public String getText() 48 { 49 return text; 50 } 51 52 public void setText(String text) 53 { 54 this.text = text; 55 } 56 57 public String getKey() 58 { 59 return key; 60 } 61 62 public void setKey(String key) 63 { 64 this.key = key; 65 } 66 67 }