org.activemath.exercises.model
Class Interaction

java.lang.Object
  extended by org.activemath.exercises.model.Interaction

public class Interaction
extends Object


Constructor Summary
Interaction(String id)
           
 
Method Summary
 void addContent(String key, PresentationBlock content)
           
protected  void addTransition(Transition transition)
           
 void deleteContent(String key)
           
protected  void deleteTransition(Transition transition)
           
protected  void deleteTransitions()
           
 PresentationBlock getContent(String key)
           
 List getContentKeys()
           
 String getId()
           
 org.jdom.Element getMetadata()
           
 Exercise getParent()
           
 PresentationStyle getPresentationStyle()
           
 String getTitle()
           
protected  List getTransitions()
           
 boolean isStatic()
           
 void pushBlock(boolean down, String key)
           
protected  void pushTransition(boolean down, Transition transition)
           
 void setMetadata(org.jdom.Element metadata)
           
 void setParent(Exercise parent)
           
 void setTitle(String t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interaction

public Interaction(String id)
Method Detail

addContent

public void addContent(String key,
                       PresentationBlock content)

addTransition

protected void addTransition(Transition transition)

deleteContent

public void deleteContent(String key)

deleteTransition

protected void deleteTransition(Transition transition)

deleteTransitions

protected void deleteTransitions()

getContent

public PresentationBlock getContent(String key)

getContentKeys

public List getContentKeys()

getId

public String getId()

getTitle

public String getTitle()

getMetadata

public org.jdom.Element getMetadata()

getParent

public Exercise getParent()

getTransitions

protected List getTransitions()

pushTransition

protected void pushTransition(boolean down,
                              Transition transition)

pushBlock

public void pushBlock(boolean down,
                      String key)

isStatic

public boolean isStatic()

setMetadata

public void setMetadata(org.jdom.Element metadata)

setTitle

public void setTitle(String t)

setParent

public void setParent(Exercise parent)

getPresentationStyle

public PresentationStyle getPresentationStyle()