de.hs_rm.cs.lecturenotes.client.module.whatsnew
Class WhatsNewModuleModel

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.client.module.whatsnew.WhatsNewModuleModel

public final class WhatsNewModuleModel
extends java.lang.Object

Model for the WhatsNew Discussion Form Module.

Version:
$LastChangedVersion$
Author:
Enrico Homann

Constructor Summary
WhatsNewModuleModel(IModule<WhatsNewModuleModel> oWhatsNewModule)
          Constructor.
 
Method Summary
 IModule<WhatsNewModuleModel> getModuleParent()
          Will return the module parent.
 Paragraph getParagraph()
          Will return the Paragraph this model holds.
 java.util.List<Annotation> getParagraphAnnotations()
          Will return a List of Annotation objects.
 void setModuleParent(WhatsNewModule oModuleParent)
          Sets the module parent.
 void setParagraph(Paragraph oParagraph)
          Will set the Paragraph this model holds.
 void setParagraphAnnotations(java.util.List<Annotation> oParagraphAnnotations)
          Sets a List of Annotation objects.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhatsNewModuleModel

public WhatsNewModuleModel(IModule<WhatsNewModuleModel> oWhatsNewModule)
Constructor.

Parameters:
oWhatsNewModule - IModule of WhatsNewModuleModel
Method Detail

getModuleParent

public IModule<WhatsNewModuleModel> getModuleParent()
Will return the module parent.

Returns:
IModule of WhatsNewModuleModel

setModuleParent

public void setModuleParent(WhatsNewModule oModuleParent)
Sets the module parent.

Parameters:
oModuleParent - WhatsNewModule

getParagraphAnnotations

public java.util.List<Annotation> getParagraphAnnotations()
Will return a List of Annotation objects.

Returns:
List of Annotation objects

setParagraphAnnotations

public void setParagraphAnnotations(java.util.List<Annotation> oParagraphAnnotations)
Sets a List of Annotation objects.

Parameters:
oParagraphAnnotations - List of Annotation objects

getParagraph

public Paragraph getParagraph()
Will return the Paragraph this model holds.

Returns:
Paragraph

setParagraph

public void setParagraph(Paragraph oParagraph)
Will set the Paragraph this model holds.

Parameters:
oParagraph - Paragraph

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object