de.hs_rm.cs.lecturenotes.shared
Class ParagraphStats

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.shared.ParagraphStats
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class ParagraphStats
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

An entity to show some statistical information regarding the number of annotations and a Paragraph.

Version:
$LastChangedRevision: 236 $
Author:
Enrico Homann

Constructor Summary
ParagraphStats()
          Default constructor.
 
Method Summary
 java.lang.Long getNumberOfAllAnnotations()
          Will return the number of all annotations.
 Paragraph getParagraph()
          Will return the paragraph.
 void setNumberOfAllAnnotations(java.lang.Long nNumberOfAllAnnotations)
          Sets the number of all annotations.
 void setParagraph(Paragraph oParagraph)
          Sets the paragraph.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParagraphStats

public ParagraphStats()
Default constructor. Needed by the Serializer.

Method Detail

getParagraph

public final Paragraph getParagraph()
Will return the paragraph.

Returns:
Paragraph

setParagraph

public final void setParagraph(Paragraph oParagraph)
Sets the paragraph.

Parameters:
oParagraph - Paragraph

getNumberOfAllAnnotations

public final java.lang.Long getNumberOfAllAnnotations()
Will return the number of all annotations.

Returns:
Long

setNumberOfAllAnnotations

public final void setNumberOfAllAnnotations(java.lang.Long nNumberOfAllAnnotations)
Sets the number of all annotations.

Parameters:
nNumberOfAllAnnotations - Long