0% found this document useful (0 votes)
14 views3 pages

UML and Use Case Definition

Uploaded by

Zawahir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

UML and Use Case Definition

Uploaded by

Zawahir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Use Case Definition Document

Thursday, December 26, 2024

UML Diagram
+------------------------------------+

| HealthProfile |

+------------------------------------+

| - firstName: String |

| - lastName: String |

| - gender: char |

| - dateOfBirth: LocalDate |

| - height: int |

| - weight: double |

+------------------------------------+

| + HealthProfile(firstName: String, |

| lastName: String, gender: char, |

| height: int, weight: double) |

| + HealthProfile(firstName: String, |

| lastName: String, gender: char, |

| dateOfBirth: LocalDate, height: |

| int, weight: double) |

| + HealthProfile(firstName: String, |

| lastName: String, gender: char, |

| age: int, height: int, weight: |

| double) |

| + setDateOfBirth(dateOfBirth: |

| LocalDate): void |
Use Case Definition Document
Thursday, December 26, 2024

| + setDateOfBirth(age: int): void |

| + getAge(): int |

| + getMaxHeartRate(): int |

| + getMinTargetHeartRate(): double |

| + getMaxTargetHeartRate(): double |

| + getBMI(): double |

| + toString(): String |

+------------------------------------+

+------------------------------------+

| HealthProfileApp |

+------------------------------------+

| - main(String[]): void |

+------------------------------------+

Use Case Definition


Program Name: Developer(s): Date:
Enter Name Here Enter Your Name(s) Enter Published
Health app 1. Abdur Rafay Date:
March 30, 2024
Use Case Definition Document
Thursday, December 26, 2024

1. Compile the Program


2. Run the Program
3. Enter Personal information
4. Choose date of birth input method
5. Provide date of birth
6. View health profile
7. Review and interpret results

You might also like