1 26 27 package org.objectweb.util.explorer.swing.gui.lib; 28 29 import org.objectweb.util.explorer.swing.gui.api.ValidateReport; 30 31 32 39 public class DefaultValidateReport 40 implements ValidateReport 41 { 42 43 49 50 protected boolean result_; 51 52 53 protected String message_; 54 55 61 69 public DefaultValidateReport(){ 70 result_ = true; 71 message_ = ""; 72 } 73 74 79 public DefaultValidateReport(boolean result, String message){ 80 result_ = result; 81 message_ = message; 82 } 83 84 90 96 104 public void setResult(boolean result){ 105 result_ = result; 106 } 107 108 112 public boolean getResult(){ 113 return result_; 114 } 115 116 120 public void setMessage(String message){ 121 message_ = message; 122 } 123 124 128 public String getMessage(){ 129 return message_; 130 } 131 132 } | Popular Tags |