net.sf.tomp.el.author
Class Project

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

public class Project
extends java.lang.Object
implements Described


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

Constructor Detail

Project

public Project(Projects l,
               java.lang.String id)
Creates a new instance of Project and sets its ID. Initialize its projects and creates default description.

Parameters:
l - Projects
id - Project's ID
Method Detail

getFile

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

Returns:
Project's file

getProjects

public Projects getProjects()
Returns project.

Returns:
Projects.

getId

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

Returns:
ID

toString

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

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

getDescription

public Description getDescription()
Returns the description.

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

setDescription

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

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