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