Class BORole
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.schedule.role.BORole
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a role.
- Since:
- 16.0
- See Also:
-
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 TypeMethodDescriptionChecks if the role is active.getCode()Returns the code of the roleReturns the description of the rolegetId()Returns the ID of the roleReturns the maximum number of the roleReturns the minimum number of the roleReturns the ordering of the rolevoidSets the active status of a role.voidSets the code of the rolevoidsetDescription(String description) Sets the description of the rolevoidSets the ID of the rolevoidsetMaximumNumber(Long maximumNumber) Sets the maximum number of the rolevoidsetMinimumNumber(Long minimumNumber) Sets the minimum number of the rolevoidsetOrdering(Long ordering) Sets the ordering of the roleMethods 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
-
BORole
public BORole()
-
-
Method Details
-
getId
Returns the ID of the role- Returns:
- the ID of the role
-
setId
Sets the ID of the role- Parameters:
id- the ID of the role
-
getCode
Returns the code of the role- Returns:
- the code of the role
-
setCode
Sets the code of the role- Parameters:
code- the code of the role
-
getDescription
Returns the description of the role- Returns:
- the description of the role
-
setDescription
Sets the description of the role- Parameters:
description- the description of the role
-
getActive
Checks if the role is active.- Returns:
- true if the role is active, false otherwise
-
setActive
Sets the active status of a role.- Parameters:
active- true if the role must be active, false otherwise
-
getOrdering
Returns the ordering of the role- Returns:
- the ordering of the role
-
setOrdering
Sets the ordering of the role- Parameters:
ordering- the ordering of the role
-
getMinimumNumber
Returns the minimum number of the role- Returns:
- the minimum number of the role
-
setMinimumNumber
Sets the minimum number of the role- Parameters:
minimumNumber- the minimum number of the role
-
getMaximumNumber
Returns the maximum number of the role- Returns:
- the maximum number of the role
-
setMaximumNumber
Sets the maximum number of the role- Parameters:
maximumNumber- the maximum number of the role
-