Class BOHoliday
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.systemsettings.bl.calendar.holiday.BOHoliday
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business Object representing a holiday day.
- Since:
- 17.0
- 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 holiday day of week.Returns the holiday description.Returns the holiday date.In the case of a bank holiday, it returns the specific day; In the case of a day of the week, it returns all the days of the year on which that holiday falls.Returns the holiday type.getId()Returns the holiday id.Returns the operation center id.Returns the week day.getYear()Returns the holiday year.Checks if the holiday is a bank holiday.voidsetBankHoliday(Boolean bankHoliday) Sets the holiday to bank holiday.voidsetDescription(String description) Sets the holiday description.voidsetHolidayDate(Date holidayDate) Sets the holiday holiday date.voidsetHolidayType(String holidayType) Sets the holiday holiday type.voidSets the holiday id.voidsetOperationCenter(Long operationCenter) Sets the operation center id.voidsetWeekDay(Long weekDay) Sets the week day.voidSets the holiday year.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
-
BOHoliday
public BOHoliday()
-
-
Method Details
-
getId
Returns the holiday id.- Returns:
- the the holiday id
-
setId
Sets the holiday id.- Parameters:
id- the holiday id
-
getHolidayDate
Returns the holiday date.- Returns:
- the holiday date
-
setHolidayDate
Sets the holiday holiday date.- Parameters:
holidayDate- the holiday date
-
isBankHoliday
Checks if the holiday is a bank holiday.- Returns:
- true if is the holiday is a bank holiday, false otherwise
-
setBankHoliday
Sets the holiday to bank holiday.- Parameters:
bankHoliday- true if the holiday must be a bank holiday, false otherwise
-
getDescription
Returns the holiday description.- Returns:
- the holiday description
-
setDescription
Sets the holiday description.- Parameters:
description- the holiday description
-
getWeekDay
Returns the week day.- Returns:
- the week day
-
setWeekDay
Sets the week day.- Parameters:
weekDay- the week day
-
getOperationCenter
Returns the operation center id.- Returns:
- the operation center id
-
setOperationCenter
Sets the operation center id.- Parameters:
operationCenter- the operation center id
-
getYear
Returns the holiday year.- Returns:
- the holiday year
-
setYear
Sets the holiday year.- Parameters:
year- the year
-
getHolidayType
Returns the holiday type.- Returns:
- the holiday type
-
setHolidayType
Sets the holiday holiday type.- Parameters:
holidayType- the holiday type
-
getDayOfWeek
Returns the holiday day of week.- Returns:
- the holiday day of week
-
getHolidayDates
In the case of a bank holiday, it returns the specific day; In the case of a day of the week, it returns all the days of the year on which that holiday falls.- Returns:
- the date holiday list
-