Professional Documents
Culture Documents
Credit Card UML Diagram
Credit Card UML Diagram
Credit Card UML Diagram
83
USECASE DIAGRAM
AIM
PROCEDURE:
STEP 1: Usecase diagram contains actors and relationship between actors and usecase in the system
including association, dependencies and generalization.
STEP 2: Usecase diagram is used during analysis to capture the system requirement.
STEP4: On the toolbar double click the Usecase diagram icon and place it over the screen.
STEP 6: Type the diagram title for each and click OK.
84
login
Allot
Due
User Admin
Pay
Signup
85
CLASS DIAGRAM
AIM:
PROCEDURE:
STEP 3: Click on new diagram on the left to create a new class diagram.
STEP 5: Create as many as class as possible and dependencies like association, eneralization
can be used.
86
Fig 3.2 Class diagram for Credit Card Processing System
87
SEQUENCE DIAGRAM
AIM:
PROCEDURE:
STEP 1: Right click on logical view on the left and select new option and click on sequence
diagram.
STEP 2: When sequence diagram is clicked the box with different style will be displayed.
88
User Database Admin
admin login
verify authentication
Allot card
User login
Verify authenticate
Get card
Check due
check due
pay due
user logout
Admin logout
89
COLLABORATION DIAGRAM
AIM:
PROCEDURE:
STEP 1: Open rational rose enterprise edition and right click on logical view.
STEP 4: Objects are represented using rectangle and object messages uses line symbol.
STEP 5: After the sequence diagram is designed, the F5 key is pressed to obtain the
collaboration diagram.
90
2: verify authentication
5: verify authentication
4: user login
8: check due
9: pay due
10: user logout
User Database
6: get card
1: admin login
3: allot card
7: check due
11: admin logout
Admin
91
STATE CHART DIAGRAM
AIM:
PROCEDURE:
STEP 2: Right click the logical view to open a new state chart diagram.
STEP 3: A new window with local tool boxes containing different styles appear for
STEP 4: The state is a set of value that describe an object at a specific point and is
Message.
92
login Allot check due Pay
Fig 3.5 State chart diagram for Credit Card Processing System
93
ACTIVITY DIAGRAM
AIM:
PROCCEDURE:
STEP 2: Right click on logical view and select the activity diagram.
STEP 3: A new window with different tools is opened to create a activity diagram.
STEP 4: Rounded rectangle represents state of project and diamond represents decision.
94
Login
Allot card
Check due
Make
payment
update
balance
Logout
95
COMPONENT DIAGRAM
AIM:
PROCEDURE:
STEP 1: Open the rational rose enterprise edition component diagram are used to model
physical aspects of system.
STEP 4: They describe the modeling component and source code of system.
96
Custome NewCom
r ponent2
Bank
97
DEPLOYMENT DIAGRAM
AIM:
PROCEDURE:
System.
STEP 3: They are used to describe the hardware topology of system and hardware
Components.
STEP 4: They are used to deploy software components and run time processing nodes.
98
Credit Card
processing system
Custom Bank
er
99
DEPARTMENT OF INFORMATION TECHNOLOGY
CBE-22
Nomenclature Max. Mark Marks
Obtained
Preparation 05
Output 05
Viva 05
Record 05
Total 20
Staff Sign
100
IMPLEMENTATION
101
Coding
Form2.Show()End Sub
Form3.Show()
End Sub
Form4.Show()
End Sub
End Class
102
Signup form
Dim drAsOdbc.OdbcDataReader
Dim bs As Integer
sql1 = "insert into SIGNUP2 values ('" & TextBox1.Text & "','" & TextBox2.Text & "','" &
TextBox3.Text & "')"
MsgBox(sql1)
conn.Open()
Try
dr = comm.ExecuteReader()
Catch ex As Exception
End Try
MsgBox("INSERTED SUCCESSFULLY")
conn.Close()
103
dr.Close()
comm.Dispose()
conn.Dispose()
End Sub
End Class
Signup form
Form5.Show()
End If
104
End Sub
End Class
User login
Dim drAsOdbc.OdbcDataReader
105
sql = "select*from signup2 where USERNAME='" & TextBox1.Text & "'and
PASSWORD='" & TextBox2.Text & "' "
conn.Open()
dr = comm.ExecuteReader()
count = 0
aid = aid + 1
If aid = 3 Then
Me.Hide()
End If
While dr.Read()
count = count + 1
End While
If count = 1 Then
Me.Hide()
Form6.Show()
Me.Hide()
Form3.Show()
Else
MessageBox.Show("invalid credentials")
End If
conn.Close()
106
dr.Close()
comm.Dispose()
conn.Dispose()
End Sub
End Class
User login
Admin form
FORM7.SHOW()
End Sub
form8.show()
107
End Sub
End Class
Admin form
User form
form9.show()
End Sub
End Class
108
User form
Allot form
Dim drAsOdbc.OdbcDataReader
Dim bs As Integer
sql1 = "insert into card values ('" & TextBox1.Text & "','" & TextBox2.Text & "','" &
TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & TextBox6.Text &
"','" & TextBox7.Text & "')"
MsgBox(sql1)
109
ConnectionString = "DSN=ADHARSH; UID=SCOTT; PWD=TIGER"
conn.Open()
Try
dr = comm.ExecuteReader()
Catch ex As Exception
End Try
MsgBox("INSERTED SUCCESSFULLY")
conn.Close()
dr.Close()
comm.Dispose()
conn.Dispose()
End Sub
End Class
110
Allot form
Due form
Dim drAsOdbc.OdbcDataReader
Dim bs As Integer
111
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
sql1 = "select due from card where CAR='" & TextBox1.Text & "' "
MsgBox(sql1)
conn.Open()
Try
dr = comm.ExecuteReader()
bs = dr.GetValue(0)
TextBox2.Text = bs
Catch ex As Exception
End Try
MsgBox("INSERTED SUCCESSFULLY")
conn.Close()
dr.Close()
comm.Dispose()
conn.Dispose()
End Sub
End Class
Due form
112
Pay form
Dim drAsOdbc.OdbcDataReader
Dim bs As Integer
sql1 = "select due from card where CAR='" & TextBox1.Text & "' "
MsgBox(sql1)
113
ConnectionString = "DSN=ADHARSH; UID=SCOTT; PWD=TIGER"
conn.Open()
Try
dr = comm.ExecuteReader()
bs = dr.GetValue(0)
TextBox2.Text = bs
Catch ex As Exception
End Try
MsgBox("INSERTED SUCCESSFULLY")
conn.Close()
dr.Close()
comm.Dispose()
conn.Dispose()
Me.Visible = False
End Sub
FORM10.SHOW()
End Sub
End Class
114
Pay form
115
DEPARTMENT OF INFORMATION TECHNOLOGY
CBE-22
Nomenclature Max. Mark Marks
Obtained
Preparation 05
Output 05
Viva 05
Record 05
Total 20
Staff Sign
116