Interface Allocatable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCapacity()Returns the capacity of the allocatable entity.java.lang.StringgetName()
-
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
- String the name of the allocatable resource.
-
getCapacity
int getCapacity()
Returns the capacity of the allocatable entity. A room can have a capacity > 1, if there can be multiple cases handles within Similarly, a worker can perhaps multi-task and handle multiple cases at once.- Returns:
- int capacity of the allocatable entity.
-
-