1 package test.hibernate; 2 3 8 public class Error extends OIDObject 9 { 10 protected String message; 11 12 protected String description; 13 14 protected String errorMode; 15 16 protected String type; 17 18 24 public String getMessage() 25 { 26 return message; 27 } 28 29 public void setMessage(String m) 30 { 31 message = m; 32 } 33 34 39 public String getDescription() 40 { 41 return description; 42 } 43 44 public void setDescription(String desc) 45 { 46 description = desc; 47 } 48 49 55 public String getErrorMode() 56 { 57 return errorMode; 58 } 59 60 public void setErrorMode(String errorMode) 61 { 62 this.errorMode = errorMode; 63 } 64 65 71 72 public String getType() 73 { 74 return type; 75 } 76 77 public void setType(String newType) 78 { 79 type = newType; 80 } 81 } 82 83 | Popular Tags |