org.activemath.webapp.tutor
Class BookCreationState

java.lang.Object
  extended by org.activemath.webapp.tutor.BookCreationState

public class BookCreationState
extends Object


Constructor Summary
BookCreationState()
          No -Argument constructor, needed because the object is initialized incrementally.
 
Method Summary
 String[] getGoalIds()
          Get the contentIds for the goal in a Array of String.
 Map getInitialWorldState()
           
 List getTocs()
           
 boolean isComplete()
           
 void setBookName(String string)
           
 void setDescription(String string)
           
 void setInitialWorldState(Map initialWorldState)
           
 void setTocs(List tocs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookCreationState

public BookCreationState()
No -Argument constructor, needed because the object is initialized incrementally.

Method Detail

setBookName

public void setBookName(String string)
Parameters:
string -

getGoalIds

public String[] getGoalIds()
Get the contentIds for the goal in a Array of String.

Returns:
the contentIds for the goal in String[]

setDescription

public void setDescription(String string)
Parameters:
string -

getTocs

public List getTocs()

setTocs

public void setTocs(List tocs)

isComplete

public boolean isComplete()

setInitialWorldState

public void setInitialWorldState(Map initialWorldState)
Parameters:
initialWorldState - the initialWorldState to set. format for the initial state is: property (value1 value2 ...)

getInitialWorldState

public Map getInitialWorldState()
Returns:
the initialWorldState