diff --git a/base/src/org/compiere/model/MResource.java b/base/src/org/compiere/model/MResource.java index e90b061e2f..2a7e94be48 100644 --- a/base/src/org/compiere/model/MResource.java +++ b/base/src/org/compiere/model/MResource.java @@ -33,6 +33,8 @@ import org.compiere.util.CCache; */ public class MResource extends X_S_Resource { + private static final long serialVersionUID = 1L; + /** Cache */ private static CCache s_cache = new CCache(Table_Name, 20); @@ -149,4 +151,14 @@ public class MResource extends X_S_Resource return success; } // afterSave + public String toString() + { + StringBuffer sb = new StringBuffer ("MResource[") + .append(get_ID()) + .append(", Value=").append(getValue()) + .append(", Name=").append(getName()) + .append("]"); + return sb.toString(); + } + } // MResource