Class BOResourceAddress
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.resources.bl.resource.address.BOResourceAddress
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a resource address.
- Since:
- 16.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 resource address description.Returns the resource id.Checks if the resource address is set as 'departure from home'.voidsetAddress(Long address) Sets the address id.voidsetDescription(String description) Sets the resource address description.voidsetIsDepartureFromHome(Boolean departureFromHome) Sets the resource address as 'departure from home'.voidsetResource(Long resource) Sets the resource 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
-
BOResourceAddress
public BOResourceAddress()
-
-
Method Details
-
getDescription
Returns the resource address description.- Returns:
- the description
-
setDescription
Sets the resource address description.- Parameters:
description- the description
-
isDepartureFromHome
Checks if the resource address is set as 'departure from home'.- Returns:
- true if is the resource address must be set as 'departure from home', false otherwise
-
setIsDepartureFromHome
Sets the resource address as 'departure from home'.- Parameters:
departureFromHome- true if is the resource address is set as 'departure from home', false otherwise
-
getResource
Returns the resource id.- Returns:
- the resource id
-
setResource
Sets the resource id.- Parameters:
resource- the resource id
-
getAddress
Returns the address id.- Returns:
- the address id
-
setAddress
Sets the address id.- Parameters:
address- the address id
-