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

public class ShipmentItem extends VdmEntity<ShipmentItem> implements VdmEntitySet
Shipment Items and Handling units Assigned to Container

Original entity name from the Odata EDM: ShipmentItem_Type

  • Field Details

  • Constructor Details

    • ShipmentItem

      public ShipmentItem()
    • ShipmentItem

      public ShipmentItem(@Nullable UUID fldLogsShptItemUUID, @Nullable String fldLogsReferenceDocCategory, @Nullable String fldLogsReferenceDocumentNumber, @Nullable String fldLogsShptItmOutbDelivItmID, @Nullable String fldLogsShptItmHndlgUnitID, @Nullable UUID fldLogsContainerUnitUUID, @Nullable String fldLogsShptItmStsCode, @Nullable String fldLogsSrceStorLocID, @Nullable String fldLogsSrcePlnt, @Nullable String fldLogsDestStorLocID, @Nullable String fldLogsDestPlnt, @Nullable LocalDate fldLogsDelivDueDate, @Nullable BigDecimal fldLogsGrossVolume, @Nullable String fldLogsGrossVolumeUnit, @Nullable BigDecimal productGrossWeight, @Nullable String productWeightUnit, @Nullable BigDecimal quantityInBaseUnit, @Nullable String orderQuantityUnit, @Nullable BigDecimal fldLogsShptItemActualWeight, @Nullable String fldLogsShptItemActlWeightUnit, @Nullable Collection<SAP__Message> _Messages, @Nullable ShptContainerUnit to_ShptCtnUnit)
  • Method Details

    • getType

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

      public void setFldLogsShptItemUUID(@Nullable UUID fldLogsShptItemUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsShptItemUUID

      Parameters:
      fldLogsShptItemUUID - Field Logistics: Shipment Item ID
    • setFldLogsReferenceDocCategory

      public void setFldLogsReferenceDocCategory(@Nullable String fldLogsReferenceDocCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FldLogsReferenceDocCategory

      Parameters:
      fldLogsReferenceDocCategory - Field Logistics: Reference Document Type for Shipment
    • setFldLogsReferenceDocumentNumber

      public void setFldLogsReferenceDocumentNumber(@Nullable String fldLogsReferenceDocumentNumber)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: FldLogsReferenceDocumentNumber

      Parameters:
      fldLogsReferenceDocumentNumber - Reference Document Number
    • setFldLogsShptItmOutbDelivItmID

      public void setFldLogsShptItmOutbDelivItmID(@Nullable String fldLogsShptItmOutbDelivItmID)
      Constraints: Not nullable, Maximum length: 17

      Original property name from the Odata EDM: FldLogsShptItmOutbDelivItmID

      Parameters:
      fldLogsShptItmOutbDelivItmID - Field Logistics: Shipment Item OBD Item ID
    • setFldLogsShptItmHndlgUnitID

      public void setFldLogsShptItmHndlgUnitID(@Nullable String fldLogsShptItmHndlgUnitID)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: FldLogsShptItmHndlgUnitID

      Parameters:
      fldLogsShptItmHndlgUnitID - Field Logistics: Shipment Item Handling Unit ID
    • setFldLogsContainerUnitUUID

      public void setFldLogsContainerUnitUUID(@Nullable UUID fldLogsContainerUnitUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsContainerUnitUUID

      Parameters:
      fldLogsContainerUnitUUID - Field Logistics: Container Unit ID
    • setFldLogsShptItmStsCode

      public void setFldLogsShptItmStsCode(@Nullable String fldLogsShptItmStsCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FldLogsShptItmStsCode

      Parameters:
      fldLogsShptItmStsCode - Field Logistics: Shipment Item Status Code
    • setFldLogsSrceStorLocID

      public void setFldLogsSrceStorLocID(@Nullable String fldLogsSrceStorLocID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsSrceStorLocID

      Parameters:
      fldLogsSrceStorLocID - Storage Location
    • setFldLogsSrcePlnt

      public void setFldLogsSrcePlnt(@Nullable String fldLogsSrcePlnt)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsSrcePlnt

      Parameters:
      fldLogsSrcePlnt - Plant
    • setFldLogsDestStorLocID

      public void setFldLogsDestStorLocID(@Nullable String fldLogsDestStorLocID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsDestStorLocID

      Parameters:
      fldLogsDestStorLocID - Storage Location
    • setFldLogsDestPlnt

      public void setFldLogsDestPlnt(@Nullable String fldLogsDestPlnt)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsDestPlnt

      Parameters:
      fldLogsDestPlnt - Plant
    • setFldLogsDelivDueDate

      public void setFldLogsDelivDueDate(@Nullable LocalDate fldLogsDelivDueDate)
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsDelivDueDate

      Parameters:
      fldLogsDelivDueDate - Item Delivery Date
    • setFldLogsGrossVolume

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

      Original property name from the Odata EDM: FldLogsGrossVolume

      Parameters:
      fldLogsGrossVolume - Volume
    • setFldLogsGrossVolumeUnit

      public void setFldLogsGrossVolumeUnit(@Nullable String fldLogsGrossVolumeUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FldLogsGrossVolumeUnit

      Parameters:
      fldLogsGrossVolumeUnit - Volume Unit
    • setProductGrossWeight

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

      Original property name from the Odata EDM: ProductGrossWeight

      Parameters:
      productGrossWeight - Gross Weight
    • setProductWeightUnit

      public void setProductWeightUnit(@Nullable String productWeightUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProductWeightUnit

      Parameters:
      productWeightUnit - Unit of Weight
    • setQuantityInBaseUnit

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

      Original property name from the Odata EDM: QuantityInBaseUnit

      Parameters:
      quantityInBaseUnit - Quantity
    • setOrderQuantityUnit

      public void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: OrderQuantityUnit

      Parameters:
      orderQuantityUnit - Sales Unit
    • setFldLogsShptItemActualWeight

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

      Original property name from the Odata EDM: FldLogsShptItemActualWeight

      Parameters:
      fldLogsShptItemActualWeight - Gross Weight
    • setFldLogsShptItemActlWeightUnit

      public void setFldLogsShptItemActlWeightUnit(@Nullable String fldLogsShptItemActlWeightUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FldLogsShptItemActlWeightUnit

      Parameters:
      fldLogsShptItemActlWeightUnit - Base Unit of Measure
    • 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<ShipmentItem>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity ShipmentItem 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 _ShptCtnUnit is already loaded, the result will contain the ShptContainerUnit entity. If not, an Option with result state empty is returned.
    • setShptCtnUnit

      public void setShptCtnUnit(ShptContainerUnit value)
      Overwrites the associated ShptContainerUnit entity for the loaded navigation property _ShptCtnUnit.
      Parameters:
      value - New ShptContainerUnit entity.
    • deleteAssignment

      @Nonnull public static BoundAction.SingleToSingle<ShipmentItem,ShipmentItem> deleteAssignment()
      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

      @Nonnull public static ShipmentItem.ShipmentItemBuilder builder()
    • getFldLogsShptItemUUID

      @Nullable public UUID getFldLogsShptItemUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsShptItemUUID

      Returns:
      Field Logistics: Shipment Item ID
    • getFldLogsReferenceDocCategory

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

      Original property name from the Odata EDM: FldLogsReferenceDocCategory

      Returns:
      Field Logistics: Reference Document Type for Shipment
    • getFldLogsReferenceDocumentNumber

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

      Original property name from the Odata EDM: FldLogsReferenceDocumentNumber

      Returns:
      Reference Document Number
    • getFldLogsShptItmOutbDelivItmID

      @Nullable public String getFldLogsShptItmOutbDelivItmID()
      Constraints: Not nullable, Maximum length: 17

      Original property name from the Odata EDM: FldLogsShptItmOutbDelivItmID

      Returns:
      Field Logistics: Shipment Item OBD Item ID
    • getFldLogsShptItmHndlgUnitID

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

      Original property name from the Odata EDM: FldLogsShptItmHndlgUnitID

      Returns:
      Field Logistics: Shipment Item Handling Unit ID
    • getFldLogsContainerUnitUUID

      @Nullable public UUID getFldLogsContainerUnitUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsContainerUnitUUID

      Returns:
      Field Logistics: Container Unit ID
    • getFldLogsShptItmStsCode

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

      Original property name from the Odata EDM: FldLogsShptItmStsCode

      Returns:
      Field Logistics: Shipment Item Status Code
    • getFldLogsSrceStorLocID

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

      Original property name from the Odata EDM: FldLogsSrceStorLocID

      Returns:
      Storage Location
    • getFldLogsSrcePlnt

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

      Original property name from the Odata EDM: FldLogsSrcePlnt

      Returns:
      Plant
    • getFldLogsDestStorLocID

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

      Original property name from the Odata EDM: FldLogsDestStorLocID

      Returns:
      Storage Location
    • getFldLogsDestPlnt

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

      Original property name from the Odata EDM: FldLogsDestPlnt

      Returns:
      Plant
    • getFldLogsDelivDueDate

      @Nullable public LocalDate getFldLogsDelivDueDate()
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsDelivDueDate

      Returns:
      Item Delivery Date
    • getFldLogsGrossVolume

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

      Original property name from the Odata EDM: FldLogsGrossVolume

      Returns:
      Volume
    • getFldLogsGrossVolumeUnit

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

      Original property name from the Odata EDM: FldLogsGrossVolumeUnit

      Returns:
      Volume Unit
    • getProductGrossWeight

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

      Original property name from the Odata EDM: ProductGrossWeight

      Returns:
      Gross Weight
    • getProductWeightUnit

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

      Original property name from the Odata EDM: ProductWeightUnit

      Returns:
      Unit of Weight
    • getQuantityInBaseUnit

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

      Original property name from the Odata EDM: QuantityInBaseUnit

      Returns:
      Quantity
    • getOrderQuantityUnit

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

      Original property name from the Odata EDM: OrderQuantityUnit

      Returns:
      Sales Unit
    • getFldLogsShptItemActualWeight

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

      Original property name from the Odata EDM: FldLogsShptItemActualWeight

      Returns:
      Gross Weight
    • getFldLogsShptItemActlWeightUnit

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

      Original property name from the Odata EDM: FldLogsShptItemActlWeightUnit

      Returns:
      Base Unit of Measure
    • 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<ShipmentItem>
    • equals

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

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

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

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