org.cpsolver.studentsct.report

## Class AbstractStudentSectioningReport.CourseMatcher

- java.lang.Object
- - org.cpsolver.studentsct.report.AbstractStudentSectioningReport.CourseMatcher

- All Implemented Interfaces:
    Query.TermMatcher
  Enclosing class:
    AbstractStudentSectioningReport

      public static class AbstractStudentSectioningReport.CourseMatcher
      extends Object
      implements Query.TermMatcher

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CourseMatcher(Course course)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Course` | `course()`
    `boolean` | `match(String attr, String term)` Does the object has the given attribute matching the given term?

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CourseMatcher

          public CourseMatcher(Course course)

  - ### Method Detail

    - #### course

          public Course course()

    - #### match

          public boolean match(String attr,
                               String term)

      Description copied from interface: `Query.TermMatcher`
      Does the object has the given attribute matching the given term? For example, for a student, major:M1 would match a student that has major M1 (attribute is major, term is M1).
      Specified by:
        `match` in interface `Query.TermMatcher`