10 likes | 147 Views
UML Diagram for Flash (Ah-Ah) Car Share System. {Abstract} Member +Member(pForename : String, pSurename : String, pEmail : String, pGender : Boolean, pTelNumber : String, pPostCode : String, pDOB : String, pSmoker : Boolean). -mForename : String -mSurename : String -mEmail : String
E N D
UML Diagram for Flash (Ah-Ah) Car Share System {Abstract} Member +Member(pForename : String, pSurename : String, pEmail : String, pGender : Boolean, pTelNumber : String, pPostCode : String, pDOB : String, pSmoker : Boolean) -mForename : String -mSurename : String -mEmail : String -mGender : Boolean -mTelNumber : String -mPostCode : String -mDOB : String -mSmoker : Boolean mL mMemberList mManager MemberOfferingLift +MemberOfferingLift(pForename : String, pSurename : String, pEmail : String, pGender : Boolean, pTelNumber : String, pPostCode : String, pDOB : String, pSmoker : Boolean, pDriving License : Boolean) MemberSeekingLift +MemberSeekingLift(pForename : String, pSurename : String, pEmail : String, pGender : Boolean, pTelNumber : String, pPostCode : String, pDOB : String, pSmoker : Boolean) Manager +startUp ( ) +shutDown ( ) +getMemberList ( ) : MemberList +getCarList ( ) : CarList +getJourneyList ( ) : JourneyList CarList +addCar(pCarID : int, pNewCar : Car) +deleteCar(pCarID : int) +getCar(pCarID : int) : Car +saveToFile ( ) +readFromFile ( ) +printMemberList ( ) CarShareGUI JourneyList +addJourney(pJourneyID : int, pNewJourney : Journey) +deleteJourney(pJourneyID : int) +getJourney(pJourneyID : int) : Journey +saveToFile ( ) +readFromFile ( ) +printMemberList ( ) +matchJourney (pJourneyID : int) MemberList +addMemberSeekingLift(pMemberID : int, pNewMember : MemberSeekingLift) +addMemberOfferingLift(pMemberID : int, pNewMember : MemberOfferingLift) +getMember(pMemberID : int) : Member +saveToFile ( ) +readFromFile ( ) +printMemberList ( ) -mDrivingLicence : Boolean MEMBER_FILE = “member.dat” CAR_FILE = “car.dat” JOURNEY_FILE = “journey.dat” -mJourneyMap : Map -mMemberMap : Map -mCarMap : Map mFindJourney jL mJourney mCar cL Journey +Journey(pTempMemberID : int, pStartPostcode : String, pEndPostcode : String, pFrequency : String, pDepartureTime : Time, pReturnTime : Time, pFlexibility : Time) Car +Car(pTempMemberID : int, pNoOfSeats : int, pMake : String, pModel : String, pRegNumber : String) -mTempMemberID : int -mNoOfSeats : int -mMake : String -mModel : String -mRegNumber : String -mTempMemberID : int -mStartPostcode : String -mEndPostcode : String -mFrequency : String -mDepartureTime : Time -mReturnTime : Time -mFlexibility : Time mJourneyList KEY Member Package Car Package Journey Package Main Package mCarList