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

public class ReturnsInspectionItem extends VdmEntity<ReturnsInspectionItem> implements VdmEntitySet
Returns Inspection Item

Original entity name from the Odata EDM: ReturnsInspectionItem_Type

  • Field Details

  • Constructor Details

    • ReturnsInspectionItem

      public ReturnsInspectionItem()
    • ReturnsInspectionItem

      public ReturnsInspectionItem(@Nullable String returnsInspection, @Nullable String returnsInspectionItem, @Nullable String returnsDelivery, @Nullable String returnsDeliveryItem, @Nullable String returnsInspectionItemStatus, @Nullable String retsInspItemStsTxt, @Nullable String retsFllwUpActyItmSts, @Nullable String retsFllwUpActyItmStsTxt, @Nullable String product, @Nullable String inspectionCode, @Nullable String returnsInspectionComment, @Nullable LocalDate inspectionDate, @Nullable String productInspectorName, @Nullable String inspectionLeadingUnitCode, @Nullable BigDecimal inspectedProductQtyInBaseUnit, @Nullable String baseUnit, @Nullable String returnsFollowUpActivity, @Nullable BigDecimal inspectedProductQtyInSalesUnit, @Nullable String salesUnit, @Nullable BigDecimal inspectedProductQuantity, @Nullable String inspectedProductUnit, @Nullable String targetPlant, @Nullable String targetStorageLocation, @Nullable String targetStockType, @Nullable String tgtProdForGdsMvtPostg, @Nullable String retsFllwUpActyRespPersnName, @Nullable LocalDate retsFllwUpActyReleasedDate, @Nullable ReturnsInspection to_ReturnsInspection)
  • Method Details

    • getType

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

      public void setReturnsInspection(@Nullable String returnsInspection)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ReturnsInspection

      Parameters:
      returnsInspection - Inspection Outcome number
    • setReturnsInspectionItem

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

      Original property name from the Odata EDM: ReturnsInspectionItem

      Parameters:
      returnsInspectionItem - Inspection Item Number
    • setReturnsDelivery

      public void setReturnsDelivery(@Nullable String returnsDelivery)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReturnsDelivery

      Parameters:
      returnsDelivery - Delivery
    • setReturnsDeliveryItem

      public void setReturnsDeliveryItem(@Nullable String returnsDeliveryItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ReturnsDeliveryItem

      Parameters:
      returnsDeliveryItem - Delivery Item
    • setReturnsInspectionItemStatus

      public void setReturnsInspectionItemStatus(@Nullable String returnsInspectionItemStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ReturnsInspectionItemStatus

      Parameters:
      returnsInspectionItemStatus - Inspection Status
    • setRetsInspItemStsTxt

      public void setRetsInspItemStsTxt(@Nullable String retsInspItemStsTxt)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RetsInspItemStsTxt

      Parameters:
      retsInspItemStsTxt - Char 60
    • setRetsFllwUpActyItmSts

      public void setRetsFllwUpActyItmSts(@Nullable String retsFllwUpActyItmSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RetsFllwUpActyItmSts

      Parameters:
      retsFllwUpActyItmSts - Logistical Follow-Up Status
    • setRetsFllwUpActyItmStsTxt

      public void setRetsFllwUpActyItmStsTxt(@Nullable String retsFllwUpActyItmStsTxt)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RetsFllwUpActyItmStsTxt

      Parameters:
      retsFllwUpActyItmStsTxt - Char 60
    • setProduct

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

      Original property name from the Odata EDM: Product

      Parameters:
      product - Material Number
    • setInspectionCode

      public void setInspectionCode(@Nullable String inspectionCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: InspectionCode

      Parameters:
      inspectionCode - Inspection Outcome: Code Decision
    • setReturnsInspectionComment

      public void setReturnsInspectionComment(@Nullable String returnsInspectionComment)
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: ReturnsInspectionComment

      Parameters:
      returnsInspectionComment - The returnsInspectionComment to set.
    • setInspectionDate

      public void setInspectionDate(@Nullable LocalDate inspectionDate)
      Constraints: Nullable

      Original property name from the Odata EDM: InspectionDate

      Parameters:
      inspectionDate - Inspection Date
    • setProductInspectorName

      public void setProductInspectorName(@Nullable String productInspectorName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ProductInspectorName

      Parameters:
      productInspectorName - Person Responsible for Inspection
    • setInspectionLeadingUnitCode

      public void setInspectionLeadingUnitCode(@Nullable String inspectionLeadingUnitCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InspectionLeadingUnitCode

      Parameters:
      inspectionLeadingUnitCode - Indicator for Leading UoM in Inspection
    • setInspectedProductQtyInBaseUnit

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

      Original property name from the Odata EDM: InspectedProductQtyInBaseUnit

      Parameters:
      inspectedProductQtyInBaseUnit - Inspection Outcome: Inspected Quantity
    • setBaseUnit

      public void setBaseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Parameters:
      baseUnit - Base Unit of Measure
    • setReturnsFollowUpActivity

      public void setReturnsFollowUpActivity(@Nullable String returnsFollowUpActivity)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReturnsFollowUpActivity

      Parameters:
      returnsFollowUpActivity - Inspection Outcome: Code Follow-up activity
    • setInspectedProductQtyInSalesUnit

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

      Original property name from the Odata EDM: InspectedProductQtyInSalesUnit

      Parameters:
      inspectedProductQtyInSalesUnit - Inspected Quantity in Sales Unit of Measure
    • setSalesUnit

      public void setSalesUnit(@Nullable String salesUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesUnit

      Parameters:
      salesUnit - Sales Unit
    • setInspectedProductQuantity

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

      Original property name from the Odata EDM: InspectedProductQuantity

      Parameters:
      inspectedProductQuantity - Inspection Outcome: Inspected Quantity
    • setInspectedProductUnit

      public void setInspectedProductUnit(@Nullable String inspectedProductUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: InspectedProductUnit

      Parameters:
      inspectedProductUnit - Base Unit of Measure
    • setTargetPlant

      public void setTargetPlant(@Nullable String targetPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TargetPlant

      Parameters:
      targetPlant - Target Plant for Transfer to Specified Stock
    • setTargetStorageLocation

      public void setTargetStorageLocation(@Nullable String targetStorageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TargetStorageLocation

      Parameters:
      targetStorageLocation - Storage Location
    • setTargetStockType

      public void setTargetStockType(@Nullable String targetStockType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TargetStockType

      Parameters:
      targetStockType - Stock Type
    • setTgtProdForGdsMvtPostg

      public void setTgtProdForGdsMvtPostg(@Nullable String tgtProdForGdsMvtPostg)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: TgtProdForGdsMvtPostg

      Parameters:
      tgtProdForGdsMvtPostg - Target Material for Transfer to Specified Stock
    • setRetsFllwUpActyRespPersnName

      public void setRetsFllwUpActyRespPersnName(@Nullable String retsFllwUpActyRespPersnName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: RetsFllwUpActyRespPersnName

      Parameters:
      retsFllwUpActyRespPersnName - Person Responsible for Logistical Follow-Up
    • setRetsFllwUpActyReleasedDate

      public void setRetsFllwUpActyReleasedDate(@Nullable LocalDate retsFllwUpActyReleasedDate)
      Constraints: Nullable

      Original property name from the Odata EDM: RetsFllwUpActyReleasedDate

      Parameters:
      retsFllwUpActyReleasedDate - Decision Date of Logistical Follow-Up
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity ReturnsInspectionItem 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 _ReturnsInspection is already loaded, the result will contain the ReturnsInspection entity. If not, an Option with result state empty is returned.
    • setReturnsInspection

      public void setReturnsInspection(ReturnsInspection value)
      Overwrites the associated ReturnsInspection entity for the loaded navigation property _ReturnsInspection.
      Parameters:
      value - New ReturnsInspection entity.
    • builder

      @Nonnull public static ReturnsInspectionItem.ReturnsInspectionItemBuilder builder()
    • getReturnsInspection

      @Nullable public String getReturnsInspection()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ReturnsInspection

      Returns:
      Inspection Outcome number
    • getReturnsInspectionItem

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

      Original property name from the Odata EDM: ReturnsInspectionItem

      Returns:
      Inspection Item Number
    • getReturnsDelivery

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

      Original property name from the Odata EDM: ReturnsDelivery

      Returns:
      Delivery
    • getReturnsDeliveryItem

      @Nullable public String getReturnsDeliveryItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ReturnsDeliveryItem

      Returns:
      Delivery Item
    • getReturnsInspectionItemStatus

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

      Original property name from the Odata EDM: ReturnsInspectionItemStatus

      Returns:
      Inspection Status
    • getRetsInspItemStsTxt

      @Nullable public String getRetsInspItemStsTxt()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RetsInspItemStsTxt

      Returns:
      Char 60
    • getRetsFllwUpActyItmSts

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

      Original property name from the Odata EDM: RetsFllwUpActyItmSts

      Returns:
      Logistical Follow-Up Status
    • getRetsFllwUpActyItmStsTxt

      @Nullable public String getRetsFllwUpActyItmStsTxt()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: RetsFllwUpActyItmStsTxt

      Returns:
      Char 60
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getInspectionCode

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

      Original property name from the Odata EDM: InspectionCode

      Returns:
      Inspection Outcome: Code Decision
    • getReturnsInspectionComment

      @Nullable public String getReturnsInspectionComment()
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: ReturnsInspectionComment

      Returns:
      The returnsInspectionComment contained in this VdmEntity.
    • getInspectionDate

      @Nullable public LocalDate getInspectionDate()
      Constraints: Nullable

      Original property name from the Odata EDM: InspectionDate

      Returns:
      Inspection Date
    • getProductInspectorName

      @Nullable public String getProductInspectorName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: ProductInspectorName

      Returns:
      Person Responsible for Inspection
    • getInspectionLeadingUnitCode

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

      Original property name from the Odata EDM: InspectionLeadingUnitCode

      Returns:
      Indicator for Leading UoM in Inspection
    • getInspectedProductQtyInBaseUnit

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

      Original property name from the Odata EDM: InspectedProductQtyInBaseUnit

      Returns:
      Inspection Outcome: Inspected Quantity
    • getBaseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • getReturnsFollowUpActivity

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

      Original property name from the Odata EDM: ReturnsFollowUpActivity

      Returns:
      Inspection Outcome: Code Follow-up activity
    • getInspectedProductQtyInSalesUnit

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

      Original property name from the Odata EDM: InspectedProductQtyInSalesUnit

      Returns:
      Inspected Quantity in Sales Unit of Measure
    • getSalesUnit

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

      Original property name from the Odata EDM: SalesUnit

      Returns:
      Sales Unit
    • getInspectedProductQuantity

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

      Original property name from the Odata EDM: InspectedProductQuantity

      Returns:
      Inspection Outcome: Inspected Quantity
    • getInspectedProductUnit

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

      Original property name from the Odata EDM: InspectedProductUnit

      Returns:
      Base Unit of Measure
    • getTargetPlant

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

      Original property name from the Odata EDM: TargetPlant

      Returns:
      Target Plant for Transfer to Specified Stock
    • getTargetStorageLocation

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

      Original property name from the Odata EDM: TargetStorageLocation

      Returns:
      Storage Location
    • getTargetStockType

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

      Original property name from the Odata EDM: TargetStockType

      Returns:
      Stock Type
    • getTgtProdForGdsMvtPostg

      @Nullable public String getTgtProdForGdsMvtPostg()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: TgtProdForGdsMvtPostg

      Returns:
      Target Material for Transfer to Specified Stock
    • getRetsFllwUpActyRespPersnName

      @Nullable public String getRetsFllwUpActyRespPersnName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: RetsFllwUpActyRespPersnName

      Returns:
      Person Responsible for Logistical Follow-Up
    • getRetsFllwUpActyReleasedDate

      @Nullable public LocalDate getRetsFllwUpActyReleasedDate()
      Constraints: Nullable

      Original property name from the Odata EDM: RetsFllwUpActyReleasedDate

      Returns:
      Decision Date of Logistical Follow-Up
    • toString

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

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

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

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

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