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

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

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

System object (entity) Slide.

Version:
$LastChangedRevision: 262 $
Author:
Enrico Homann

Constructor Summary
Slide()
          Default constructor.
 
Method Summary
 java.lang.String fillTemplate(java.lang.String template)
          Will return a String based upon a template where the tags were replaced using the attribute tags of the persisted table and the attributes of this object.
 java.lang.String getContent()
          Will return the content.
 java.lang.Long getCreationUnixTimestamp()
          Will return the creation unix timestamp.
 java.lang.Long getId()
          Will return the id.
 java.lang.Long getLastModifiedUnixTimestamp()
          Will return the last modified unix timestamp.
 java.lang.Long getParagraphId()
          Will return the paragraph id.
 ParagraphTransportHeader getParaHeader()
          Will return the ParagraphTransportHeader.
 java.lang.Long getPosition()
          Will return the position.
 void setContent(java.lang.String sContent)
          Sets the content.
 void setCreationUnixTimestamp(java.lang.Long nCreationUnixTimestamp)
          Sets the unix creation timestamp.
 void setId(java.lang.Long nId)
          Sets the id.
 void setLastModifiedUnixTimestamp(java.lang.Long nLastModifiedUnixTimestamp)
          Sets the last modified unix timestamp.
 void setParagraphId(java.lang.Long nParagraphId)
          Sets the paragraph id.
 void setParaHeader(ParagraphTransportHeader oParaHeader)
          Sets the ParagraphTransportHeader.
 void setPosition(java.lang.Long nPosition)
          Sets the position.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slide

public Slide()
Default constructor. For serialization.

Method Detail

getId

public java.lang.Long getId()
Will return the id.

Returns:
Long

setId

public void setId(java.lang.Long nId)
Sets the id.

Parameters:
nId - Long

getParagraphId

public java.lang.Long getParagraphId()
Will return the paragraph id.

Returns:
Long

setParagraphId

public void setParagraphId(java.lang.Long nParagraphId)
Sets the paragraph id.

Parameters:
nParagraphId - Long

setPosition

public void setPosition(java.lang.Long nPosition)
Sets the position.

Parameters:
nPosition - Long

getPosition

public java.lang.Long getPosition()
Will return the position.

Returns:
Long

getContent

public java.lang.String getContent()
Will return the content.

Returns:
String

setContent

public void setContent(java.lang.String sContent)
Sets the content.

Parameters:
sContent - String

getCreationUnixTimestamp

public java.lang.Long getCreationUnixTimestamp()
Will return the creation unix timestamp.

Returns:
Long

setCreationUnixTimestamp

public void setCreationUnixTimestamp(java.lang.Long nCreationUnixTimestamp)
Sets the unix creation timestamp.

Parameters:
nCreationUnixTimestamp - Long

getLastModifiedUnixTimestamp

public java.lang.Long getLastModifiedUnixTimestamp()
Will return the last modified unix timestamp.

Returns:
Long

setLastModifiedUnixTimestamp

public void setLastModifiedUnixTimestamp(java.lang.Long nLastModifiedUnixTimestamp)
Sets the last modified unix timestamp.

Parameters:
nLastModifiedUnixTimestamp - Long

getParaHeader

public ParagraphTransportHeader getParaHeader()
Will return the ParagraphTransportHeader.

Returns:
ParagraphTransportHeader

setParaHeader

public void setParaHeader(ParagraphTransportHeader oParaHeader)
Sets the ParagraphTransportHeader.

Parameters:
oParaHeader - ParagraphTransportHeader

fillTemplate

public java.lang.String fillTemplate(java.lang.String template)
Will return a String based upon a template where the tags were replaced using the attribute tags of the persisted table and the attributes of this object. While the prefix for each template tag is %user_

Specified by:
fillTemplate in interface IStringTemplateEntity
Parameters:
template - String
Returns:
String String with replaced key tags

toString

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