More examples in Software Design/UML Diagrams

Communication Diagram Databases Example

SmartDraw includes thousands of professional-looking diagrams like this that you can easily edit and make your own.





Text in this example:

create()
2: create(personDBFile):
3: new PersonRec(currentString):
4: [while inReader, readLine!= null]:
new PersonRec(currentString)
5*: read(inFile);
refreshDB():
1: create(fileReader):
UML Communication Diagram: Database & Record Creation
inFile : Buffered Reader
dB : PersonDataBase
PersonRec
pr:PersonRec
fileReader:FileReader
2: create(bookDBFile):
3: new BookRec(currentString):
new BookRec(currentString)
5*: read(inFile):
dB : BookDataBase

Share this page: