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

public class ProductPlantStorage extends VdmEntity<ProductPlantStorage>
Storage Data at Plant Level

Original entity name from the Odata EDM: A_ProductPlantStorageType

  • Field Details

    • ALL_FIELDS

      public static final ProductPlantStorageSelectable ALL_FIELDS
      Selector for all available fields of ProductPlantStorage.
    • PRODUCT

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

      public static final ProductPlantStorageField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • INVENTORY_FOR_CYCLE_COUNT_IND

      public static final ProductPlantStorageField<String> INVENTORY_FOR_CYCLE_COUNT_IND
      Use with available fluent helpers to apply the InventoryForCycleCountInd field to query operations.
    • PROVISIONING_SERVICE_LEVEL

      public static final ProductPlantStorageField<String> PROVISIONING_SERVICE_LEVEL
      Use with available fluent helpers to apply the ProvisioningServiceLevel field to query operations.
    • CYCLE_COUNTING_INDICATOR_IS_FIXED

      public static final ProductPlantStorageField<Boolean> CYCLE_COUNTING_INDICATOR_IS_FIXED
      Use with available fluent helpers to apply the CycleCountingIndicatorIsFixed field to query operations.
    • PROD_MAXIMUM_STORAGE_PERIOD_UNIT

      public static final ProductPlantStorageField<String> PROD_MAXIMUM_STORAGE_PERIOD_UNIT
      Use with available fluent helpers to apply the ProdMaximumStoragePeriodUnit field to query operations.
    • WRHS_MGMT_PTWY_AND_STK_REMOVAL_STRGY

      public static final ProductPlantStorageField<String> WRHS_MGMT_PTWY_AND_STK_REMOVAL_STRGY
      Use with available fluent helpers to apply the WrhsMgmtPtwyAndStkRemovalStrgy field to query operations.
  • Constructor Details

    • ProductPlantStorage

      public ProductPlantStorage()
    • ProductPlantStorage

      public ProductPlantStorage(@Nullable String product, @Nullable String plant, @Nullable String inventoryForCycleCountInd, @Nullable String provisioningServiceLevel, @Nullable Boolean cycleCountingIndicatorIsFixed, @Nullable String prodMaximumStoragePeriodUnit, @Nullable String wrhsMgmtPtwyAndStkRemovalStrgy)
  • Method Details

    • getType

      @Nonnull public Class<ProductPlantStorage> getType()
      Specified by:
      getType in class VdmObject<ProductPlantStorage>
    • 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 - Product Number
    • setPlant

      public void setPlant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setInventoryForCycleCountInd

      public void setInventoryForCycleCountInd(@Nullable String inventoryForCycleCountInd)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InventoryForCycleCountInd

      Parameters:
      inventoryForCycleCountInd - Physical Inventory Indicator for Cycle Counting
    • setProvisioningServiceLevel

      public void setProvisioningServiceLevel(@Nullable String provisioningServiceLevel)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProvisioningServiceLevel

      Parameters:
      provisioningServiceLevel - IS-R service level
    • setCycleCountingIndicatorIsFixed

      public void setCycleCountingIndicatorIsFixed(@Nullable Boolean cycleCountingIndicatorIsFixed)
      Constraints: none

      Original property name from the Odata EDM: CycleCountingIndicatorIsFixed

      Parameters:
      cycleCountingIndicatorIsFixed - CC indicator is fixed
    • setProdMaximumStoragePeriodUnit

      public void setProdMaximumStoragePeriodUnit(@Nullable String prodMaximumStoragePeriodUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProdMaximumStoragePeriodUnit

      Parameters:
      prodMaximumStoragePeriodUnit - Unit for maximum storage period
    • setWrhsMgmtPtwyAndStkRemovalStrgy

      public void setWrhsMgmtPtwyAndStkRemovalStrgy(@Nullable String wrhsMgmtPtwyAndStkRemovalStrgy)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WrhsMgmtPtwyAndStkRemovalStrgy

      Parameters:
      wrhsMgmtPtwyAndStkRemovalStrgy - Strategy for Putaway and Stock Removal
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductPlantStorageField<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> ProductPlantStorageField<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<ProductPlantStorage>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductPlantStorage.ProductPlantStorageBuilder builder()
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getPlant

      @Nullable public String getPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getInventoryForCycleCountInd

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

      Original property name from the Odata EDM: InventoryForCycleCountInd

      Returns:
      Physical Inventory Indicator for Cycle Counting
    • getProvisioningServiceLevel

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

      Original property name from the Odata EDM: ProvisioningServiceLevel

      Returns:
      IS-R service level
    • getCycleCountingIndicatorIsFixed

      @Nullable public Boolean getCycleCountingIndicatorIsFixed()
      Constraints: none

      Original property name from the Odata EDM: CycleCountingIndicatorIsFixed

      Returns:
      CC indicator is fixed
    • getProdMaximumStoragePeriodUnit

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

      Original property name from the Odata EDM: ProdMaximumStoragePeriodUnit

      Returns:
      Unit for maximum storage period
    • getWrhsMgmtPtwyAndStkRemovalStrgy

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

      Original property name from the Odata EDM: WrhsMgmtPtwyAndStkRemovalStrgy

      Returns:
      Strategy for Putaway and Stock Removal
    • toString

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

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

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

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