public class SubstitutionScheduleDayDiff extends Object implements Cloneable
SubstitutionScheduleDays.| Constructor and Description |
|---|
SubstitutionScheduleDayDiff() |
public static SubstitutionScheduleDayDiff compare(SubstitutionScheduleDay a, SubstitutionScheduleDay b)
public org.joda.time.LocalDate getDate()
public void setDate(org.joda.time.LocalDate date)
public String getDateString()
public void setDateString(String dateString)
public Set<Substitution> getNewSubstitutions()
public void setNewSubstitutions(Set<Substitution> newSubstitutions)
public Set<SubstitutionDiff> getEditedSubstitutions()
public void setEditedSubstitutions(Set<SubstitutionDiff> editedSubstitutions)
public Set<Substitution> getRemovedSubstitutions()
public void setRemovedSubstitutions(Set<Substitution> removedSubstitutions)
public List<String> getNewMessages()
public List<String> getRemovedMessages()
public boolean isNotEmpty()
public Set<Substitution> getNewSubstitutionsByClassAndExcludedSubject(String theClass, Set<String> excludedSubjects)
public Set<Substitution> getRemovedSubstitutionsByClassAndExcludedSubject(String theClass, Set<String> excludedSubjects)
public Set<SubstitutionDiff> getEditedSubstitutionsByClassAndExcludedSubject(String theClass, Set<String> excludedSubjects)
public Set<Substitution> getNewSubstitutionsByTeacherAndExcludedSubject(String teacher, Set<String> excludedSubjects)
public Set<Substitution> getRemovedSubstitutionsByTeacherAndExcludedSubject(String teacher, Set<String> excludedSubjects)
public Set<SubstitutionDiff> getEditedSubstitutionsByTeacherAndExcludedSubject(String teacher, Set<String> excludedSubjects)
public SubstitutionScheduleDayDiff clone()