Skip to content

joaosviegas/POProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Oriented Programming Project

This project was developed for the "Programação com Objetos" course @IST - Instituto Superior Técnico (2024/2025). It is organized into two main parts: domain modeling and user interaction.

Project Structure

📁 hva-core

Contains the domain model:

  • Entities: Animal, Species, Habitat, Tree, Employee, Protector, Veterinarian, Vaccine, VaccinationRecord, HotelManager.
  • Logic: Satisfaction calculations, seasonal behaviors, and persistence.

📁 hva-app

Handles user interaction:

  • Command-line interface for CRUD operations.
  • Imports data from UTF-8 text files.
  • Saves state using Java serialization.

📁 uml/

Includes UML diagrams from the first delivery:

  • Class and sequence diagrams.
  • Package structure and relationships.

Design & Planning

  • UML First: Modeled entities and relationships before coding.
  • Design Patterns Applied:
    • Observer: For handling seasonal changes in trees.
    • Command: For structuring user commands.

Technologies Used

  • Java: Programming language.

Notes

  • Class names provided in the skeleton code must remain unchanged.
  • Some classes are off-limits for modification.