net.sf.tomp.el.author
Class Lecture

java.lang.Object
  extended by net.sf.tomp.el.author.Lecture
All Implemented Interfaces:
Described

public class Lecture
extends java.lang.Object
implements Described


Constructor Summary
Lecture(Lectures l, java.lang.String id)
          Creates a new instance of Lecture and sets its ID.
 
Method Summary
 Description getDescription()
          Returns the description.
 java.io.File getFile()
          Returns the Lecture's XML file.
 java.lang.String getId()
          Returns lecture's ID.
 Lectures getLectures()
          Returns lectures.
 void setDescription(Description description)
          Sets the lecture's description
 java.lang.String toString()
          Creates string of lecture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lecture

public Lecture(Lectures l,
               java.lang.String id)
Creates a new instance of Lecture and sets its ID. Initialize its lectures and creates default description.

Parameters:
l - Lectures
id - Lecture's ID
Method Detail

getFile

public java.io.File getFile()
Returns the Lecture's XML file.

Returns:
Lecture's file

getLectures

public Lectures getLectures()
Returns lectures.

Returns:
Lectures.

getId

public java.lang.String getId()
Returns lecture's ID.

Returns:
ID

toString

public java.lang.String toString()
Creates string of lecture.

Overrides:
toString in class java.lang.Object
Returns:
String containing "lecture <ID>"

getDescription

public Description getDescription()
Returns the description.

Specified by:
getDescription in interface Described
Returns:
Lecture's description

setDescription

public void setDescription(Description description)
Sets the lecture's description

Specified by:
setDescription in interface Described
Parameters:
description - The description to set.