Class BOResourceAddress
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.schedule.schedulingresource.resourceaddress.BOResourceAddress
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a resource address.
- 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 resource address.Returns the resource address description.Checks if the resource address is a departure from home one.booleanChecks if the resource address is an arrival point.booleanChecks if the resource address is a departure point.voidsetAddress(BOAddress address) Sets the resource address.voidsetArrivalPoint(boolean isArrivalPoint) Sets the resource address to arrival point.voidsetDeparturePoint(boolean isDeparturePoint) Sets the resource address to departure point.voidsetDescription(String description) Sets the resource address description.voidsetIsDepartureFromHome(Boolean isDepartureFromHome) Sets the resource address to a departure from home one.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
-
getAddress
Returns the resource address.- Returns:
- the address
- See Also:
-
setAddress
Sets the resource address.- Parameters:
address- the address- See Also:
-
getDescription
Returns the resource address description.- Returns:
- the description
-
setDescription
Sets the resource address description.- Parameters:
description- the description
-
getIsDepartureFromHome
Checks if the resource address is a departure from home one.- Returns:
- true if the resource address is a departure from home one, false otherwise
-
setIsDepartureFromHome
Sets the resource address to a departure from home one.- Parameters:
isDepartureFromHome- true if the resource address must be a departure from home one, false otherwise
-
isDeparturePoint
public boolean isDeparturePoint()Checks if the resource address is a departure point.- Returns:
- true if the resource address is a departure point, false otherwise
-
setDeparturePoint
public void setDeparturePoint(boolean isDeparturePoint) Sets the resource address to departure point.- Parameters:
isDeparturePoint- true if the resource address must be a departure point, false otherwise
-
isArrivalPoint
public boolean isArrivalPoint()Checks if the resource address is an arrival point.- Returns:
- true if is he resource address is an arrival point, false otherwise
-
setArrivalPoint
public void setArrivalPoint(boolean isArrivalPoint) Sets the resource address to arrival point.- Parameters:
isArrivalPoint- true if the resource address must be an arrival point, false otherwise
-