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 theIPeriodstops.String representation of the DefaultPeriod including thestart dateand theend date.The date when theIPeriodstarts.getTasks()getValueAt(int colIndex)booleanvoidsetEndDate(Date endDate)voidsetStartDate(Date startDate)toString()
-
Constructor Details
-
CourseAdapter
- Parameters:
course-
-
-
Method Details
-
toString
- Specified by:
toStringin interfacebe.gaudry.swing.schedule.model.Resource- Overrides:
toStringin classObject- See Also:
Course.toString()
-
getChildResources
- Specified by:
getChildResourcesin interfacebe.gaudry.swing.schedule.model.Resource
-
getTasks
- Specified by:
getTasksin interfacebe.gaudry.swing.schedule.model.Resource
-
getValueAt
- Specified by:
getValueAtin interfacebe.gaudry.swing.schedule.model.Resource
-
hasChildren
public boolean hasChildren()- Specified by:
hasChildrenin interfacebe.gaudry.swing.schedule.model.Resource
-
getEndDate
Description copied from interface:IPeriodThe date when theIPeriodstops.- Specified by:
getEndDatein interfaceIPeriod- Returns:
- the endDate
-
getIntervalString
Description copied from interface:IPeriodString representation of the DefaultPeriod including thestart dateand theend date.- Specified by:
getIntervalStringin interfaceIPeriod- Returns:
- the
IPeriodString representation
-
getStartDate
Description copied from interface:IPeriodThe date when theIPeriodstarts.- Specified by:
getStartDatein interfaceIPeriod- Returns:
- the startDate
-
setEndDate
- Specified by:
setEndDatein interfaceIPeriod- Parameters:
endDate- the endDate to set- See Also:
IPeriod.getEndDate()
-
setStartDate
- Specified by:
setStartDatein interfaceIPeriod- Parameters:
startDate- the startDate to set- See Also:
IPeriod.getStartDate()
-