1 26 27 package org.objectweb.util.browser.gui.lib; 28 29 30 import org.objectweb.util.browser.gui.api.ValidateReport; 31 32 39 public class DefaultValidateReport 40 implements ValidateReport{ 41 42 48 49 protected boolean result_; 50 51 52 protected String message_; 53 54 60 68 public DefaultValidateReport(){ 69 result_ = true; 70 message_ = ""; 71 } 72 73 78 public DefaultValidateReport(boolean result, String message){ 79 result_ = result; 80 message_ = message; 81 } 82 83 89 95 103 public void setResult(boolean result){ 104 result_ = result; 105 } 106 107 111 public boolean getResult(){ 112 return result_; 113 } 114 115 119 public void setMessage(String message){ 120 message_ = message; 121 } 122 123 127 public String getMessage(){ 128 return message_; 129 } 130 131 } | Popular Tags |