Author: konstantin.mishin
Date: 2011-03-11 10:38:01 -0500 (Fri, 11 Mar 2011)
New Revision: 22172
Modified:
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/Field.java
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/FilterField.java
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/SortField.java
Log:
RF-10717 Reviewer: Nick Belaevski
Modified: branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/Field.java
===================================================================
---
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/Field.java 2011-03-11
15:37:21 UTC (rev 22171)
+++
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/Field.java 2011-03-11
15:38:01 UTC (rev 22172)
@@ -22,14 +22,18 @@
package org.richfaces.model;
+import java.io.Serializable;
+
import javax.el.ValueExpression;
/**
* @author Konstantin Mishin
*
*/
-public abstract class Field {
+public abstract class Field implements Serializable{
+ private static final long serialVersionUID = 1448767072411366177L;
+
private ValueExpression expression;
public Field(ValueExpression expression) {
Modified:
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/FilterField.java
===================================================================
---
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/FilterField.java 2011-03-11
15:37:21 UTC (rev 22171)
+++
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/FilterField.java 2011-03-11
15:38:01 UTC (rev 22172)
@@ -30,6 +30,8 @@
*/
public class FilterField extends Field{
+ private static final long serialVersionUID = -935655586515863809L;
+
private Filter<?> filter;
private Object filterValue;
Modified:
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/SortField.java
===================================================================
---
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/SortField.java 2011-03-11
15:37:21 UTC (rev 22171)
+++
branches/4.0.X/ui/iteration/api/src/main/java/org/richfaces/model/SortField.java 2011-03-11
15:38:01 UTC (rev 22172)
@@ -34,6 +34,8 @@
*/
public class SortField extends Field {
+ private static final long serialVersionUID = 654268763477658266L;
+
private Comparator<?> comparator;
private SortOrder sortOrder;