Class BOMaterialHistory
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.materials.bl.material.history.BOMaterialHistory
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing the history of a
BOMaterial. - 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 material history alternative code.getBrand()Returns the id of the history material brand.getCode()Returns the material history code.Returns the material history description.Returns the material history extended description.Returns the material history external status.Returns the id of the history material external system id.Returns the id of the history material goods group.Returns the material history history insert date.Returns the history operation .getId()Returns the material history id.Returns the id of the history material item type id.Returns the id of the history material management type.Returns the history's material id.Returns the id of the history material class.Returns the id of the history material measure unit.getNote()Returns the material history note.getType()Returns the id of the history material type.Returns the material history validity begin date.Returns the material history validity end date.isActive()Checks if the material history is active.Checks if the material history is generic.Checks if the material history is managed in stock.voidSets the material history to active.voidsetAlternativeCode(String alternativeCode) Sets the material history alternative code.voidSets the id of the history material brand.voidSets the material history code.voidsetDescription(LocalizedString description) Sets the material history description.voidsetExtendedDescription(LocalizedString extendedDescription) Sets the material history extended description.voidsetExternalStatus(String externalStatus) Sets the material history external status.voidsetExternalSystem(Long externalSystem) Sets the id of the history material external system id.voidsetGeneric(Boolean generic) Sets the material history to generic.voidsetGoodsGroup(Long goodsGroup) Sets the id of the history material goods group.voidsetHistoryInsert(Date historyInsert) Sets the material history history insert date.voidsetHistoryOperation(Long historyOperation) Sets the history operation.voidSets the material history id.voidsetItemType(Long itemType) Sets the id of the history material item type id.voidsetManagedInStock(Boolean managedInStock) Sets the material history to managed in stock.voidsetManagementType(Long managementType) Sets the id of the history material management type.voidsetMaterial(Long material) Sets the history's material id.voidsetMaterialClass(Long materialClass) Sets the id of the history material class.voidsetMeasureUnit(Long measureUnit) Sets the id of the history material measure unit.voidsetNote(LocalizedString note) Sets the material history note.voidSets the id of the history material type.voidsetValidityBegin(Date validityBegin) Sets the material history validity begin date.voidsetValidityEnd(Date validityEnd) Sets the material history validity end date.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
-
BOMaterialHistory
public BOMaterialHistory()
-
-
Method Details
-
getId
Returns the material history id.- Returns:
- the the material history id
-
setId
Sets the material history id.- Parameters:
id- the material history id
-
getCode
Returns the material history code.- Returns:
- the material history code
-
setCode
Sets the material history code.- Parameters:
code- the material history code
-
getAlternativeCode
Returns the material history alternative code.- Returns:
- the material history alternative code
-
setAlternativeCode
Sets the material history alternative code.- Parameters:
alternativeCode- the material history alternative code
-
getDescription
Returns the material history description.- Returns:
- the material history description
-
setDescription
Sets the material history description.- Parameters:
description- the material history description
-
getExternalStatus
Returns the material history external status.- Returns:
- the material history external status
-
setExternalStatus
Sets the material history external status.- Parameters:
externalStatus- the material history external status
-
getExtendedDescription
Returns the material history extended description.- Returns:
- the material history extended description
-
setExtendedDescription
Sets the material history extended description.- Parameters:
extendedDescription- the material history extended description
-
getValidityBegin
Returns the material history validity begin date.- Returns:
- the material history validity begin date
-
setValidityBegin
Sets the material history validity begin date.- Parameters:
validityBegin- the material history validity begin date
-
getValidityEnd
Returns the material history validity end date.- Returns:
- the material history validity end date
-
setValidityEnd
Sets the material history validity end date.- Parameters:
validityEnd- the material history validity end date
-
getType
Returns the id of the history material type.- Returns:
- the material type id
- See Also:
-
setType
Sets the id of the history material type.- Parameters:
type- the material type id- See Also:
-
getManagementType
Returns the id of the history material management type.- Returns:
- the material management type id
- See Also:
-
setManagementType
Sets the id of the history material management type.- Parameters:
managementType- the material management type id- See Also:
-
getMeasureUnit
Returns the id of the history material measure unit.- Returns:
- the material measure unit id
-
setMeasureUnit
Sets the id of the history material measure unit.- Parameters:
measureUnit- the material measure unit id
-
getMaterialClass
Returns the id of the history material class.- Returns:
- the material class id
- See Also:
-
setMaterialClass
Sets the id of the history material class.- Parameters:
materialClass- the material class id- See Also:
-
getBrand
Returns the id of the history material brand.- Returns:
- the material brand id
-
setBrand
Sets the id of the history material brand.- Parameters:
brand- the material brand id
-
getItemType
Returns the id of the history material item type id.- Returns:
- the material item type id
-
setItemType
Sets the id of the history material item type id.- Parameters:
itemType- the material item type id
-
getGoodsGroup
Returns the id of the history material goods group.- Returns:
- the material goods group id
- See Also:
-
setGoodsGroup
Sets the id of the history material goods group.- Parameters:
goodsGroup- the material goods group id- See Also:
-
getExternalSystem
Returns the id of the history material external system id.- Returns:
- the external system id
-
setExternalSystem
Sets the id of the history material external system id.- Parameters:
externalSystem- the external system id
-
getNote
Returns the material history note.- Returns:
- the material history note
-
setNote
Sets the material history note.- Parameters:
note- the material history note
-
isActive
Checks if the material history is active.- Returns:
- true if is the material history is active, false otherwise
-
setActive
Sets the material history to active.- Parameters:
active- true if the material history must be active, false otherwise
-
isGeneric
Checks if the material history is generic.- Returns:
- true if is the material history is generic, false otherwise
-
setGeneric
Sets the material history to generic.- Parameters:
generic- true if the material history must be generic, false otherwise
-
isManagedInStock
Checks if the material history is managed in stock.- Returns:
- true if is the material history is managed in stock, false otherwise
-
setManagedInStock
Sets the material history to managed in stock.- Parameters:
managedInStock- true if the material history must be managed in stock, false otherwise
-
getHistoryInsert
Returns the material history history insert date.- Returns:
- the material history history insert date
-
setHistoryInsert
Sets the material history history insert date.- Parameters:
historyInsert- the material history history insert date
-
getHistoryOperation
Returns the history operation .- Returns:
- the history operation
-
setHistoryOperation
Sets the history operation.- Parameters:
historyOperation- the history operation
-
getMaterial
Returns the history's material id.- Returns:
- the history's material id
- See Also:
-
setMaterial
Sets the history's material id.- Parameters:
material- the history's material id- See Also:
-