您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > Assignment-1-Solution
Task1(3marks)Developtheinitialbusinessglossary(ofaboutadozenterms)fortheAPsystem.Task1Answer:Task2(3marks)DevelopausecasemodelfortheAPsystem.Yourmodelshouldidentifyabouttenusecases.DistinguishProvideWebAccessasoneoftheusecases.Showthemostimportantrelationships,including(ifapplicable)extendandincluderelationships.Makethedistinctionbetweenboth-directionalanduni-directionalassociations,whenappropriate.Usegeneralizationsanddependencyrelationships(inparticularwithregardtoactors).Describethemeaningofthemodel,includinganyassumptionsyouhavemade,intextunderthediagram.Task2Answer:TermDefinitionAcademicPayroll(AP)systemAsoftwaresystemusedtoissuepaymentstoacademicstaff.Full-timeacademicstaffApersonemployedinafull-timecapacitywiththeUniversitytoperformacademicduties.CasualacademicstaffApersonemployedinanasneededbasiswiththeUniversitytoperformacademicduties.leaveTimespentawayfromtheUniversityinaperiodthatwouldnormallybeconsiderednormalworkinghours.AnnualleaveYearlyentitlementoffourweeksleaveLong-serviceleaveEntitlementofsixmonthsleaveformembersofstaffemployedformorethantenyears.leavebalancesEmployeesremainingleaveentitlementContractualacademicstaffSeecasualacademicstaffcontractAnagreementbetweentheUniversityandacasualacademictoperformteachingdutiestobepaidanhourlyrate.paymentsMoneypaidtoemployeesinreturnforwork.sickleaveEntitlementofleavebasedonanemployee’shealthstatusWindowsAgraphicaluserinterfacedesktopinterfaceAclientprogramrunonanemployee’sdesktopcomputerweb-basedaccessAclientprogramrunwithinabrowseronanemployee’sdesktopcomputerbrowserAprogramusedforbrowsingtheworld-wide-webThemodelconsistsoftenusecasesofinteresttofiveactors(asFull-timeAcademicandCasualAcademicaremerelysubclassesofAcademic).ThemainactorisPersonnel(i.e.employeesinthePersonnelDepartment).Actorswhichareclearly“externalentities”includeContractManagement,BankSystem,andMailOffice.Full-timeAcademicinteractsdirectlywithProvideWebAccess.CasualAcademichasauni-directionalassociationtoManageTimecards.Anyacademic(signifiedbyAcademic)mayhaveadependencyrelationshiptoMailOfficeand/orBankSystem.AcentralusecaseisGeneratePayment.ThisusecasecanbeextendedbyManageTimecardsandGeneratePaySlip(forthebenefitofCasualEmployee).ItcanalsobeextendedbyGeneratePaycheck(forMailOffice)andMakeBankDeposit(forBankSystem).PersonnelcommunicateswiththreeprincipalfunctionsoftheAPsystem–GeneratePayment,ManageLeave,andManageEmployee.Thesethreeusecasesproducedata,storedintheAPdatabase,whichprovidesmaindatainputtoProvideWebAccess.However,wedecidednottoclutterthemodelbyshowingrelevantassociationsbetweenthesefourusecases.Instead,themodelmakesonlyexplicittheinclusionofModifyPersonalDetailsandModifyPaymentMethodinProvideWebAccess.Finally,notealsoauni-directionalassociationfromGeneratePaymenttoModifyPaymentMethod.ContractsManagementAcademicModifyPersonalDetailsModifyPaymentMethodFull-timeAcademicManageLeaveGeneratePaymentProvideWebAccessManageEmployeeextendGeneratePaySlipextendMakeBankDepositBankSystemCasualAcademicManageTimecardsextendGeneratePaycheckMailOfficePersonnelincludeincludeextendextendTask3(3marks)Developanentityclassdiagram(i.e.entityclassesonly)forAP.Yourmodelshouldidentifyabouttenentityclasses.Showsomesignificantattributesinclasses(specifybothattributesnamesandJavatypes).Specifyrelationshipsbetweenclasses.Usegeneralizationandaggregation,ifapplicable.Consideruni-directionalassociations.Describethemeaningofthemodel,includinganyassumptionsyouhavemade,intextunderthediagram.Task3Answer:Themodelconsistsofnineclasses,althoughthetenthclass(PaymentMethod)isdirectlyreferredtointhePaymentclassandcouldbeaddedatwill.AnAcademiccontainsPaymentobjects.TherewillbemanyPaymentobjectsovertimeforeachAcademic.EachPaymentobjectreferstoexactlyonePayPeriod.Similarly,eachTimecardobjectreferstoexactlyonePayPeriodAnAcademiccanbeeitherFull-timeAcademicorCasualAcademic.Full-timeAcademicholdssalaryandtaxinformationnecessarytocomputePayment.ItalsocontainsaLeaveobjectthatstoresleavebalances.CasualAcademiccontainsTimecardandContractobjects.Timecardstoreshoursworkedperpayperiod,whichcanbecomputedfromTimecardEntryobjects.EachCasualAcademicobjectstoresinformationiftaxshouldbedeductedandwhatisthemeansofpaymentnotification(mailoremail).Academicname:Stringaddress:StringphoneNumber:StringLeaveannualLeaveBalance:intlongServiceLeaveBalance:intFull-timeAcademicannualSalary:floatyearToDateSalary:floatyearToDateTax:float11PaymentgrossAmount:floattax:floatpaymentMethod:PaymentMethodnextPayDate:Date0..n0..nContracthourlyRate:intPayPeriodstartDate:DateendDate:Date11CasualAcademictaxDeduction:BooleanpaymentNotification:String0..n0..nTimecardEntryday:Datehours:int10..n10..nTimecardhoursPerPeriod:int110..n0..n0..n0..nTask4(3marks)Writeausecasedocumentfortheusecase“ModifyPaymentMethod”.Pleaserefertotheexampleinthebookandspecifytheusecasename,briefdescription,flowofevents(bothbasicflowandalternativeflows),specialrequirements,preconditions,postconditions,andextensionpoints.Task4Answer:UseCaseSpecification
本文标题:Assignment-1-Solution
链接地址:https://www.777doc.com/doc-4414027 .html