Uses of Enum Class
com.example.cab302project.CrimeCategory
-
Uses of CrimeCategory in com.example.cab302project
Methods in com.example.cab302project that return CrimeCategoryModifier and TypeMethodDescriptionCrimeRecord.getCategory()Retrieves the category classification of the crime.static CrimeCategoryReturns the enum constant of this class with the specified name.static CrimeCategory[]CrimeCategory.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.example.cab302project with parameters of type CrimeCategoryModifier and TypeMethodDescriptionvoidCrimeRecord.setCategory(CrimeCategory category) Sets the crime category classification.Constructors in com.example.cab302project with parameters of type CrimeCategoryModifierConstructorDescriptionCrimeRecord(int id, CrimeCategory category, LocalDateTime timestamp, double latitude, double longitude, String description, String reporter, boolean actioned) Constructs a new CrimeRecord with full details.