package user; import java.util.*; /** * The representation of a class, both for long-term roster data, and for short * term instances of presentations. */ public class EClass { /** * User that owns this EClass, has full executive controll over the class. */ RegisteredUser instructor; /** * Roster of students registered in this EClass. */ Collection students; /** * Collection of users currently in an active presentation session. */ Collection particpants; /** * Null if there is no current activeSession, or a reference to said session * if not null. */ presentation.Presentation activeSession; /** * Name of this class, eg, "Gene Fisher's CPE 308 Class" */ String name; /** * Subject of this EClass. */ String subject; /** * Collection of all presentations given to this EClass. */ Collection presentations; /** * Collection of applicable permission for each user. */ Collection userPermissions; /** * Collection of default permissions for each UserLevel, used for having a * set of permissions for those without explicit UserPermissions's. */ Collection defaultPermissions; }