+
+ private static final String RESULT_ELEM = "result";
+
+ public enum RecordingResult {
+ OK("Successfully recorded programs"),
+ DUPLICATE("Already recorded programs"),
+ CONFLICT("Programs in conflict with another recorded program"),
+ OLDSHOW("Programs that occured in the past"),
+ ERROR("Programs that could not be recorded for technical reasons");
+
+ private String _description;
+
+ private RecordingResult(String aDescription) {
+ _description = aDescription;
+ }
+
+ public String getDescription() {
+ return _description;
+ }
+ };