net.sf.tomp.el.author.description
Class Description

java.lang.Object
  extended by net.sf.tomp.el.author.description.Description

public class Description
extends java.lang.Object

Author:
RNDr. Tomáš Pitner, Ph.D.

Constructor Summary
Description(java.lang.String title, java.lang.String body)
          Creates a new instance of Description, sets its title and body.
 
Method Summary
 java.lang.String getBody()
          Returns the description's body.
 java.lang.String getTitle()
          Returns the description's title.
 void setBody(java.lang.String body)
          Sets the description's body.
 void setTitle(java.lang.String title)
          Sets the description's title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Description

public Description(java.lang.String title,
                   java.lang.String body)
Creates a new instance of Description, sets its title and body.

Parameters:
title - Title od new instance
body - Body of new instance
Method Detail

getBody

public java.lang.String getBody()
Returns the description's body.

Returns:
Descriptions' body

setBody

public void setBody(java.lang.String body)
Sets the description's body.

Parameters:
body - The body to set

getTitle

public java.lang.String getTitle()
Returns the description's title.

Returns:
Description's title

setTitle

public void setTitle(java.lang.String title)
Sets the description's title.

Parameters:
title - The title to set