Class BOCentralWarehouse
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.BOWarehouse
overit.geocallapp.wfm.inventory.bl.warehouse.central.BOCentralWarehouse
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a central warehouse.
- 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 address id.Returns the central warehouse external code.booleanChecks if the warehouse is a warehouse ofBOWarehouseType.Values.CENTRALbooleanisMobile()Checks if the warehouse is a warehouse ofBOWarehouseType.Values.MOBILEvoidsetAddress(Long address) Sets the central warehouse address id.voidsetExternalCode(String code) Sets the central warehouse external code.Methods inherited from class overit.geocallapp.wfm.inventory.bl.warehouse.BOWarehouse
getCode, getDescription, getId, getInsertDate, getInsertUser, getPosition, getState, getTrackingMode, getType, getUpdateDate, getUpdateUser, setCode, setDescription, setId, setInsertDate, setInsertUser, setPosition, setState, setTrackingMode, setType, setUpdateDate, setUpdateUserMethods 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
-
BOCentralWarehouse
public BOCentralWarehouse()
-
-
Method Details
-
getExternalCode
Returns the central warehouse external code.- Returns:
- the central warehouse external code
-
setExternalCode
Sets the central warehouse external code.- Parameters:
code- the central warehouse external code
-
getAddress
Returns the central warehouse address id.- Returns:
- the address id
- See Also:
-
setAddress
Sets the central warehouse address id.- Parameters:
address- the address id- See Also:
-
isCentral
public boolean isCentral()Checks if the warehouse is a warehouse ofBOWarehouseType.Values.CENTRAL- Overrides:
isCentralin classBOWarehouse- Returns:
- true
-
isMobile
public boolean isMobile()Checks if the warehouse is a warehouse ofBOWarehouseType.Values.MOBILE- Overrides:
isMobilein classBOWarehouse- Returns:
- false
-