Class BOOnCallShift
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.workshift.oncall.BOOnCallShift
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object used to define the availability shift of a scheduling resource.
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the on call shift end date.getId()Returns the on call shift id.Returns the on call shift type id.Returns the on call shift start date.Returns the total duration (mins) of the on call shift.getUser()Returns the on call shift user id.voidsetEndDate(Date endDate) Sets the on call shift end date.voidSets the on call shift id.voidsetShiftType(Long shiftType) Sets the on call shift type id.voidsetStartDate(Date startDate) Sets the on call shift start date.voidSets the on call shift user id.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOOnCallShift
public BOOnCallShift()
-
-
Method Details
-
getId
Returns the on call shift id.- Returns:
- the the on call shift id
-
setId
Sets the on call shift id.- Parameters:
id- the on call shift id
-
getUser
Returns the on call shift user id.- Returns:
- the user id
- See Also:
-
setUser
Sets the on call shift user id.- Parameters:
user- the user id- See Also:
-
getStartDate
Returns the on call shift start date.- Returns:
- the start date
-
setStartDate
Sets the on call shift start date.- Parameters:
startDate- the start date
-
getEndDate
Returns the on call shift end date.- Returns:
- the end date
-
setEndDate
Sets the on call shift end date.- Parameters:
endDate- the end date
-
getShiftType
Returns the on call shift type id.- Returns:
- the shift type id
- See Also:
-
setShiftType
Sets the on call shift type id.- Parameters:
shiftType- the shift type id- See Also:
-
getTotalDuration
Returns the total duration (mins) of the on call shift.- Returns:
- the total duration
-