Association teaches and add the multiplicity

This preview shows page 11 - 13 out of 14 pages.

association "teaches" and add the multiplicity constraints (1) near Instructor and (0..1) near Course. 4.3 List of Classes with Definitions, Attributes, and Operations <Insert an alphabetical list of classes with a brief definition of each class, attributes, operations, and requirement number from the I T Online Training Project Requirements 2018 document. Remember that class names are nouns or noun phrases. To define a class, complete the phrase “A className is a ...”. Additional information can then be added. Attributes are properties of a class like "customerID" and begin with a lowercase letter. Operations are actions that a class can perform and begin with a lower case letter followed by parentheses (). We can create a new instance of a class (Create), delete an instance of a class (remove), get ( read) values of the attribute, or set (change) values of the attribute. See the examples in the table below. The examples below include all of the getter/setter methods for the attributes. You do not need to include them in this assignment, but for Assignment 2 when you create your class diagram, you can use the features of our CASE to so that the getter/setter methods will automatically be added . For now you can use a high level modify() and read() to represent the getter/setter methods. Later In design these will be modified depending on the technology used. During analysis we want to be independent of technology as much as possible.> Classes, Attributes, Operations, Requirement Class Name Class Definition Attributes Operations Customer A Customer is a person or organization where an Account exists for the purpose of accessing ITOT products. customerID: string firstName: string lastName: string address: string workPhone:string cellPhone: string createCustomer() getCustomerID() setCustomerID(customerID) getFirstName() setFirstName(firstName) getAddress() setAddress(address) getWorkPhone() setWorkPhone(workPhone) getCellPhone() setCellPhone(cellPhone) removeCustomer(customerID ) REQF2.1 ScheduledCourse A ScheduledCours courseNumber: string title: string createScheduledCourse() get CourseNumber() REQF3.1 Analysis Specification 2018R2 Page 11
Class Name Class Definition Attributes Operations e is a course offered by ITOT at a specific date and time. description: string type: string duration: number startDate: string endDate: string prerequisites: string ceuCredits: number fee: number set CourseNumber(courseNu mber) getTitle() setTitle(title) getDescription() setDescription(description) getType() setType(type) getDuration() setDuration(duration) getStartDate() setStartDate(startDate) getEndDate() setEndDate(endDate) getPrerequisites() setPrerequisites(prrequisites) getCeuCredits() setCeuCredits(ceuCredits) getFee() setFee(fee) RemoveScheduledCourse(co urseNumber) User A User is a person who has credentials to access the ITOT system username:string password: string login(username, password) logout() getUsername() setUsername(username) REQF9.1 4.3.1 List of Classes, Attributes, Operations, and Requirement Number Discussion The classes that are provides area semi bases on the topic of IT online training and will include things such as IT online training, courses, training, books, online shopping cart, course administrators, IT support, user accounts, and different online services.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture