Class Category
java.lang.Object
com.equipmentrental.equipment_rental_system.model.Category
Represents an equipment category used to group items by type.
Examples include Audio Equipment, Computing and Photography.
Each equipment item must belong to exactly one category (BR-04). A category cannot be deleted while equipment items are assigned to it (BR-06).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of equipment items currently assigned to this category.
-
Constructor Details
-
Category
-
-
Method Details
-
getEquipmentCount
public int getEquipmentCount()Returns the number of equipment items currently assigned to this category.- Returns:
- the count of equipment items in this category
-