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

public class BOMaterialHistory extends DynO
Business object representing the history of a BOMaterial.
Since:
17.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOMaterialHistory

      public BOMaterialHistory()
  • Method Details

    • getId

      public Long getId()
      Returns the material history id.
      Returns:
      the the material history id
    • setId

      public void setId(Long id)
      Sets the material history id.
      Parameters:
      id - the material history id
    • getCode

      public String getCode()
      Returns the material history code.
      Returns:
      the material history code
    • setCode

      public void setCode(String code)
      Sets the material history code.
      Parameters:
      code - the material history code
    • getAlternativeCode

      public String getAlternativeCode()
      Returns the material history alternative code.
      Returns:
      the material history alternative code
    • setAlternativeCode

      public void setAlternativeCode(String alternativeCode)
      Sets the material history alternative code.
      Parameters:
      alternativeCode - the material history alternative code
    • getDescription

      public LocalizedString getDescription()
      Returns the material history description.
      Returns:
      the material history description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the material history description.
      Parameters:
      description - the material history description
    • getExternalStatus

      public String getExternalStatus()
      Returns the material history external status.
      Returns:
      the material history external status
    • setExternalStatus

      public void setExternalStatus(String externalStatus)
      Sets the material history external status.
      Parameters:
      externalStatus - the material history external status
    • getExtendedDescription

      public LocalizedString getExtendedDescription()
      Returns the material history extended description.
      Returns:
      the material history extended description
    • setExtendedDescription

      public void setExtendedDescription(LocalizedString extendedDescription)
      Sets the material history extended description.
      Parameters:
      extendedDescription - the material history extended description
    • getValidityBegin

      public Date getValidityBegin()
      Returns the material history validity begin date.
      Returns:
      the material history validity begin date
    • setValidityBegin

      public void setValidityBegin(Date validityBegin)
      Sets the material history validity begin date.
      Parameters:
      validityBegin - the material history validity begin date
    • getValidityEnd

      public Date getValidityEnd()
      Returns the material history validity end date.
      Returns:
      the material history validity end date
    • setValidityEnd

      public void setValidityEnd(Date validityEnd)
      Sets the material history validity end date.
      Parameters:
      validityEnd - the material history validity end date
    • getType

      public Long getType()
      Returns the id of the history material type.
      Returns:
      the material type id
      See Also:
    • setType

      public void setType(Long type)
      Sets the id of the history material type.
      Parameters:
      type - the material type id
      See Also:
    • getManagementType

      public Long getManagementType()
      Returns the id of the history material management type.
      Returns:
      the material management type id
      See Also:
    • setManagementType

      public void setManagementType(Long managementType)
      Sets the id of the history material management type.
      Parameters:
      managementType - the material management type id
      See Also:
    • getMeasureUnit

      public Long getMeasureUnit()
      Returns the id of the history material measure unit.
      Returns:
      the material measure unit id
    • setMeasureUnit

      public void setMeasureUnit(Long measureUnit)
      Sets the id of the history material measure unit.
      Parameters:
      measureUnit - the material measure unit id
    • getMaterialClass

      public Long getMaterialClass()
      Returns the id of the history material class.
      Returns:
      the material class id
      See Also:
    • setMaterialClass

      public void setMaterialClass(Long materialClass)
      Sets the id of the history material class.
      Parameters:
      materialClass - the material class id
      See Also:
    • getBrand

      public Long getBrand()
      Returns the id of the history material brand.
      Returns:
      the material brand id
    • setBrand

      public void setBrand(Long brand)
      Sets the id of the history material brand.
      Parameters:
      brand - the material brand id
    • getItemType

      public Long getItemType()
      Returns the id of the history material item type id.
      Returns:
      the material item type id
    • setItemType

      public void setItemType(Long itemType)
      Sets the id of the history material item type id.
      Parameters:
      itemType - the material item type id
    • getGoodsGroup

      public Long getGoodsGroup()
      Returns the id of the history material goods group.
      Returns:
      the material goods group id
      See Also:
    • setGoodsGroup

      public void setGoodsGroup(Long goodsGroup)
      Sets the id of the history material goods group.
      Parameters:
      goodsGroup - the material goods group id
      See Also:
    • getExternalSystem

      public Long getExternalSystem()
      Returns the id of the history material external system id.
      Returns:
      the external system id
    • setExternalSystem

      public void setExternalSystem(Long externalSystem)
      Sets the id of the history material external system id.
      Parameters:
      externalSystem - the external system id
    • getNote

      public LocalizedString getNote()
      Returns the material history note.
      Returns:
      the material history note
    • setNote

      public void setNote(LocalizedString note)
      Sets the material history note.
      Parameters:
      note - the material history note
    • isActive

      public Boolean isActive()
      Checks if the material history is active.
      Returns:
      true if is the material history is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the material history to active.
      Parameters:
      active - true if the material history must be active, false otherwise
    • isGeneric

      public Boolean isGeneric()
      Checks if the material history is generic.
      Returns:
      true if is the material history is generic, false otherwise
    • setGeneric

      public void setGeneric(Boolean generic)
      Sets the material history to generic.
      Parameters:
      generic - true if the material history must be generic, false otherwise
    • isManagedInStock

      public Boolean isManagedInStock()
      Checks if the material history is managed in stock.
      Returns:
      true if is the material history is managed in stock, false otherwise
    • setManagedInStock

      public void setManagedInStock(Boolean managedInStock)
      Sets the material history to managed in stock.
      Parameters:
      managedInStock - true if the material history must be managed in stock, false otherwise
    • getHistoryInsert

      public Date getHistoryInsert()
      Returns the material history history insert date.
      Returns:
      the material history history insert date
    • setHistoryInsert

      public void setHistoryInsert(Date historyInsert)
      Sets the material history history insert date.
      Parameters:
      historyInsert - the material history history insert date
    • getHistoryOperation

      public Long getHistoryOperation()
      Returns the history operation .
      Returns:
      the history operation
    • setHistoryOperation

      public void setHistoryOperation(Long historyOperation)
      Sets the history operation.
      Parameters:
      historyOperation - the history operation
    • getMaterial

      public Long getMaterial()
      Returns the history's material id.
      Returns:
      the history's material id
      See Also:
    • setMaterial

      public void setMaterial(Long material)
      Sets the history's material id.
      Parameters:
      material - the history's material id
      See Also: