Class Room
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
cz.zcu.fav.kiv.mjakubas.saf.entity.Room
Represents Room entity from a backend of school agenda.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet room building.int
Get room capacity.int
getID()
Gets simple identifier.int
Get room id.Get room name.Get room schedule action dates.Get room schedule action.void
setBuilding
(Building building) Set room building.void
setCapacity
(int capacity) Set room capacity.void
setIdRooms
(int idRooms) Set room id.void
setRoomName
(String roomName) Set room namevoid
setScheduleactiondates
(ScheduleActionDate[] scheduleactionDates) Set room schedule action datesvoid
setScheduleactionDates
(ScheduleActionDate[] scheduleactionDates) Set room schedule action date.void
setScheduleactions
(ScheduleAction[] scheduleactions) Set room schedule action.toString()
Methods inherited from class cz.zcu.fav.kiv.mjakubas.saf.entity.ASimpleEntity
equals, getIdentifier
-
Constructor Details
-
Method Details
-
getID
public int getID()Description copied from class:ASimpleEntity
Gets simple identifier.- Specified by:
getID
in classASimpleEntity
- Returns:
- simple identifier
-
getSimpleIdentifier
- Specified by:
getSimpleIdentifier
in classASimpleEntity
-
toString
-
getBuilding
Get room building.- Returns:
- room building
-
getScheduleactions
Get room schedule action.- Returns:
- room schedule action
-
getIdRooms
public int getIdRooms()Get room id.- Returns:
- room id
-
getRoomName
Get room name.- Returns:
- room name
-
getCapacity
public int getCapacity()Get room capacity.- Returns:
- room capacity
-
getScheduleactionDates
Get room schedule action dates.- Returns:
- room schedule action dates
-
setScheduleactionDates
Set room schedule action date.- Parameters:
scheduleactionDates
- room schedule action date
-
setBuilding
Set room building.- Parameters:
building
- room building
-
setScheduleactiondates
Set room schedule action dates- Parameters:
scheduleactionDates
- room schedule action dates
-
setScheduleactions
Set room schedule action.- Parameters:
scheduleactions
- room schedule action
-
setIdRooms
public void setIdRooms(int idRooms) Set room id.- Parameters:
idRooms
- room id
-
setRoomName
Set room name- Parameters:
roomName
- room name
-
setCapacity
public void setCapacity(int capacity) Set room capacity.- Parameters:
capacity
- room capacity
-