Class CourseAdapter
java.lang.Object
be.gaudry.swing.edu.planning.scheduler.adapter.CourseAdapter
- All Implemented Interfaces:
IPeriod
,be.gaudry.swing.schedule.model.Resource
,Serializable
public class CourseAdapter
extends Object
implements be.gaudry.swing.schedule.model.Resource, IPeriod
- Since:
- 1.0 28 janv. 2009
- Author:
- Steph GAUDRY
- See Also:
- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe date when theIPeriod
stops.String representation of the DefaultPeriod including thestart date
and theend date
.The date when theIPeriod
starts.getTasks()
getValueAt(int colIndex)
boolean
void
setEndDate(Date endDate)
void
setStartDate(Date startDate)
toString()
-
Constructor Details
-
CourseAdapter
- Parameters:
course
-
-
-
Method Details
-
toString
- Specified by:
toString
in interfacebe.gaudry.swing.schedule.model.Resource
- Overrides:
toString
in classObject
- See Also:
Course.toString()
-
getChildResources
- Specified by:
getChildResources
in interfacebe.gaudry.swing.schedule.model.Resource
-
getTasks
- Specified by:
getTasks
in interfacebe.gaudry.swing.schedule.model.Resource
-
getValueAt
- Specified by:
getValueAt
in interfacebe.gaudry.swing.schedule.model.Resource
-
hasChildren
public boolean hasChildren()- Specified by:
hasChildren
in interfacebe.gaudry.swing.schedule.model.Resource
-
getEndDate
Description copied from interface:IPeriod
The date when theIPeriod
stops.- Specified by:
getEndDate
in interfaceIPeriod
- Returns:
- the endDate
-
getIntervalString
Description copied from interface:IPeriod
String representation of the DefaultPeriod including thestart date
and theend date
.- Specified by:
getIntervalString
in interfaceIPeriod
- Returns:
- the
IPeriod
String representation
-
getStartDate
Description copied from interface:IPeriod
The date when theIPeriod
starts.- Specified by:
getStartDate
in interfaceIPeriod
- Returns:
- the startDate
-
setEndDate
- Specified by:
setEndDate
in interfaceIPeriod
- Parameters:
endDate
- the endDate to set- See Also:
IPeriod.getEndDate()
-
setStartDate
- Specified by:
setStartDate
in interfaceIPeriod
- Parameters:
startDate
- the startDate to set- See Also:
IPeriod.getStartDate()
-