Class BOOperationCenterAddress
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.organizationalstructures.bl.operationcenter.address.BOOperationCenterAddress
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing the relation between an operation center and an address.
- 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 address id.Returns the operation center address description.getMain()Checks if the address is the main one for the operation center.Returns the operation center id.voidsetAddress(Long address) Sets the address id.voidsetDescription(String description) Sets the operation center address description.voidSets the address as the main one for the operation center.voidsetOperationCenter(Long operationCenter) Sets the operation center 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
-
BOOperationCenterAddress
public BOOperationCenterAddress()
-
-
Method Details
-
getAddress
Returns the address id.- Returns:
- the address id
- See Also:
-
getOperationCenter
Returns the operation center id.- Returns:
- the operation center id
-
getDescription
Returns the operation center address description.- Returns:
- the description
-
getMain
Checks if the address is the main one for the operation center.- Returns:
- true if the address is the main one for the operation center, false otherwise
-
setAddress
Sets the address id.- Parameters:
address- the address id- See Also:
-
setOperationCenter
Sets the operation center id.- Parameters:
operationCenter- the operation center id
-
setDescription
Sets the operation center address description.- Parameters:
description- the description
-
setMain
Sets the address as the main one for the operation center.- Parameters:
main- true if the address must be the main one for the operation center, false otherwise
-