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

public class WhsePhysicalInventorySrlNmbr extends VdmEntity<WhsePhysicalInventorySrlNmbr> implements VdmEntitySet
Physical Inventory Serial Number

Original entity name from the Odata EDM: WhsePhysicalInventorySrlNmbrType

  • Field Details

  • Constructor Details

    • WhsePhysicalInventorySrlNmbr

      public WhsePhysicalInventorySrlNmbr()
    • WhsePhysicalInventorySrlNmbr

      public WhsePhysicalInventorySrlNmbr(@Nullable String eWMWarehouse, @Nullable String physicalInventoryDocNumber, @Nullable String physicalInventoryDocYear, @Nullable String physicalInventoryItemNumber, @Nullable Integer lineIndexOfPInvItem, @Nullable Integer pInvQuantitySequence, @Nullable Integer eWMPhysInvtrySrlNmbrSqnc, @Nullable String eWMSerialNumber, @Nullable Collection<SAP__Message> _Messages, @Nullable WhsePhysicalInventoryCountItem to_WhsePhysicalInventoryCntItem, @Nullable WhsePhysicalInventoryItem to_WhsePhysicalInventoryItem)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: EWMWarehouse

      Parameters:
      eWMWarehouse - Warehouse Number/Warehouse Complex
    • setPhysicalInventoryDocNumber

      public void setPhysicalInventoryDocNumber(@Nullable String physicalInventoryDocNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: PhysicalInventoryDocNumber

      Parameters:
      physicalInventoryDocNumber - Physical Inventory Document Number
    • setPhysicalInventoryDocYear

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

      Original property name from the Odata EDM: PhysicalInventoryDocYear

      Parameters:
      physicalInventoryDocYear - Document Year of Physical Inventory Document
    • setPhysicalInventoryItemNumber

      public void setPhysicalInventoryItemNumber(@Nullable String physicalInventoryItemNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PhysicalInventoryItemNumber

      Parameters:
      physicalInventoryItemNumber - Item
    • setLineIndexOfPInvItem

      public void setLineIndexOfPInvItem(@Nullable Integer lineIndexOfPInvItem)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LineIndexOfPInvItem

      Parameters:
      lineIndexOfPInvItem - Row Index of Internal Tables
    • setPInvQuantitySequence

      public void setPInvQuantitySequence(@Nullable Integer pInvQuantitySequence)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PInvQuantitySequence

      Parameters:
      pInvQuantitySequence - Row Index of Internal Tables
    • setEWMPhysInvtrySrlNmbrSqnc

      public void setEWMPhysInvtrySrlNmbrSqnc(@Nullable Integer eWMPhysInvtrySrlNmbrSqnc)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: EWMPhysInvtrySrlNmbrSqnc

      Parameters:
      eWMPhysInvtrySrlNmbrSqnc - Row Index of Internal Tables
    • setEWMSerialNumber

      public void setEWMSerialNumber(@Nullable String eWMSerialNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: EWMSerialNumber

      Parameters:
      eWMSerialNumber - Serial Number
    • 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<WhsePhysicalInventorySrlNmbr>
    • getKey

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<WhsePhysicalInventorySrlNmbr>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<WhsePhysicalInventorySrlNmbr>
    • getWhsePhysicalInventoryCntItemIfPresent

      @Nonnull public io.vavr.control.Option<WhsePhysicalInventoryCountItem> getWhsePhysicalInventoryCntItemIfPresent()
      Retrieval of associated WhsePhysicalInventoryCountItem entity (one to one). This corresponds to the OData navigation property _WhsePhysicalInventoryCntItem.

      If the navigation property for an entity WhsePhysicalInventorySrlNmbr has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _WhsePhysicalInventoryCntItem is already loaded, the result will contain the WhsePhysicalInventoryCountItem entity. If not, an Option with result state empty is returned.
    • setWhsePhysicalInventoryCntItem

      public void setWhsePhysicalInventoryCntItem(WhsePhysicalInventoryCountItem value)
      Overwrites the associated WhsePhysicalInventoryCountItem entity for the loaded navigation property _WhsePhysicalInventoryCntItem.
      Parameters:
      value - New WhsePhysicalInventoryCountItem entity.
    • getWhsePhysicalInventoryItemIfPresent

      @Nonnull public io.vavr.control.Option<WhsePhysicalInventoryItem> getWhsePhysicalInventoryItemIfPresent()
      Retrieval of associated WhsePhysicalInventoryItem entity (one to one). This corresponds to the OData navigation property _WhsePhysicalInventoryItem.

      If the navigation property for an entity WhsePhysicalInventorySrlNmbr has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _WhsePhysicalInventoryItem is already loaded, the result will contain the WhsePhysicalInventoryItem entity. If not, an Option with result state empty is returned.
    • setWhsePhysicalInventoryItem

      public void setWhsePhysicalInventoryItem(WhsePhysicalInventoryItem value)
      Overwrites the associated WhsePhysicalInventoryItem entity for the loaded navigation property _WhsePhysicalInventoryItem.
      Parameters:
      value - New WhsePhysicalInventoryItem entity.
    • builder

    • getEWMWarehouse

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

      Original property name from the Odata EDM: EWMWarehouse

      Returns:
      Warehouse Number/Warehouse Complex
    • getPhysicalInventoryDocNumber

      @Nullable public String getPhysicalInventoryDocNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: PhysicalInventoryDocNumber

      Returns:
      Physical Inventory Document Number
    • getPhysicalInventoryDocYear

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

      Original property name from the Odata EDM: PhysicalInventoryDocYear

      Returns:
      Document Year of Physical Inventory Document
    • getPhysicalInventoryItemNumber

      @Nullable public String getPhysicalInventoryItemNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PhysicalInventoryItemNumber

      Returns:
      Item
    • getLineIndexOfPInvItem

      @Nullable public Integer getLineIndexOfPInvItem()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LineIndexOfPInvItem

      Returns:
      Row Index of Internal Tables
    • getPInvQuantitySequence

      @Nullable public Integer getPInvQuantitySequence()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PInvQuantitySequence

      Returns:
      Row Index of Internal Tables
    • getEWMPhysInvtrySrlNmbrSqnc

      @Nullable public Integer getEWMPhysInvtrySrlNmbrSqnc()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: EWMPhysInvtrySrlNmbrSqnc

      Returns:
      Row Index of Internal Tables
    • getEWMSerialNumber

      @Nullable public String getEWMSerialNumber()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: EWMSerialNumber

      Returns:
      Serial Number
    • 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<WhsePhysicalInventorySrlNmbr>
    • equals

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

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

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

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