-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Using the Protobuf protocol directly | ||
|
||
## Example diagram | ||
|
||
``` mermaid | ||
classDiagram | ||
Person <|-- Student | ||
Person <|-- Professor | ||
Person : +String name | ||
Person : +String phoneNumber | ||
Person : +String emailAddress | ||
Person: +purchaseParkingPass() | ||
Address "1" <-- "0..1" Person:lives at | ||
class Student{ | ||
+int studentNumber | ||
+int averageMark | ||
+isEligibleToEnrol() | ||
+getSeminarsTaken() | ||
} | ||
class Professor{ | ||
+int salary | ||
} | ||
class Address{ | ||
+String street | ||
+String city | ||
+String state | ||
+int postalCode | ||
+String country | ||
-validate() | ||
+outputAsLabel() | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters