public class Configuration extends Object
Constructor and Description |
---|
Configuration(Long offeringId,
Long configId,
int limit) |
Modifier and Type | Method and Description |
---|---|
void |
addAltConfiguration(Configuration configuration) |
void |
addTopLecture(Lecture lecture) |
int |
countSubparts() |
boolean |
equals(Object o) |
List<Configuration> |
getAltConfigurations() |
Long |
getConfigId() |
int |
getLimit() |
Long |
getOfferingId() |
Set<Long> |
getSubpartIds() |
Map<Long,Set<Lecture>> |
getTopLectures() |
Set<Lecture> |
getTopLectures(Long subpartId) |
Set<Long> |
getTopSubpartIds() |
boolean |
hasConflict(Assignment<Lecture,Placement> assignment,
Student student) |
int |
hashCode() |
void |
setAltConfigurations(List<Configuration> altConfigurations) |
Set<Student> |
students() |
public Configuration(Long offeringId, Long configId, int limit)
public Long getOfferingId()
public Long getConfigId()
public void addTopLecture(Lecture lecture)
public Map<Long,Set<Lecture>> getTopLectures()
public Set<Long> getTopSubpartIds()
public Set<Lecture> getTopLectures(Long subpartId)
public void setAltConfigurations(List<Configuration> altConfigurations)
public void addAltConfiguration(Configuration configuration)
public List<Configuration> getAltConfigurations()
public boolean hasConflict(Assignment<Lecture,Placement> assignment, Student student)
public int getLimit()
public Set<Long> getSubpartIds()
public int countSubparts()