Interface CourseContainer

All Known Implementing Classes:
CourseList

public interface CourseContainer
Interface representing a container of courses
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines if the container contains a courses
    Get the list of child Course
    boolean
    Determines if the container contains courses
  • Method Details

    • getCourses

      Get the list of child Course
      Returns:
      the courses id in a List
    • containsCourse

      boolean containsCourse(String courseId)
      Determines if the container contains a courses
      Parameters:
      courseId - id of the Course to test
      Returns:
      true if the course exists
    • hasCourses

      boolean hasCourses()
      Determines if the container contains courses
      Returns:
      true if the container contains at least one course