Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 1.65 KB

File metadata and controls

46 lines (42 loc) · 1.65 KB

List of changelogs

Starting version: 2PM Apr 4

  • Importing files as shown.

Update 1: 4PM Apr 4

  • The teacher changes the set file. Update completed.

Update 2: 7.40 PM Apr 4

  1. The PC class is completed.
  2. However, we aren't sure about the following: In the @DomainConstraint comment, is it type = "Integer" ot type = "int"?
  3. Simillarly, do we need to add other attributes, such as min, max, length?

Update 3: 9:10 PM Apr 4

  • The PCFactory class is a singleton, so there's only 1 line: create a PC object. However, we're tasked with creating multiple PC. So, a for loop? (Ask the teacher)

Update 4: 10PM Apr 5

  • Tut 8 and 9 deals with PC class.
  • For the PC Fac class, this is where we asked the user input.
  • DO NOT use
import java.util.Scanner
"and"
Scanner console = new Scanner (System.in)

Update 5: 12PM Apr 6

  • This warning exists: image

Update 7: 12:30 PM Apr 6

  • Apprenatly, the fix for the whole Set scandal is from this:
@DOpt(type = OptType.Observer) @AttrRef("comps")
    public Set getComps(){
        return this.comps;
    }
  • To this
@DOpt(type = OptType.Observer) @AttrRef("comps")
    public Set<PC> getComps(){
        return this.comps;
    }

Tracking table for changelogs

Update number Issue number Status Description of problems
2 2 Semi-fixed -----------------------
Content Cell Content Cell ------ -----------------------