This commit is contained in:
Keith Donald
2009-04-16 22:43:29 +00:00
parent 94d26cb4cd
commit ccaf8f5136

View File

@@ -4,13 +4,25 @@ import java.io.Serializable;
import org.springframework.core.style.ToStringCreator;
/**
* Serialized UIViewRoot stored in view scope associated with a Web Flow View State.
*
* @author Jeremy Grelle
*/
public class FlowSerializedView implements Serializable {
private Object treeStructure;
private Object componentState;
private String viewId;
/**
* Creates a new serialized view
* @param viewId the view id
* @param treeStructure the tree structure of the view
* @param componentState the component state
*/
public FlowSerializedView(String viewId, Object treeStructure, Object componentState) {
this.viewId = viewId;
this.treeStructure = treeStructure;