Giter Club home page Giter Club logo

tdt4250_assignment3's Introduction

Assignment 3

The relevant mtl file can be found at:

no.tdt4250.assignment3.html/src/no/tdt4250/assignment3/main/departmentToHtmlGenerator.mtl

The relevant xmi file that it can generate html from can be found at: no.tdt4250.assignment1.model/model/Department.xmi

NOTE: the location of the xmi and ecore file depends on the "platform:" path of eclipse, so the path might have to be changed to fit your system. If the system can not find the ecore file based on the given .xmi then change line 5 in the xmi file to fit your path. The line looks like the one below.

    xmlns:no.tdt4250.assignment1.model="platform:/resource/no.tdt4250.assignment1.model/model/courceList.ecore"

Changes made to assignment 1

The .xmi file had error to show that the validation worked. This was removed so that the .mtl file could build the html, but this quick fix meant that it contains duplicate info.

NOTE: The duplicate info means that some files are generated more than once, and the overwritten info means that there are no hyperlinks to other files. The best file to look at for checking the validity of this assignment can be found at:

no.tdt4250.assignment3.html/target/DepartmentofComputerScience.html

After running the .mtl file if the target folder is used for output.

Assignment 1 parts

The ecore model that contains the model relevant for assignment 1 can be found in:

no.tdt4250.assignment1.model/model/courceList.ecore

Features that the model should be able to cover:

  • Courses mandatory/elective
    • Status can be O(obligatory), VA(elective), M2A(At least two in group) or other
    • Status can differ between studyprogrammes.
    • Status defines a constraint/validation that proibits certain combinations automatically
    • Course can be mandaroty for one specialization and elective for an other.
  • Master must contain a minimum of Higher level courses.
  • Containment relation.
  • Container relation.
  • Standard relation.
  • Recurcive relation.
  • Class attribute.
  • Enum.
  • Abstract class
  • Super class
  • Class derived attribute. Example: CourceSpecification name attribute
  • OCL defined getter/setter Example: CourceSpecification name attribute
  • OCL defined validation __Example: EvaluationForm: weightMustBeComplete __
  • Java defined validation.
  • 1 to 1 and 0 to many multiplicity.
  • .xmi file with test data.
  • Faculty owns courses.
  • Study programmes can change from year to year.
  • Courses can change from year to year.
  • Courses can be taught either at spring, autumn or both.
  • Programmes can be of bachlor, master, phd, etc..

Note: The department.xmi file contains invalid information as the test data is not complete. It is still usefull for testing the system.

tdt4250_assignment3's People

Contributors

eldarht avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.