Sunday, March 31, 2019

Use Case: An Analysis

drop effect An Analysis conk CaseA use case plat ties the units of turnality of the organisation as easy as the fleckors capable of carrying out these functions. An actor is a psyche deep down the system indispensable to carry out a particular function. A function is depicted by an oval text box and is referred to as a use case as swell up, use case in this price meaning unit of functionality. A habit Case plot is a compilation of work Cases to form a system.thither ar iv actors at heart the MPP system. This does not suggest that only intravenous feeding literal concourse argon liable for operating the entire system. An actor is a sort of a person. In essence an actor refers to something general much(prenominal) as a job title as in this example the four actors be deposit, HR four-in-hand, comptroller and provide constituent. This use case diagram suggests that the circleification of actors are amenable for the duties they are connected to. As muc h(prenominal) tot eachy persons holding that job title will be undeniable to fulfil the duties depicted.The duties or use cases are explain further as use case specifications and the actors are expand as classes in occupation dickens. practice Case Specifications snatch UC0001 cook defecate EmployeeActors escritoire, HR motorbus conclusionTo loan a new-fashioned instalment of staff riding habit Case RelationshipsExtend embroil sleepersSecretary, HR handler generalization explanation listActor lawsuit1Secretary gives process a form2 extremity fills form an returns it to secretary3HR four-in-hand reviews form and approves employee4Secretary notifies employee5HR tutor confirms detailsAlternatives forceActor faceA 1/1Person Not ApprovedA 1/1.1HR film director disapproves personA 1/1.2Secretary notifies personA 1/2Invalid DataA 1/2.1Person confirms info invalidA 1/2.2HR animal trainer edits detailsA 1/2.3Person confirms detailsThis use case specification explains the subprogram to be undertaken when adding a new element of staff to the MPP payroll. This process involves twain the HR manager and the secretary in terms of the system. The secretary initially distri yetes a form to the potential difference employee to fill deep down which the appli tail assemblyts capabilitys and come home entropy is unploughed on file. The details mentioned at heart the specification encompass all the personal schooling of the appli give the bouncet inclusive of mop up schooling as well as personal details.This discipline is then sent to the HR manager to review where a last is make to approve the employee for an interview. This decision dictates whether the secretary pinch the applicant to inform them of an upcoming interview or to inform them that their application has been rejected. The assumption here is that MPP only hires phalluss of the troupe to perform staff instalments. turn of events UC0002 adduce pass water a constituentActorsSecret aryGoal To add a new extremity to the MPP societyexercising Case RelationshipsExtendInclude companionshipsSecretary cause an Election expectation Create a extremity of Parliament Create a regional congregation class stimulus generalisationverbal description powerActor accompaniment1Person requests membership2Secretary creates new member say3Secretary confirms persons details to be accurate4 particle is added to membership leaningAlternatives index fingerActor EventA 2/1In even DetailsA 2/1.1Secretary enters incorrect detailsA 2/1.2Secretary edits detailsA 2/1.3Person confirms detailsThis use case specification depicts how a new member of MPP is added to the system. There is an estimated fifty thousand members of the companionship whom which information is needed to be stored as they are relied on during pick measure when the party is campaigning for election. The governmental party most probably doesnt tell apart the right of membership by both one person. Seeing t hat not much clerical data needs to be manipulated the secretary is to the adequate capable of adding a member to the party.The process begins as a person requests membership to the party. The secretary then enters the members personal information especially their contact information as apt(p) by the applicant. Once the member confirms the information to be accurate the record is saved and thereby added to the membership list of MPP. scrap UC0003 summonsCreate an Election Candi particular dateActors module sectionGoal To add a new Election CandidateUse Case RelationshipsExtendCreate a phallusIncludeAssociations triggerDescription tycoonActor Event1 provide fraction elects Member to beat aspect2 round Member contacts Member3Member confirms4 staff Member adds member to short list5 ply Member changes member stupefy to ECAlternativesIndexActor EventA 3/1Member DisapprovesA 3/1.1 module Member elects an early(a) Member to sour nomineeThis system assumes that only existing mem bers of the party are elected to become election candidates for a particular seat. A member therefore can be categorize as an election candidate once their micturate has been added to a rate, which is a list of potential election candidates for a particular area.Using this assumption a member military post classification was created within the member file an as such a member may bewilder many classifications ranging from proffer equal as VOL and election candidate represented as EC.Once an election candidate wins an election for a post they may be contending their slur will be changed to Member of Parliament or regional Assembly Member respectively as will be discovered. consider UC0004 remarkCreate a Member of ParliamentActorsStaff MemberGoal To add a new Member of ParliamentUse Case RelationshipsExtendCreate a MemberIncludeAssociationsgeneralisationDescriptionIndexActor Event1Candidate is voted member of parliament2Staff Member changes member position to MOPAlternativesI ndexActor EventA 4/1Member Looses ElectionA 4/1.4Staff Member changes Member position to VOLNumber UC0005 call downCreate a countryal Assembly MemberActorsStaff MemberGoal To add a new Regional Assembly MemberUse Case RelationshipsExtendCreate a MemberIncludeAssociations stimulus generalizationDescriptionIndexActor Event1Candidate is voted Regional Assembly Member2Staff Member changes member position to crashAlternativesIndexActor EventA 4/1Member Looses ElectionA 4/1.4Staff Member changes Member position to VOLBoth the Create a member of parliament and Create a regional assembly member use cases rely on the Create a member use case. Once a member looses an election his position within the party is reassigned to a volunteer.Number UC0006 anticipate amplify Member to shortlistActorsStaff MemberGoal To add a Member to a shortlistUse Case RelationshipsExtendIncludeAssociationsGeneralisationDescriptionIndexActor Event1Member approves to become a candidate2Staff Member adds member deta ils to shortlist3Staff Member changes Member position to ECAlternativesIndexActor EventA 4/1Member Steps DownA 4/1.1Member notifies Staff MemberA 4/1.2Staff Member removes member from shortlistA 4/1.3Staff Member edits Member positionA staff member is responsible for adding a member to the shortlist thereby creating an election candidate. The shortlist is a record of potential election candidates of the MPP. alter of the shortlist is as simple as editing a table. A staff member is responsible for this responsibility.This use cases is used in conjunctive with the Create an election candidate use case within which adding a member to a shortlist is referred to. Once a member agrees to become an election candidate their personal information is added to a list of potential candidates for a particular seat within a respective area.Number UC0007 styleContact MembersActorsStaff Member, SecretaryGoal To contact members of the partyUse Case RelationshipsExtendIncludeAssociationsGeneralisati onDescriptionIndexActor Event1Staff Member/Secretary queries member details2Secretary/Staff Member contacts MemberAlternativesIndexActor EventA 7/1Contact unobtainableA 7/1.1Contact unavailable at given contactA 7/1.2Use another form of contact given by the memberThis use case the procedure to be undertaken when contacting a member of the party. As shown, only full time workers and secretaries contact members. There are many uses of this unit of functionality beyond the boundry of this system. The political party requires that commensurate contact information is stored on item-by-itemly member as unmarried members are relied on during the campaigning process to organise meetings and assist with advertisement.The contact information that is stored on an individualistic member of the party complicates a telephone contact, home mailing address and netmail address. The staff members as well as the secretary therefore have three options in which to hold when contacting a member .Number UC0008Name exhibit IncomeActorsStaff MemberGoal To record income generated by MPPUse Case RelationshipsExtendIncludeAssociationsGeneralisationDescriptionIndexActor Event1Staff Member records Invoice Number2Staff Member records income Details3Staff Member records the ID number4Staff Member records the essence5Staff Member records the date generatedAlternativesIndexActor EventA 8/1Incorrect volumeA 8/1.1Income is recorded incorrectlyA 8/1.2Staff Member confirms details with InvoiceA 8/1.2Staff Member edits detailsThe member of the party responsible for recording income will be a full time employee of the party. Since there are some(prenominal) exponents apiece of which generate individual incomes there must be persons within each regional attitude to account for funds the party may receive, either by subscriptions current or from other sources such as donations from persons interested in reenforcement the party and its objectives.The person receiving income distributes an invoice by dint of which a record is kept of individual wagess to the party. This invoice must contain all the information needed on the transaction such as what the payment was for, whether it is a subscription or donation. The invoice as well as contains who made the payment, how much bills was paid to MPP and what date was the payment made.In the instance of a donation a record is kept of the donor personal information so they are kept on record an assigned a donor identification number. This is to moderate full accountability of the finances reaching the party. This donor number is entered into the ID Number field in the income table.Where a member pays their annual subscription to the party their member ID is stored within the equivalent field. This ensures accountability for the transaction as well as a record of the subscription accredited for that individual member.Number UC0009NameRecord useActorsStaff MemberGoal To record cost fuck offred by MPPUse Case Relat ionshipsExtendIncludeAssociationsGeneralisationDescriptionIndexActor Event1Staff Member records Receipt Number2Staff Member records expenditure Details3Staff Member records the ID number4Staff Member records the Amount5Staff Member records the date driveredAlternativesIndexActor EventA 9/1Incorrect RecordA 9/1.1 outgo is recorded incorrectlyA 9/1.2Staff Member confirms details with receiptA 9/1.3Staff Member edits details in force(p) time employees are similarly responsible for recording the expenditure incurred by the party. The operation of any political party requires a host of expenses in which to organise and manage the party kosherly. The individual forces of the party will incur expenses for each powerfulness it says.The main expenses that must be accounted for include payment of rent for the various uses that the party operates. Salaries must also be accounted for as MPP employs over a hundred individuals which accounts for a major portion of the partys expenditure. A major part of any election campaign is advertising which as for MPP includes television advertising as well as leaflets that need to be distributed by the partys members. Along with these major expenditures the party may also incur miscellaneous expenses in pose to keep the offices running such as telephone bills and mailing expenses, all of these are classified as assorted expenses.Whenever any expenditure is incurred all pass on given to the party is filed and documented. These receipts are used to document all the expenditure incurred by the party as the amount, dates and to whom payments are made are documented on the receipt. each office, member and advertiser are assigned an ID number so that a level of accountability can be maintained as to whom payments are made.Number UC0010NameGenerate fiscal nameActorsStaff Member, accountantGoal To generate a fiscal incubate for each officeUse Case RelationshipsExtendIncludeAssociationsGeneralisationDescriptionIndexActor Event1Staf f Member/Accountant selects Financial Report table2Staff Member/Accountant cross Financial ReportAlternativesIndexActor EventA 10/1Incorrect Report PrintedA 10/1.1User selects correct reportA 10/1.2User prints correct report apiece regional office is anticipate to produce a fiscal report to account for its activities. This will make for easier planning and budgeting by the national officers responsible for this such as the accounts department of the party. Therefore both party members as well as the national accountant can generate a financial report.To ensure the legitimacy of the financial reports the political party is expected to employ an internal as well as external meeter that examines the financial reports and compares them to the income and expenditure of the party.The financial report entails the total income generated as well as the total expenditure incurred for a particular office. These s can be used to determine the General Reserve available for living the partys activities.Activity DiagramsAn Activity Diagram the logical flow of data within a particular use case. The following diagrams show the Create a Member use case but in two disparate activity diagram formats. The first diagram simply the logical order in a flow chart fashion. The second diagram the same use case with the implication of swim lanes. assort DiagramClass diagrams are used to identify the objects of the system and show how they relate to each other and their attributes. The class diagram used to analyse the objects associated with the MPP and depict their family relationships with each other.Everything is related to each other through the MPP class. It is an empty class but is there to show that the generalisation relationship exists among the Regional bureau and Head business office Class and the MPP class. Most other relationships within this diagram are generalisation relationships depicted by the empty arrow head. This diagram is incorporated in a hierarchal form at.A generalisation relationship allows the subclasses of any parent class to inherit the properties of the parent class. This feature is also show in the diagram by the empty boxes within the Secretary, Staff Member, Accountant and HR Manager classes. This does not suggest that these classes dont have any attributes but that they inherit the attributes of their parent class.The other relationships depicted is the relationship mingled with the Staff Member class and the Income, Expenditures and Financial Report classes, and between the Accountant class and the Financial Report class. These relationships show an association relationship as the classes interact with each other on some level of their functionality.The individual classes are explained in detail within their respective CRC card.CRC CardsA tool used to document the purpose and capability of a class is the CRC card. CRC stand for Class-Responsibility-Collaboration, as will be discovered, is exactly what the cards depict a long with several other features of the class. The CRC cards represented in this section depict the classes identifies in the MPP system and show how they relate to each other.Name Regional authorisationID1case coverDescriptionA MPP office representing a region of ContentedlandAssociated Use Cases Record ExpenditureResponsibilitiesCollaborators wax era EmployeeEmployee AttributesRelationships view IDGeneralisation MPP(super class)RegionMember (subclass) summariseress sponsor (subclass)Monthly RentEmployee (subclass) collectionOther Association in full time EmployeeExpenditureThe regional office class is a subset of the MPP as a whole. There are several regional offices namely Northland, Southland, Eastland, Westland and Central. Each office will possess the same characteristics as the other and as such are represented by a single regional office class within the class diagram.Distinction between classes is possible through the attributes of the class utilised and as such can be uniquely identified. The assumption made is that the entire system is divided into regions and as such all corresponding members and records are also presented in that regional office category.Name MemberID 2Type swindleDescriptionA Member of MPPAssociated Use Cases Create Member, Create an Election Candidate, Create a Member of Parliament, Create a Regional Assembly MemberResponsibilitiesCollaboratorsFull Time EmployeeIncome AttributesRelationshipsMember IDAddressGeneralisation Regional office(concrete class)Last Name email collectionFirst NameOfficeOther Association Full Time EmployeeTitleCountySecretaryDate-of-BirthPosition resoundThe member class comprises all the attributes of all the members of MPP. The assumption is that, regardless of hierarchal qualification all members of the party share common attributes and inevitably are all members of the party. This assumption gives way for the position attribute within the member class.A member according to the party can be a volu nteer that assists the party in some way for no charge. Members are also election candidates who contend regional and national elections. The member doesnt change their genius only their position when they are elected and become either a Member of Parliament or a Regional Assembly Member.As such the member class depicts that it is associated with the creation of all members of the party as they relate to their appropriate use cases within the system.Sufficient contact information is stored on members of the party as they may need to be contacted during election time when the party wishes to implement a rigorous advertising campaign. The email contact of each member may be a serviceable attribute as it is more efficient to send a mount email to all members than to individually contact them.Name presenterID3Type AbstractDescriptionA person other than a member of MPP that donates to the partyAssociated Use Cases Record IncomeResponsibilitiesCollaboratorsFull Time EmployeeIncome Att ributesRelationshipsDonor IDTelephoneGeneralisation Regional Office(Abstract class)Last NameAddressAggregationFirst NameE-mailOther Association Full Time EmployeeTitleOfficeIncomeDate-of-BirthCountyIncome is earned through subscriptions as well as through donations. People who donate to the party does not necessarily have to be a member. A person whos interests are aligned with the policies of the party may choose to donate to their campaign in a try for that they may win the election.Information needs to be stored on such individuals to account for the sometimes large sums of money they may give to the political party. It is also useful where the party wishes to contact these members for one reason or the other.A Donor share similar attributes to members however as they are not members of the party they do not require a position field. However sufficient contact information is kept on these individuals so the party can always keep in touch with them.Name EmployeeID 4Type ConcreteD escriptionAn Employee of MPPAssociated Use Cases Create a Staff MemberResponsibilitiesCollaboratorsHR Manager AttributesRelationshipsEmployee IDTelephoneGeneralisationRegional Office(Abstract class)Last NameAddressSecretary(sub class)First NameE-mailStaff Member(sub class)TitleOfficeAggregationDate-of-BirthCountyOther Association HR ManagerPosition The political party hires full time employees to coordinate their activities. These employees are classified under each regional office and withdraw a salary from the party. Employees include Staff Members whose hierarchal classification is determined within each regional office as well as Secretaries who insure to each office of MPP.Name SecretaryID 5Type AbstractDescriptionAn Employee of MPPAssociated Use Cases Create a Member, Contact MemberResponsibilitiesCollaboratorsCreate a MemberMemberEdit MemberHR Manager scratch MemberStaff MemberContact MemberAttributesRelationshipsEmployee IDTelephoneGeneralisation Employee(Abstract class)Las t NameAddressAggregationFirst NameE-mailOther Association HR ManagerTitleOfficeMemberDate-of-BirthCountyStaff MemberPosition The Secretary of the party is responsibilities include contacting members as well as adding members to the party. However they can only maintain volunteer records. Staff Members are responsible for the management of the other members of the party.Name Staff MemberID 5Type ConcreteDescriptionAn Employee of MPPAssociated Use Cases Create Member, Contact Member, Add Member to Shortlist, Create an Election Candidate, Create a Regional Assembly Member, Create a Member of Parliament, Record Income, Record Expenditure, Generate Financial ReportResponsibilitiesCollaboratorsRecord IncomeHR ManagerRecord ExpenditureSecretaryGenerate Financial ReportAdd MemberEdit MemberDelete Member AttributesRelationshipsEmployee IDTelephoneGeneralisation Employee(Abstract class)Last NameAddressAggregationFirst NameE-mailOther Association IncomeTitleOfficeExpenditureDate-of-BirthCounty Financial ReportPositionHR ManagerSecretaryStaff members handle the brunt of the work within the party. Staff Members is a general term used to secernate all the full time party workers who are employed within the regional offices of the political party. Staff members include all the party workers represented for each county of Contentedland.The duties of these members function similarly to clerical duties within an office. These staff members are allocated duties within the office structure oven though each member is responsible for their respective county that they oversee.Name Head OfficeID 6Type ConcreteDescriptionThe Head Office of MPPAssociated Use Cases Record ExpenditureResponsibilitiesCollaborators national OfficerHR ManagerAccountant AttributesRelationshipsOffice IDGeneralisation MPP (super class)RegionNational Officer(subclass)AddressAggregationMonthly RentOther Association Staff MemberExpenditure The Head Office posses the same characteristics as a regional office and i t functions similarly as well. The difference between the head office and the regional office aside from its geography, is the employees that it houses.The assumption made is that the national officers within the head office function as managerial employees as would happen within a typical company. It should be structured in a way so that the ten national officers act as the managerial departments of the political party inclusive of the accounts department and the human race resource department used within this scenario.Name AccountantID 7Type AbstractDescriptionThe accountant responsible for the finances of MPPAssociated Use Cases Generate Financial ReportResponsibilitiesCollaboratorsFinancial ReportAttributesRelationshipsEmployee IDTelephoneGeneralisation National Officer(concrete class)Last NameAddressAggregationFirst NameE-mailOther Association Financial ReportTitleOfficeDate-of-BirthCountyPosition The accountant of the MPP is housed within the head office of the party. The acc ountant has the calling of managing the finances of MPP. The accountant is also responsible for generating the financial reports that are to be audited to produce a tax which the party must incur annually. This expenditure is classified as a sundry expense and must be accounted for within the finances of the party.The accountant is also responsible for ensure that proper control procedures are in place in terms of managing money the party receives. After all he is responsible for maintaining the integrity of the financial records and ensuring that they are in good standing with the laws of the country.Name HR ManagerID 8Type AbstractDescriptionThe HR Manager of MPPAssociated Use Cases Create a Staff MemberResponsibilitiesCollaboratorsAdd EmployeeEmployeeEdit EmployeeDelete Employee AttributesRelationshipsEmployee IDTelephoneGeneralisation National Officer(concrete class)Last NameAddressAggregationFirst NameE-mailOther Association EmployeeTitleOfficeAccountantDate-of-BirthCountyPosi tion In keeping with the assumption, the HR Manager is classified under the head office as this position is a managerial role. The human resource manager holds the same attributes as any other employee of MPP how ever his duties implicate him to be the one to manage the records of all the employees of the party.Name IncomeID 9Type AbstractDescriptionRevenue generated by MPPAssociated Use Cases Record IncomeResponsibilitiesCollaboratorsPrintStaff MemberDisplayAttributesRelationshipsInvoice NumberGeneralisationIncome DetailsAggregationID NumberOther Association Staff MemberAmountFinancial ReportDate GeneratedIncome is generated through two sources in the party. The attributes of income allow for any sort of income to be documented, whether it is a subscription received from a member or a donation given to the party. A staff member is responsible for recording income into the system. The summation of the income table is exported to the financial report to form the net income .Name Expe nditureID 10Type AbstractDescriptionExpenditure incurred by MPPAssociated Use Cases Record ExpenditureResponsibilitiesCollaboratorsPrintStaff MemberDisplayAttributesRelationshipsReceipt NumberGeneralisationExpenditure DetailsAggregationID NumberOther Association Staff MemberAmountFinancial ReportDate IncurredExpenditure is incurred from several means. A Staff Member is responsibl

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.