|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.el.author.Course
public class Course
Field Summary | |
---|---|
static java.lang.String |
MAIN_FILE
|
static java.lang.String |
MAIN_INFO_FILE
|
static java.lang.String |
SRC_DIR
|
Constructor Summary | |
---|---|
Course(CourseTree t,
java.lang.String id)
Creates a new instance of Course, sets its CourseTree and its ID. |
Method Summary | |
---|---|
CourseTree |
getCourseTree()
Returns the courseTree. |
Description |
getDescription()
Returns the description. |
java.io.File |
getDirectory()
Returns the CourseTree directory. |
java.io.File |
getFile()
Returns the main XML document. |
java.lang.String |
getId()
Returns the Course's ID. |
java.io.File |
getInfoFile()
Returns the main informative XML document. |
Lectures |
getLectures()
Returns the lectures. |
Practices |
getPractices()
Returns the practices. |
Projects |
getProjects()
Returns the projects. |
java.io.File |
getSrcDirectory()
Returns the source directory. |
Tasks |
getTasks()
Returns the tasks. |
void |
setDescription(Description description)
Sets the description set. |
java.lang.String |
toString()
Creates string of course's ID and its lectures. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SRC_DIR
public static final java.lang.String MAIN_FILE
public static final java.lang.String MAIN_INFO_FILE
Constructor Detail |
---|
public Course(CourseTree t, java.lang.String id)
t
- CoursTree of the new Courseid
- Course's ID.Method Detail |
---|
public java.io.File getDirectory()
public java.io.File getSrcDirectory()
public java.io.File getFile()
public java.io.File getInfoFile()
public java.lang.String getId()
public CourseTree getCourseTree()
public Lectures getLectures()
public Tasks getTasks()
public Practices getPractices()
public Projects getProjects()
public java.lang.String toString()
toString
in class java.lang.Object
public Description getDescription()
getDescription
in interface Described
public void setDescription(Description description)
setDescription
in interface Described
description
- The description to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |