java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductStorage>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.ProductStorage

public class ProductStorage extends VdmEntity<ProductStorage>
Basic Storage Data

Original entity name from the Odata EDM: A_ProductStorageType

  • Field Details

    • ALL_FIELDS

      public static final ProductStorageSelectable ALL_FIELDS
      Selector for all available fields of ProductStorage.
    • PRODUCT

      public static final ProductStorageField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • STORAGE_CONDITIONS

      public static final ProductStorageField<String> STORAGE_CONDITIONS
      Use with available fluent helpers to apply the StorageConditions field to query operations.
    • TEMPERATURE_CONDITION_IND

      public static final ProductStorageField<String> TEMPERATURE_CONDITION_IND
      Use with available fluent helpers to apply the TemperatureConditionInd field to query operations.
    • HAZARDOUS_MATERIAL_NUMBER

      public static final ProductStorageField<String> HAZARDOUS_MATERIAL_NUMBER
      Use with available fluent helpers to apply the HazardousMaterialNumber field to query operations.
    • NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY

      public static final ProductStorageField<BigDecimal> NMBR_OF_GR_OR_GI_SLIPS_TO_PRINT_QTY
      Use with available fluent helpers to apply the NmbrOfGROrGISlipsToPrintQty field to query operations.
    • LABEL_TYPE

      public static final ProductStorageField<String> LABEL_TYPE
      Use with available fluent helpers to apply the LabelType field to query operations.
    • LABEL_FORM

      public static final ProductStorageField<String> LABEL_FORM
      Use with available fluent helpers to apply the LabelForm field to query operations.
    • MIN_REMAINING_SHELF_LIFE

      public static final ProductStorageField<BigDecimal> MIN_REMAINING_SHELF_LIFE
      Use with available fluent helpers to apply the MinRemainingShelfLife field to query operations.
    • EXPIRATION_DATE

      public static final ProductStorageField<String> EXPIRATION_DATE
      Use with available fluent helpers to apply the ExpirationDate field to query operations.
    • SHELF_LIFE_EXPIRATION_DATE_PERIOD

      public static final ProductStorageField<String> SHELF_LIFE_EXPIRATION_DATE_PERIOD
      Use with available fluent helpers to apply the ShelfLifeExpirationDatePeriod field to query operations.
    • TOTAL_SHELF_LIFE

      public static final ProductStorageField<BigDecimal> TOTAL_SHELF_LIFE
      Use with available fluent helpers to apply the TotalShelfLife field to query operations.
    • BASE_UNIT

      public static final ProductStorageField<String> BASE_UNIT
      Use with available fluent helpers to apply the BaseUnit field to query operations.
  • Constructor Details

    • ProductStorage

      public ProductStorage()
    • ProductStorage

      public ProductStorage(@Nullable String product, @Nullable String storageConditions, @Nullable String temperatureConditionInd, @Nullable String hazardousMaterialNumber, @Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty, @Nullable String labelType, @Nullable String labelForm, @Nullable BigDecimal minRemainingShelfLife, @Nullable String expirationDate, @Nullable String shelfLifeExpirationDatePeriod, @Nullable BigDecimal totalShelfLife, @Nullable String baseUnit)
  • Method Details

    • getType

      @Nonnull public Class<ProductStorage> getType()
      Specified by:
      getType in class VdmObject<ProductStorage>
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Material Number
    • setStorageConditions

      public void setStorageConditions(@Nullable String storageConditions)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: StorageConditions

      Parameters:
      storageConditions - Storage conditions
    • setTemperatureConditionInd

      public void setTemperatureConditionInd(@Nullable String temperatureConditionInd)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TemperatureConditionInd

      Parameters:
      temperatureConditionInd - Temperature conditions indicator
    • setHazardousMaterialNumber

      public void setHazardousMaterialNumber(@Nullable String hazardousMaterialNumber)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: HazardousMaterialNumber

      Parameters:
      hazardousMaterialNumber - Hazardous material number
    • setNmbrOfGROrGISlipsToPrintQty

      public void setNmbrOfGROrGISlipsToPrintQty(@Nullable BigDecimal nmbrOfGROrGISlipsToPrintQty)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQty

      Parameters:
      nmbrOfGROrGISlipsToPrintQty - Quantity: Number of GR/GI slips to be printed
    • setLabelType

      public void setLabelType(@Nullable String labelType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LabelType

      Parameters:
      labelType - Label type
    • setLabelForm

      public void setLabelForm(@Nullable String labelForm)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LabelForm

      Parameters:
      labelForm - Label form
    • setMinRemainingShelfLife

      public void setMinRemainingShelfLife(@Nullable BigDecimal minRemainingShelfLife)
      Constraints: Not nullable, Precision: 4, Scale: 0

      Original property name from the Odata EDM: MinRemainingShelfLife

      Parameters:
      minRemainingShelfLife - Minimum Remaining Shelf Life
    • setExpirationDate

      public void setExpirationDate(@Nullable String expirationDate)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ExpirationDate

      Parameters:
      expirationDate - Expiration Date
    • setShelfLifeExpirationDatePeriod

      public void setShelfLifeExpirationDatePeriod(@Nullable String shelfLifeExpirationDatePeriod)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod

      Parameters:
      shelfLifeExpirationDatePeriod - Period Indicator for Shelf Life Expiration Date
    • setTotalShelfLife

      public void setTotalShelfLife(@Nullable BigDecimal totalShelfLife)
      Constraints: Not nullable, Precision: 4, Scale: 0

      Original property name from the Odata EDM: TotalShelfLife

      Parameters:
      totalShelfLife - Total shelf life
    • setBaseUnit

      public void setBaseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Parameters:
      baseUnit - Base Unit of Measure
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<ProductStorage>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<ProductStorage>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<ProductStorage>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<ProductStorage>
    • field

      @Nonnull public static <T> ProductStorageField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> ProductStorageField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ProductStorage>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ProductStorage>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ProductStorage>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductStorage>
    • builder

      @Nonnull public static ProductStorage.ProductStorageBuilder builder()
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getStorageConditions

      @Nullable public String getStorageConditions()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: StorageConditions

      Returns:
      Storage conditions
    • getTemperatureConditionInd

      @Nullable public String getTemperatureConditionInd()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TemperatureConditionInd

      Returns:
      Temperature conditions indicator
    • getHazardousMaterialNumber

      @Nullable public String getHazardousMaterialNumber()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: HazardousMaterialNumber

      Returns:
      Hazardous material number
    • getNmbrOfGROrGISlipsToPrintQty

      @Nullable public BigDecimal getNmbrOfGROrGISlipsToPrintQty()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: NmbrOfGROrGISlipsToPrintQty

      Returns:
      Quantity: Number of GR/GI slips to be printed
    • getLabelType

      @Nullable public String getLabelType()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LabelType

      Returns:
      Label type
    • getLabelForm

      @Nullable public String getLabelForm()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LabelForm

      Returns:
      Label form
    • getMinRemainingShelfLife

      @Nullable public BigDecimal getMinRemainingShelfLife()
      Constraints: Not nullable, Precision: 4, Scale: 0

      Original property name from the Odata EDM: MinRemainingShelfLife

      Returns:
      Minimum Remaining Shelf Life
    • getExpirationDate

      @Nullable public String getExpirationDate()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ExpirationDate

      Returns:
      Expiration Date
    • getShelfLifeExpirationDatePeriod

      @Nullable public String getShelfLifeExpirationDatePeriod()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ShelfLifeExpirationDatePeriod

      Returns:
      Period Indicator for Shelf Life Expiration Date
    • getTotalShelfLife

      @Nullable public BigDecimal getTotalShelfLife()
      Constraints: Not nullable, Precision: 4, Scale: 0

      Original property name from the Odata EDM: TotalShelfLife

      Returns:
      Total shelf life
    • getBaseUnit

      @Nullable public String getBaseUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<ProductStorage>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<ProductStorage>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<ProductStorage>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProductStorage>