Class DTOMaterialInsert

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.materials.rs1.material.DTOMaterialInsert
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

@EntityRef(MaterialEntity.class) public class DTOMaterialInsert extends DynO
DTO for material insertion.
Since:
17.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOMaterialInsert

      public DTOMaterialInsert()
  • Method Details

    • getCode

      public final String getCode()
      Gets the code.
      Returns:
      the code
    • setCode

      public final void setCode(String code)
      Sets the code.
      Parameters:
      code - the new code
    • getAlternativeCode

      public final String getAlternativeCode()
      Gets the alternative code.
      Returns:
      the alternative code
    • setAlternativeCode

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

      public final LocalizedString getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription

      public final void setDescription(LocalizedString description)
      Sets the description.
      Parameters:
      description - the new description
    • getExternalStatus

      public final String getExternalStatus()
      Gets the external status.
      Returns:
      the external status
    • setExternalStatus

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

      public final LocalizedString getExtendedDescription()
      Gets the extended description.
      Returns:
      the extended description
    • setExtendedDescription

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

      public final ZonedDateTime getValidityBegin()
      Gets the validity begin.
      Returns:
      the validity begin
    • setValidityBegin

      public final void setValidityBegin(ZonedDateTime validityBegin)
      Sets the validity begin.
      Parameters:
      validityBegin - the new validity begin
    • getValidityEnd

      public final ZonedDateTime getValidityEnd()
      Gets the validity end.
      Returns:
      the validity end
    • setValidityEnd

      public final void setValidityEnd(ZonedDateTime validityEnd)
      Sets the validity end.
      Parameters:
      validityEnd - the new validity end
    • getType

      public final Long getType()
      Gets the type.
      Returns:
      the type
    • setType

      public final void setType(Long type)
      Sets the type.
      Parameters:
      type - the new type
    • getManagementType

      public final Long getManagementType()
      Gets the management type.
      Returns:
      the management type
    • setManagementType

      public final void setManagementType(Long managementType)
      Sets the management type.
      Parameters:
      managementType - the new management type
    • getMeasureUnit

      public final Long getMeasureUnit()
      Gets the measure unit.
      Returns:
      the measure unit
    • setMeasureUnit

      public final void setMeasureUnit(Long measureUnit)
      Sets the measure unit.
      Parameters:
      measureUnit - the new measure unit
    • getMaterialClass

      public final Long getMaterialClass()
      Gets the material class.
      Returns:
      the material class
    • setMaterialClass

      public final void setMaterialClass(Long materialClass)
      Sets the material class.
      Parameters:
      materialClass - the new material class
    • getBrand

      public final Long getBrand()
      Gets the brand.
      Returns:
      the brand
    • setBrand

      public final void setBrand(Long brand)
      Sets the brand.
      Parameters:
      brand - the new brand
    • getItemType

      public final Long getItemType()
      Gets the item type.
      Returns:
      the item type
    • setItemType

      public final void setItemType(Long itemType)
      Sets the item type.
      Parameters:
      itemType - the new item type
    • getGoodsGroup

      public final Long getGoodsGroup()
      Gets the goods group.
      Returns:
      the goods group
    • setGoodsGroup

      public final void setGoodsGroup(Long goodsGroup)
      Sets the goods group.
      Parameters:
      goodsGroup - the new goods group
    • getExternalSystem

      public final Long getExternalSystem()
      Gets the external system.
      Returns:
      the external system
    • setExternalSystem

      public final void setExternalSystem(Long externalSystem)
      Sets the external system.
      Parameters:
      externalSystem - the new external system
    • getNote

      public final LocalizedString getNote()
      Gets the note.
      Returns:
      the note
    • setNote

      public final void setNote(LocalizedString note)
      Sets the note.
      Parameters:
      note - the new note
    • getActive

      public final boolean getActive()
      Gets the active.
      Returns:
      the active
    • setActive

      public final void setActive(boolean active)
      Sets the active.
      Parameters:
      active - the new active
    • getGeneric

      public final boolean getGeneric()
      Gets the generic.
      Returns:
      the generic
    • setGeneric

      public final void setGeneric(boolean generic)
      Sets the generic.
      Parameters:
      generic - the new generic
    • getManagedInStock

      public final boolean getManagedInStock()
      Gets the managed in stock.
      Returns:
      the managed in stock
    • setManagedInStock

      public final void setManagedInStock(boolean managedInStock)
      Sets the managed in stock.
      Parameters:
      managedInStock - the new managed in stock