org.apache.myfaces.flow
Class FlowReference

java.lang.Object
  extended by org.apache.myfaces.flow.FlowReference
All Implemented Interfaces:
Serializable

public class FlowReference
extends Object
implements Serializable

This class works as a reference that can be stored into session to the current flow.

Author:
Leonardo Uribe
See Also:
Serialized Form

Constructor Summary
FlowReference(String documentId, String id)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDocumentId()
           
 String getId()
           
 int hashCode()
           
 void setDocumentId(String documentId)
           
 void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowReference

public FlowReference(String documentId,
                     String id)
Method Detail

getDocumentId

public String getDocumentId()
Returns:
the documentId

setDocumentId

public void setDocumentId(String documentId)
Parameters:
documentId - the documentId to set

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.