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

public class WhseInboundDeliveryHead extends VdmEntity<WhseInboundDeliveryHead> implements VdmEntitySet
Warehouse Inbound Delivery Head

Original entity name from the Odata EDM: WhseInboundDeliveryHeadType

  • Field Details

  • Constructor Details

    • WhseInboundDeliveryHead

      public WhseInboundDeliveryHead()
    • WhseInboundDeliveryHead

      public WhseInboundDeliveryHead(@Nullable String eWMInboundDelivery, @Nullable String eWMWarehouse, @Nullable String eWMDeliveryDocumentCategory, @Nullable String eWMDeliveryDocumentType, @Nullable String shipFromParty, @Nullable String shipFromPartyName, @Nullable String carrier, @Nullable String carrierName, @Nullable String advancedShippingNotification, @Nullable OffsetDateTime plannedDeliveryUTCDateTime, @Nullable String receivingOffice, @Nullable OffsetDateTime eWMDelivLastChangeUTCDateTime, @Nullable Collection<SAP__Message> _Messages, List<WhseInboundDeliveryItem> to_WhseInbDeliveryItem)
  • Method Details

    • getType

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

      public void setEWMInboundDelivery(@Nullable String eWMInboundDelivery)
      (Key Field) Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: EWMInboundDelivery

      Parameters:
      eWMInboundDelivery - Document Number
    • setEWMWarehouse

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

      Original property name from the Odata EDM: EWMWarehouse

      Parameters:
      eWMWarehouse - Warehouse Number/Warehouse Complex
    • setEWMDeliveryDocumentCategory

      public void setEWMDeliveryDocumentCategory(@Nullable String eWMDeliveryDocumentCategory)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EWMDeliveryDocumentCategory

      Parameters:
      eWMDeliveryDocumentCategory - Document Category
    • setEWMDeliveryDocumentType

      public void setEWMDeliveryDocumentType(@Nullable String eWMDeliveryDocumentType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMDeliveryDocumentType

      Parameters:
      eWMDeliveryDocumentType - Document Type
    • setShipFromParty

      public void setShipFromParty(@Nullable String shipFromParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ShipFromParty

      Parameters:
      shipFromParty - Business Partner Number
    • setShipFromPartyName

      public void setShipFromPartyName(@Nullable String shipFromPartyName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ShipFromPartyName

      Parameters:
      shipFromPartyName - Ship-From Party Name
    • setCarrier

      public void setCarrier(@Nullable String carrier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Carrier

      Parameters:
      carrier - Business Partner Number
    • setCarrierName

      public void setCarrierName(@Nullable String carrierName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CarrierName

      Parameters:
      carrierName - Carrier Name
    • setAdvancedShippingNotification

      public void setAdvancedShippingNotification(@Nullable String advancedShippingNotification)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: AdvancedShippingNotification

      Parameters:
      advancedShippingNotification - Document Number
    • setPlannedDeliveryUTCDateTime

      public void setPlannedDeliveryUTCDateTime(@Nullable OffsetDateTime plannedDeliveryUTCDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: PlannedDeliveryUTCDateTime

      Parameters:
      plannedDeliveryUTCDateTime - Creation Date/Time
    • setReceivingOffice

      public void setReceivingOffice(@Nullable String receivingOffice)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ReceivingOffice

      Parameters:
      receivingOffice - Location Number
    • setEWMDelivLastChangeUTCDateTime

      public void setEWMDelivLastChangeUTCDateTime(@Nullable OffsetDateTime eWMDelivLastChangeUTCDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: EWMDelivLastChangeUTCDateTime

      Parameters:
      eWMDelivLastChangeUTCDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • 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<WhseInboundDeliveryHead>
    • getKey

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<WhseInboundDeliveryItem>> getWhseInbDeliveryItemIfPresent()
      Retrieval of associated WhseInboundDeliveryItem entities (one to many). This corresponds to the OData navigation property _WhseInbDeliveryItem.

      If the navigation property for an entity WhseInboundDeliveryHead 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 _WhseInbDeliveryItem is already loaded, the result will contain the WhseInboundDeliveryItem entities. If not, an Option with result state empty is returned.
    • setWhseInbDeliveryItem

      public void setWhseInbDeliveryItem(@Nonnull List<WhseInboundDeliveryItem> value)
      Overwrites the list of associated WhseInboundDeliveryItem entities for the loaded navigation property _WhseInbDeliveryItem.

      If the navigation property _WhseInbDeliveryItem of a queried WhseInboundDeliveryHead is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of WhseInboundDeliveryItem entities.
    • addWhseInbDeliveryItem

      public void addWhseInbDeliveryItem(WhseInboundDeliveryItem... entity)
      Adds elements to the list of associated WhseInboundDeliveryItem entities. This corresponds to the OData navigation property _WhseInbDeliveryItem.

      If the navigation property _WhseInbDeliveryItem of a queried WhseInboundDeliveryHead is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of WhseInboundDeliveryItem entities.
    • postGoodsReceipt

      @Nonnull public static BoundAction.SingleToSingle<WhseInboundDeliveryHead,Void> postGoodsReceipt()
      Action that can be applied to any entity object of this class.

      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.
    • reverseGoodsReceipt

      @Nonnull public static BoundAction.SingleToSingle<WhseInboundDeliveryHead,Void> reverseGoodsReceipt()
      Action that can be applied to any entity object of this class.

      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

    • getEWMInboundDelivery

      @Nullable public String getEWMInboundDelivery()
      (Key Field) Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: EWMInboundDelivery

      Returns:
      Document Number
    • getEWMWarehouse

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

      Original property name from the Odata EDM: EWMWarehouse

      Returns:
      Warehouse Number/Warehouse Complex
    • getEWMDeliveryDocumentCategory

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

      Original property name from the Odata EDM: EWMDeliveryDocumentCategory

      Returns:
      Document Category
    • getEWMDeliveryDocumentType

      @Nullable public String getEWMDeliveryDocumentType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMDeliveryDocumentType

      Returns:
      Document Type
    • getShipFromParty

      @Nullable public String getShipFromParty()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ShipFromParty

      Returns:
      Business Partner Number
    • getShipFromPartyName

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

      Original property name from the Odata EDM: ShipFromPartyName

      Returns:
      Ship-From Party Name
    • getCarrier

      @Nullable public String getCarrier()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Carrier

      Returns:
      Business Partner Number
    • getCarrierName

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

      Original property name from the Odata EDM: CarrierName

      Returns:
      Carrier Name
    • getAdvancedShippingNotification

      @Nullable public String getAdvancedShippingNotification()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: AdvancedShippingNotification

      Returns:
      Document Number
    • getPlannedDeliveryUTCDateTime

      @Nullable public OffsetDateTime getPlannedDeliveryUTCDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: PlannedDeliveryUTCDateTime

      Returns:
      Creation Date/Time
    • getReceivingOffice

      @Nullable public String getReceivingOffice()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ReceivingOffice

      Returns:
      Location Number
    • getEWMDelivLastChangeUTCDateTime

      @Nullable public OffsetDateTime getEWMDelivLastChangeUTCDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: EWMDelivLastChangeUTCDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • 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<WhseInboundDeliveryHead>
    • equals

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

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

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

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