UML教材2University Case DesignWord文档格式.docx

上传人:b****6 文档编号:8351654 上传时间:2023-05-11 格式:DOCX 页数:15 大小:628.41KB
下载 相关 举报
UML教材2University Case DesignWord文档格式.docx_第1页
第1页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第2页
第2页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第3页
第3页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第4页
第4页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第5页
第5页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第6页
第6页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第7页
第7页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第8页
第8页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第9页
第9页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第10页
第10页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第11页
第11页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第12页
第12页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第13页
第13页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第14页
第14页 / 共15页
UML教材2University Case DesignWord文档格式.docx_第15页
第15页 / 共15页
亲,该文档总共15页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

UML教材2University Case DesignWord文档格式.docx

《UML教材2University Case DesignWord文档格式.docx》由会员分享,可在线阅读,更多相关《UML教材2University Case DesignWord文档格式.docx(15页珍藏版)》请在冰点文库上搜索。

UML教材2University Case DesignWord文档格式.docx

3.Specifythesignatureandthealgorithmforeachoperation(Chapter9)

CompleteSpecificationofAttributesandOperations–PublicUniversity

Student

Attributes

-studentIdentifier:

int

-name:

String

-gpa:

double

Operations

+inGoodStanding():

boolean

+associateSection(section:

Section)

Professor

-professorIdentifier:

None

Registration

System

+enterStudentIdentifier(studentIdentifier:

int):

Student

+requestSection(departmentCode:

String,courseNumber:

int,

sectionNumber:

int)

+endSectionRequests()

+enterDepartmentClassSchedule(departmentCode:

String,

term:

int,year:

+enterSection(courseNumber:

int,

maximumNumberOfStudents:

int,meetingTime:

meetingPlace:

String,professorIdentifier:

String)

+endSectionEntries()

+verifyDepartmentCode(departmentCode:

String):

boolean

+verifyStudentIdentifier(studentIdentifier:

Department

-departmentCode:

+verifyCourseNumber(courseNumber:

+verifySection(courseNumber:

int,sectionNumber:

+makeDepartmentClassSchedule(term:

int)

+enroll(student:

Student,courseNumber:

+makeSection(courseNumber:

int,sectionNumber:

int,meetingTime:

String,

String)

+associateDepartmentClassSchedule

(departmentClassSchedule:

DepartmentClassSchedule)

+verifyProfessor(professorIdentifier):

DepartmentClass

Schedule

-term:

-year:

int,:

String,professor:

Professor)

+enroll(section:

Section,student:

Student):

Section)

CompleteSpecificationofAttributesandOperations–PublicUniversity(Cont.)

Section

(subclassofCourse)

-sectionNumber:

-maximumNumberOfStudents:

-meetingTime:

-meetingPlace:

+associateStudent(student:

+associateProfessor(professor:

Professor):

Course

-courseNumber:

-title:

4.Designthegraphicaluserinterface(Chapter11)

A.EnterDepartmentSchedule:

B.RegisterforClasses:

5.Definetheinterfacetothepresentationlayer(Chapter12)

A.RegisterforClasses(StudentView):

B.RegisterforClasses(ComputerView):

6.Definetheinterfacetothestoragelayer(Chapter10)

A.DatabaseInterfaceClass:

B.ClassDiagramwithDatabaseInterface:

C.SQLTables(Optional):

DBMSTableDefinitions–PublicUniversity

Table

Data

COURSE

COURSE_NUMBER(INTEGER)-PrimaryKey

TITLE(VARCHAR(40))

UNITS(INTEGER)

DEPARTMENT_CODE(VARCHAR(03))-PrimaryKey,

ForeignKey

DEPARTMENT

DEPARTMENT_CODE(VARCHAR(03))-PrimaryKey

NAME(VARCHAR(40))

PROFESSOR

PROFESSOR_IDENTIFIER(INTEGER)-PrimaryKey

NAME(VARCHAR(40))

SECTION

DEPARTMENT_CODE(VARCHAR(03))–PrimaryKey,

ForeignKey

COURSE_NUMBER(INTEGER)–PrimaryKey,ForeignKey

SECTION_NUMBER(INTEGER)-PrimaryKey

TERM(INTEGER)–PrimaryKey,ForeignKey

YEAR(INTEGER)–PrimaryKey,ForeignKey

MEETING_TIME(VARCHAR(20))

MEETING_PLACE(VARCHAR(40))

MAXIMUM_NUMBER_OF_STUDENTS(INTEGER)

PROFESSOR_IDENTIFIER(INTEGER)-ForeignKey

STUDENT

STUDENT_IDENTIFIER(INTEGER)–PrimaryKey

NAME(VARCHAR)

ADDRESS(VARCHAR(40))

GPA(DECIMAL(3,2))

STUDENT_SECTION

STUDENT_IDENTIFIER(INTEGER)–PrimaryKey,

SECTION_NUMBER(INTEGER)–PrimaryKey,ForeignKey

7.Placetheclassesinpackages(Chapter8)

Omittedinthiscourse,howevertheyarepresentedforusebytheinstructor.Usingthethree-tierarchitectureofpresentationlayer(view),applicationlayer(model),andpersistencelayer,threepackagesaredesigned—oneforeachlayer.Theyare“UniversityView,”“UniversityModel,”and“UniversityPersistence.”

A.Package“UniversityView”(13ViewClasses):

AppletRegistrationSystem(Applet)

ScreenSubmitDepartmentClassSchedule(Event1)

ScreenEnterDepartmentClassSchedule

ScreenEnterSection

ScreenEndSectionEntries

ScreenProduceUniversityClassSchedule(Event2)

ScreenSubmitStudentRequest(Event3)

ScreenEnterStudentIdentifier

ScreenRequestSection

ScreenEndSectionRequests

ProduceClassList

ScreenProduceClassRoster(Event4)

ScreenRequestClassRoster

ScreenDisplayClassRoster

B.Package“UniversityModel”(7ModelClasses):

RegistrationSystem(Facade)

DepartmentClassSchedule

Section

C.Package“UniversityPersistence”(1PersistenceClass):

RegistrationSystemDBMS

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 初中教育 > 英语

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2