(******
 * This file defines objects and operation related to Importing from SIS
 *
 * See section 2.4.5 of the Milestone 4 requirements.
 *
 *)

(* Objects for creating an Import *)
module Import;
from Gradesheet import Name, ID, GradeSheet;
obj ImportInfo is 
  components: SISinfo and GradeSheet and Username and Password and ServerName;
  description:(*The ImportInfo is a container that holds all the Import 
  information needed to setup the GradeSheet*);
  
end ImportInfo;

obj Username is string;
obj Password is string;
obj ServerName is string;

obj SISinfo is 
  components: Name and ID;
  description: (*SISinfo is the raw data file recieved from SIS.*);
  
end SISinfo;

(* Objects for operations while Importing from SIS. *)

op Import(SISinfo, Username, Password, GradeSheet) -> GradeSheet;
end Import;