de.hs_rm.cs.lecturenotes.shared.entity
Class ParagraphTransportHeader

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

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

This class holds Important often used attributes from Paragraph. This done for ease of use and improved transport performance. Often there is only some need of important paragraph attributes (meta data) not the user contents itself.

Version:
$LastChangedRevision: 236 $
Author:
Enrico Homann

Constructor Summary
ParagraphTransportHeader()
          Default constructor.
 
Method Summary
 java.lang.Long getParaId()
          Will return the para id.
 java.lang.Long getParaPosition()
          Will return the para position.
 java.lang.Long getParaVersion()
          Will return the para version.
 void setParaId(java.lang.Long nParaId)
          Sets the para id.
 void setParaPosition(java.lang.Long nParaPosition)
          Sets the para position.
 void setParaVersion(java.lang.Long oParaVersion)
          Sets the para version.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParagraphTransportHeader

public ParagraphTransportHeader()
Default constructor. Needed for serialization.

Method Detail

getParaId

public java.lang.Long getParaId()
Will return the para id.

Returns:
Long

setParaId

public void setParaId(java.lang.Long nParaId)
Sets the para id.

Parameters:
nParaId - Long

getParaVersion

public java.lang.Long getParaVersion()
Will return the para version.

Returns:
Long

setParaVersion

public void setParaVersion(java.lang.Long oParaVersion)
Sets the para version.

Parameters:
oParaVersion - ^ Long

getParaPosition

public java.lang.Long getParaPosition()
Will return the para position.

Returns:
Long

setParaPosition

public void setParaPosition(java.lang.Long nParaPosition)
Sets the para position.

Parameters:
nParaPosition - Long