Author: maksimkaszynski
Date: 2007-06-08 11:06:46 -0400 (Fri, 08 Jun 2007)
New Revision: 1105
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Key.java
Log:
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Key.java
===================================================================
---
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Key.java 2007-06-08
14:54:16 UTC (rev 1104)
+++
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Key.java 2007-06-08
15:06:46 UTC (rev 1105)
@@ -12,6 +12,8 @@
import java.io.Serializable;
+import org.ajax4jsf.framework.ajax.AjaxContext;
+
/**
* @author Maksim Kaszynski
*
@@ -58,4 +60,14 @@
}
return super.equals(obj);
}
+
+ @Override
+ public int hashCode() {
+ return id;
+ }
+
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + ":" + value;
+ }
}
Show replies by date