File src/de/openrat/client/util/CMSNotice.java
Last commit: Wed Dec 12 18:07:08 2018 +0100 Jan Dankert better encapsulation for action classes, new common CMSAction for a more low-level api.
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 }
Downloadsrc/de/openrat/client/util/CMSNotice.java
History Wed, 12 Dec 2018 18:07:08 +0100 Jan Dankert better encapsulation for action classes, new common CMSAction for a more low-level api. Fri, 30 Sep 2016 23:38:24 +0200 dankert Parsen der Server-Notices und füllen der CMSResponse. Weitere Doku mit JavaDoc.