java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ATPRlvtProductMRPArea>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productavailabilityinfo.ATPRlvtProductMRPArea
All Implemented Interfaces:
VdmEntitySet

public class ATPRlvtProductMRPArea extends VdmEntity<ATPRlvtProductMRPArea> implements VdmEntitySet
Product Availability per MRP Area

Original entity name from the Odata EDM: ATPRlvtProductMRPArea_Type

  • Field Details

  • Constructor Details

    • ATPRlvtProductMRPArea

      public ATPRlvtProductMRPArea()
    • ATPRlvtProductMRPArea

      public ATPRlvtProductMRPArea(@Nullable String product, @Nullable String mRPArea, @Nullable Collection<SAP__Message> _Messages)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setMRPArea

      public void setMRPArea(@Nullable String mRPArea)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MRPArea

      Parameters:
      mRPArea - MRP Area
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<ATPRlvtProductMRPArea>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ATPRlvtProductMRPArea>
    • determineAvailabilityAtDateTme

      @Nonnull public static BoundAction.SingleToSingle<ATPRlvtProductMRPArea,D_AvailyDetmAvailyAtDteTmeR> determineAvailabilityAtDateTme(@Nonnull String aTPCheckingRule, @Nullable OffsetDateTime productAvailabilityUTCDateTime, @Nonnull D_DetmAvailyDocAttributeP _DocumentAttributes)
      Action that can be applied to any entity object of this class.

      Parameters:
      aTPCheckingRule - Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: ATPCheckingRule

      _DocumentAttributes - Constraints: Not nullable

      Original parameter name from the Odata EDM: _DocumentAttributes

      productAvailabilityUTCDateTime - Constraints: Nullable

      Original parameter name from the Odata EDM: ProductAvailabilityUTCDateTime

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • detmAvailabilityTimeSeries

      @Nonnull public static BoundAction.SingleToCollection<ATPRlvtProductMRPArea,D_AvailyDetmAvailyTmeSersR> detmAvailabilityTimeSeries(@Nonnull String aTPCheckingRule, @Nonnull D_DetmAvailyDocAttributeP _DocumentAttributes)
      Action that can be applied to any entity object of this class.

      Parameters:
      aTPCheckingRule - Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: ATPCheckingRule

      _DocumentAttributes - Constraints: Not nullable

      Original parameter name from the Odata EDM: _DocumentAttributes

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • determineAvailabilityOfQty

      @Nonnull public static BoundAction.SingleToSingle<ATPRlvtProductMRPArea,D_AvailyDetmAvailyOfQtyR> determineAvailabilityOfQty(@Nonnull String aTPCheckingRule, @Nonnull BigDecimal availableQuantityInBaseUnit, @Nonnull String baseUnit, @Nonnull D_DetmAvailyDocAttributeP _DocumentAttributes)
      Action that can be applied to any entity object of this class.

      Parameters:
      baseUnit - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: BaseUnit

      availableQuantityInBaseUnit - Constraints: Not nullable, Precision: 15, Scale: 3

      Original parameter name from the Odata EDM: AvailableQuantityInBaseUnit

      aTPCheckingRule - Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: ATPCheckingRule

      _DocumentAttributes - Constraints: Not nullable

      Original parameter name from the Odata EDM: _DocumentAttributes

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

      @Nonnull public static ATPRlvtProductMRPArea.ATPRlvtProductMRPAreaBuilder builder()
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getMRPArea

      @Nullable public String getMRPArea()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MRPArea

      Returns:
      MRP Area
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ATPRlvtProductMRPArea>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<ATPRlvtProductMRPArea>