org.apache.shale.dialog.impl
Class ViewStateImpl

java.lang.Object
  extended by org.apache.shale.dialog.impl.AbstractState
      extended by org.apache.shale.dialog.impl.ViewStateImpl
All Implemented Interfaces:
State, ViewState
Direct Known Subclasses:
EndStateImpl

public class ViewStateImpl
extends AbstractState
implements ViewState

ViewStateImpl is a basic implementation of ViewState.

$Id: ViewStateImpl.java 419431 2006-07-06 04:38:39Z wsmoak $


Field Summary
 
Fields inherited from class org.apache.shale.dialog.impl.AbstractState
log
 
Constructor Summary
ViewStateImpl()
           
 
Method Summary
 String getViewId()
          

Return the view identifier of the JavaServer Faces view to render if this state is entered.

 void setViewId(String viewId)
          Set the view identifier of the JavaServer Faces view to render if this state is entered.
 String toString()
          Render a printable version of this instance.
 
Methods inherited from class org.apache.shale.dialog.impl.AbstractState
addTransition, findTransition, getDialog, getName, getTransitionOutcomes, removeTransition, setDialog, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.shale.dialog.State
findTransition, getDialog, getName, getTransitionOutcomes
 

Constructor Detail

ViewStateImpl

public ViewStateImpl()
Method Detail

getViewId

public String getViewId()

Return the view identifier of the JavaServer Faces view to render if this state is entered.

Specified by:
getViewId in interface ViewState

toString

public String toString()

Render a printable version of this instance.

Overrides:
toString in class Object

setViewId

public void setViewId(String viewId)

Set the view identifier of the JavaServer Faces view to render if this state is entered.

Parameters:
viewId - The new view identifier


Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.