Class BOCentralMobileWarehouse
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.centralmobile.BOCentralMobileWarehouse
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing the relation between a
In this context, the relation can also specify the preferred
BOCentralWarehouse and an BOMobileWarehouse.
A BOMobileWarehouse can be related to more BOCentralWarehouses,
but every BOCentralMobileWarehouse represents a single relation. In this context, the relation can also specify the preferred
BOCentralWarehouse the current BOMobileWarehouse. - Since:
- 13.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 central warehouse id.getId()Returns the relation id.Returns the mobile warehouse id.Checks if the current central warehouse of the relation is the preferred one.voidsetCentral(Long central) Sets the central warehouse id.voidSets the relation id.voidSets the mobile warehouse id.voidsetPreferred(Boolean preferred) Sets the current central warehouse of the relation to preferred.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
-
BOCentralMobileWarehouse
public BOCentralMobileWarehouse()
-
-
Method Details
-
getId
Returns the relation id.- Returns:
- the central-mobile warehouse relation id
-
setId
Sets the relation id.- Parameters:
id- the central-mobile warehouse relation id
-
getCentral
Returns the central warehouse id.- Returns:
- the central warehouse id
- See Also:
-
setCentral
Sets the central warehouse id.- Parameters:
central- the central warehouse id- See Also:
-
getMobile
Returns the mobile warehouse id.- Returns:
- the mobile warehouse id
- See Also:
-
setMobile
Sets the mobile warehouse id.- Parameters:
mobile- the mobile warehouse id- See Also:
-
isPreferred
Checks if the current central warehouse of the relation is the preferred one.- Returns:
- true if is the current central warehouse is the preferred one, false otherwise
-
setPreferred
Sets the current central warehouse of the relation to preferred.- Parameters:
preferred- true if the current central warehouse must be the preferred one, false otherwise
-