Class DTOMaterialUpdate

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

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

    • DTOMaterialUpdate

      public DTOMaterialUpdate()
  • Method Details

    • getCode

      public final Optional<String> getCode()
      Returns:
      the code
    • setCode

      public final void setCode(Optional<String> code)
      Parameters:
      code - the code to set
    • getAlternativeCode

      public final Optional<String> getAlternativeCode()
      Returns:
      the alternativeCode
    • setAlternativeCode

      public final void setAlternativeCode(Optional<String> alternativeCode)
      Parameters:
      alternativeCode - the alternativeCode to set
    • getDescription

      public final Optional<LocalizedString> getDescription()
      Returns:
      the description
    • setDescription

      public final void setDescription(Optional<LocalizedString> description)
      Parameters:
      description - the description to set
    • getExternalStatus

      public final Optional<String> getExternalStatus()
      Returns:
      the externalStatus
    • setExternalStatus

      public final void setExternalStatus(Optional<String> externalStatus)
      Parameters:
      externalStatus - the externalStatus to set
    • getExtendedDescription

      public final Optional<LocalizedString> getExtendedDescription()
      Returns:
      the extendedDescription
    • setExtendedDescription

      public final void setExtendedDescription(Optional<LocalizedString> extendedDescription)
      Parameters:
      extendedDescription - the extendedDescription to set
    • getValidityBegin

      public final Optional<ZonedDateTime> getValidityBegin()
      Returns:
      the validityBegin
    • setValidityBegin

      public final void setValidityBegin(Optional<ZonedDateTime> validityBegin)
      Parameters:
      validityBegin - the validityBegin to set
    • getValidityEnd

      public final Optional<ZonedDateTime> getValidityEnd()
      Returns:
      the validityEnd
    • setValidityEnd

      public final void setValidityEnd(Optional<ZonedDateTime> validityEnd)
      Parameters:
      validityEnd - the validityEnd to set
    • getType

      public final Optional<Long> getType()
      Returns:
      the type
    • setType

      public final void setType(Optional<Long> type)
      Parameters:
      type - the type to set
    • getManagementType

      public final Optional<Long> getManagementType()
      Returns:
      the managementType
    • setManagementType

      public final void setManagementType(Optional<Long> managementType)
      Parameters:
      managementType - the managementType to set
    • getMeasureUnit

      public final Optional<Long> getMeasureUnit()
      Returns:
      the measureUnit
    • setMeasureUnit

      public final void setMeasureUnit(Optional<Long> measureUnit)
      Parameters:
      measureUnit - the measureUnit to set
    • getMaterialClass

      public final Optional<Long> getMaterialClass()
      Returns:
      the materialClass
    • setMaterialClass

      public final void setMaterialClass(Optional<Long> materialClass)
      Parameters:
      materialClass - the materialClass to set
    • getBrand

      public final Optional<Long> getBrand()
      Returns:
      the brand
    • setBrand

      public final void setBrand(Optional<Long> brand)
      Parameters:
      brand - the brand to set
    • getItemType

      public final Optional<Long> getItemType()
      Returns:
      the itemType
    • setItemType

      public final void setItemType(Optional<Long> itemType)
      Parameters:
      itemType - the itemType to set
    • getGoodsGroup

      public final Optional<Long> getGoodsGroup()
      Returns:
      the goodsGroup
    • setGoodsGroup

      public final void setGoodsGroup(Optional<Long> goodsGroup)
      Parameters:
      goodsGroup - the goodsGroup to set
    • getExternalSystem

      public final Optional<Long> getExternalSystem()
      Returns:
      the externalSystem
    • setExternalSystem

      public final void setExternalSystem(Optional<Long> externalSystem)
      Parameters:
      externalSystem - the externalSystem to set
    • getNote

      public final Optional<LocalizedString> getNote()
      Returns:
      the note
    • setNote

      public final void setNote(Optional<LocalizedString> note)
      Parameters:
      note - the note to set
    • getActive

      public final Optional<Boolean> getActive()
      Returns:
      the active
    • setActive

      public final void setActive(Optional<Boolean> active)
      Parameters:
      active - the active to set
    • getGeneric

      public final Optional<Boolean> getGeneric()
      Returns:
      the generic
    • setGeneric

      public final void setGeneric(Optional<Boolean> generic)
      Parameters:
      generic - the generic to set
    • getManagedInStock

      public final Optional<Boolean> getManagedInStock()
      Returns:
      the managedInStock
    • setManagedInStock

      public final void setManagedInStock(Optional<Boolean> managedInStock)
      Parameters:
      managedInStock - the managedInStock to set