Class ProductPlantInspTypSetting

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

public class ProductPlantInspTypSetting extends VdmEntity<ProductPlantInspTypSetting> implements VdmEntitySet
Inspection Type Settings

Original entity name from the Odata EDM: ProductPlantInspTypSetting_Type

  • Field Details

  • Constructor Details

    • ProductPlantInspTypSetting

      public ProductPlantInspTypSetting()
    • ProductPlantInspTypSetting

      public ProductPlantInspTypSetting(@Nullable String inspectionLotType, @Nullable String product, @Nullable String plant, @Nullable Boolean inspLotIsTaskListRequired, @Nullable Boolean inspLotHasMaterialSpec, @Nullable Boolean inspLotHasConfignSpecification, @Nullable Boolean inspLotHasBatchCharc, @Nullable Boolean inspLotHasAutomSpecAssgmt, @Nullable Boolean inspLotHasCharc, @Nullable Boolean hasPostToInspectionStock, @Nullable Boolean inspLotIsAutomUsgeDcsnPossible, @Nullable String samplingProcedure, @Nullable String inspLotDynamicRule, @Nullable BigDecimal inspLotSampleQuantityInPercent, @Nullable Boolean inspectionLotIsFullInspection, @Nullable Boolean inspLotSkipIsAllowed, @Nullable Boolean inspLotHasManualSampleSize, @Nullable Boolean inspLotIsSmplCalcMnlTriggered, @Nullable Boolean inspLotIsSerialNmbrPossible, @Nullable BigDecimal inspLotDurationInDays, @Nullable String inspLotSummaryControl, @Nullable String inspQualityScoreProcedure, @Nullable BigDecimal inspLotAcceptedScrapRatioInPct, @Nullable Boolean inspectionLotHasAppraisalCosts, @Nullable String qualityCostCollector, @Nullable Boolean prodInspTypeSettingIsActive, @Nullable Boolean inspTypeIsPrfrd, @Nullable Boolean inspLotHasHandlingUnit, @Nullable Boolean inspLotHasMultipleSpec, @Nullable String inspLotOfEWMSummaryControl, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
  • Method Details

    • getType

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

      public void setInspectionLotType(@Nullable String inspectionLotType)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: InspectionLotType

      Parameters:
      inspectionLotType - Inspection Type
    • 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 - Material Number
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setInspLotIsTaskListRequired

      public void setInspLotIsTaskListRequired(@Nullable Boolean inspLotIsTaskListRequired)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsTaskListRequired

      Parameters:
      inspLotIsTaskListRequired - Inspection with Task List
    • setInspLotHasMaterialSpec

      public void setInspLotHasMaterialSpec(@Nullable Boolean inspLotHasMaterialSpec)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasMaterialSpec

      Parameters:
      inspLotHasMaterialSpec - Inspect with Material Specification
    • setInspLotHasConfignSpecification

      public void setInspLotHasConfignSpecification(@Nullable Boolean inspLotHasConfignSpecification)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasConfignSpecification

      Parameters:
      inspLotHasConfignSpecification - Inspection Specifications from Configuration
    • setInspLotHasBatchCharc

      public void setInspLotHasBatchCharc(@Nullable Boolean inspLotHasBatchCharc)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasBatchCharc

      Parameters:
      inspLotHasBatchCharc - Inspection Specifications from Batch Determination
    • setInspLotHasAutomSpecAssgmt

      public void setInspLotHasAutomSpecAssgmt(@Nullable Boolean inspLotHasAutomSpecAssgmt)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasAutomSpecAssgmt

      Parameters:
      inspLotHasAutomSpecAssgmt - Automatic Specification Assignment
    • setInspLotHasCharc

      public void setInspLotHasCharc(@Nullable Boolean inspLotHasCharc)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasCharc

      Parameters:
      inspLotHasCharc - Inspect by Characteristics
    • setHasPostToInspectionStock

      public void setHasPostToInspectionStock(@Nullable Boolean hasPostToInspectionStock)
      Constraints: Not nullable

      Original property name from the Odata EDM: HasPostToInspectionStock

      Parameters:
      hasPostToInspectionStock - Post to Inspection Stock
    • setInspLotIsAutomUsgeDcsnPossible

      public void setInspLotIsAutomUsgeDcsnPossible(@Nullable Boolean inspLotIsAutomUsgeDcsnPossible)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsAutomUsgeDcsnPossible

      Parameters:
      inspLotIsAutomUsgeDcsnPossible - Automatic Usage Decision Planned
    • setSamplingProcedure

      public void setSamplingProcedure(@Nullable String samplingProcedure)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: SamplingProcedure

      Parameters:
      samplingProcedure - Sampling Procedure
    • setInspLotDynamicRule

      public void setInspLotDynamicRule(@Nullable String inspLotDynamicRule)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: InspLotDynamicRule

      Parameters:
      inspLotDynamicRule - Dynamic Modification Rule
    • setInspLotSampleQuantityInPercent

      public void setInspLotSampleQuantityInPercent(@Nullable BigDecimal inspLotSampleQuantityInPercent)
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: InspLotSampleQuantityInPercent

      Parameters:
      inspLotSampleQuantityInPercent - Inspection Percentage
    • setInspectionLotIsFullInspection

      public void setInspectionLotIsFullInspection(@Nullable Boolean inspectionLotIsFullInspection)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspectionLotIsFullInspection

      Parameters:
      inspectionLotIsFullInspection - 100% Inspection
    • setInspLotSkipIsAllowed

      public void setInspLotSkipIsAllowed(@Nullable Boolean inspLotSkipIsAllowed)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotSkipIsAllowed

      Parameters:
      inspLotSkipIsAllowed - Skips Allowed
    • setInspLotHasManualSampleSize

      public void setInspLotHasManualSampleSize(@Nullable Boolean inspLotHasManualSampleSize)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasManualSampleSize

      Parameters:
      inspLotHasManualSampleSize - Enter Sample Manually
    • setInspLotIsSmplCalcMnlTriggered

      public void setInspLotIsSmplCalcMnlTriggered(@Nullable Boolean inspLotIsSmplCalcMnlTriggered)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsSmplCalcMnlTriggered

      Parameters:
      inspLotIsSmplCalcMnlTriggered - Trigger Sample Calculation Manually
    • setInspLotIsSerialNmbrPossible

      public void setInspLotIsSerialNmbrPossible(@Nullable Boolean inspLotIsSerialNmbrPossible)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsSerialNmbrPossible

      Parameters:
      inspLotIsSerialNmbrPossible - Serial Numbers Possible
    • setInspLotDurationInDays

      public void setInspLotDurationInDays(@Nullable BigDecimal inspLotDurationInDays)
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: InspLotDurationInDays

      Parameters:
      inspLotDurationInDays - Average Inspection Duration
    • setInspLotSummaryControl

      public void setInspLotSummaryControl(@Nullable String inspLotSummaryControl)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InspLotSummaryControl

      Parameters:
      inspLotSummaryControl - Control of Inspection Lot Creation (Lot Summary)
    • setInspQualityScoreProcedure

      public void setInspQualityScoreProcedure(@Nullable String inspQualityScoreProcedure)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: InspQualityScoreProcedure

      Parameters:
      inspQualityScoreProcedure - Procedure for Calculating Quality Score
    • setInspLotAcceptedScrapRatioInPct

      public void setInspLotAcceptedScrapRatioInPct(@Nullable BigDecimal inspLotAcceptedScrapRatioInPct)
      Constraints: Not nullable, Precision: 6, Scale: 4

      Original property name from the Odata EDM: InspLotAcceptedScrapRatioInPct

      Parameters:
      inspLotAcceptedScrapRatioInPct - Allowed Share of Scrap (Percent) in Inspection Lot
    • setInspectionLotHasAppraisalCosts

      public void setInspectionLotHasAppraisalCosts(@Nullable Boolean inspectionLotHasAppraisalCosts)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspectionLotHasAppraisalCosts

      Parameters:
      inspectionLotHasAppraisalCosts - Record Appraisal Costs in Individual QM Order
    • setQualityCostCollector

      public void setQualityCostCollector(@Nullable String qualityCostCollector)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: QualityCostCollector

      Parameters:
      qualityCostCollector - Order Number for Recording Appraisal Costs
    • setProdInspTypeSettingIsActive

      public void setProdInspTypeSettingIsActive(@Nullable Boolean prodInspTypeSettingIsActive)
      Constraints: Not nullable

      Original property name from the Odata EDM: ProdInspTypeSettingIsActive

      Parameters:
      prodInspTypeSettingIsActive - Inspection Type - Material Combination Is Active
    • setInspTypeIsPrfrd

      public void setInspTypeIsPrfrd(@Nullable Boolean inspTypeIsPrfrd)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspTypeIsPrfrd

      Parameters:
      inspTypeIsPrfrd - Preferred Inspection Type
    • setInspLotHasHandlingUnit

      public void setInspLotHasHandlingUnit(@Nullable Boolean inspLotHasHandlingUnit)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasHandlingUnit

      Parameters:
      inspLotHasHandlingUnit - Inspection for Handling Unit
    • setInspLotHasMultipleSpec

      public void setInspLotHasMultipleSpec(@Nullable Boolean inspLotHasMultipleSpec)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasMultipleSpec

      Parameters:
      inspLotHasMultipleSpec - Indicator: Multiple Specifications
    • setInspLotOfEWMSummaryControl

      public void setInspLotOfEWMSummaryControl(@Nullable String inspLotOfEWMSummaryControl)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InspLotOfEWMSummaryControl

      Parameters:
      inspLotOfEWMSummaryControl - Inspection Lot Summary (Warehouse-Managed Stock)
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity ProductPlantInspTypSetting 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 _Product is already loaded, the result will contain the Product entity. If not, an Option with result state empty is returned.
    • setProduct

      public void setProduct(Product value)
      Overwrites the associated Product entity for the loaded navigation property _Product.
      Parameters:
      value - New Product entity.
    • getProductPlantIfPresent

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

      If the navigation property for an entity ProductPlantInspTypSetting 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 _ProductPlant is already loaded, the result will contain the ProductPlant entity. If not, an Option with result state empty is returned.
    • setProductPlant

      public void setProductPlant(ProductPlant value)
      Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.
      Parameters:
      value - New ProductPlant entity.
    • builder

    • getInspectionLotType

      @Nullable public String getInspectionLotType()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: InspectionLotType

      Returns:
      Inspection Type
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getInspLotIsTaskListRequired

      @Nullable public Boolean getInspLotIsTaskListRequired()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsTaskListRequired

      Returns:
      Inspection with Task List
    • getInspLotHasMaterialSpec

      @Nullable public Boolean getInspLotHasMaterialSpec()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasMaterialSpec

      Returns:
      Inspect with Material Specification
    • getInspLotHasConfignSpecification

      @Nullable public Boolean getInspLotHasConfignSpecification()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasConfignSpecification

      Returns:
      Inspection Specifications from Configuration
    • getInspLotHasBatchCharc

      @Nullable public Boolean getInspLotHasBatchCharc()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasBatchCharc

      Returns:
      Inspection Specifications from Batch Determination
    • getInspLotHasAutomSpecAssgmt

      @Nullable public Boolean getInspLotHasAutomSpecAssgmt()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasAutomSpecAssgmt

      Returns:
      Automatic Specification Assignment
    • getInspLotHasCharc

      @Nullable public Boolean getInspLotHasCharc()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasCharc

      Returns:
      Inspect by Characteristics
    • getHasPostToInspectionStock

      @Nullable public Boolean getHasPostToInspectionStock()
      Constraints: Not nullable

      Original property name from the Odata EDM: HasPostToInspectionStock

      Returns:
      Post to Inspection Stock
    • getInspLotIsAutomUsgeDcsnPossible

      @Nullable public Boolean getInspLotIsAutomUsgeDcsnPossible()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsAutomUsgeDcsnPossible

      Returns:
      Automatic Usage Decision Planned
    • getSamplingProcedure

      @Nullable public String getSamplingProcedure()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: SamplingProcedure

      Returns:
      Sampling Procedure
    • getInspLotDynamicRule

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

      Original property name from the Odata EDM: InspLotDynamicRule

      Returns:
      Dynamic Modification Rule
    • getInspLotSampleQuantityInPercent

      @Nullable public BigDecimal getInspLotSampleQuantityInPercent()
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: InspLotSampleQuantityInPercent

      Returns:
      Inspection Percentage
    • getInspectionLotIsFullInspection

      @Nullable public Boolean getInspectionLotIsFullInspection()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspectionLotIsFullInspection

      Returns:
      100% Inspection
    • getInspLotSkipIsAllowed

      @Nullable public Boolean getInspLotSkipIsAllowed()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotSkipIsAllowed

      Returns:
      Skips Allowed
    • getInspLotHasManualSampleSize

      @Nullable public Boolean getInspLotHasManualSampleSize()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasManualSampleSize

      Returns:
      Enter Sample Manually
    • getInspLotIsSmplCalcMnlTriggered

      @Nullable public Boolean getInspLotIsSmplCalcMnlTriggered()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsSmplCalcMnlTriggered

      Returns:
      Trigger Sample Calculation Manually
    • getInspLotIsSerialNmbrPossible

      @Nullable public Boolean getInspLotIsSerialNmbrPossible()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotIsSerialNmbrPossible

      Returns:
      Serial Numbers Possible
    • getInspLotDurationInDays

      @Nullable public BigDecimal getInspLotDurationInDays()
      Constraints: Not nullable, Precision: 3

      Original property name from the Odata EDM: InspLotDurationInDays

      Returns:
      Average Inspection Duration
    • getInspLotSummaryControl

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

      Original property name from the Odata EDM: InspLotSummaryControl

      Returns:
      Control of Inspection Lot Creation (Lot Summary)
    • getInspQualityScoreProcedure

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

      Original property name from the Odata EDM: InspQualityScoreProcedure

      Returns:
      Procedure for Calculating Quality Score
    • getInspLotAcceptedScrapRatioInPct

      @Nullable public BigDecimal getInspLotAcceptedScrapRatioInPct()
      Constraints: Not nullable, Precision: 6, Scale: 4

      Original property name from the Odata EDM: InspLotAcceptedScrapRatioInPct

      Returns:
      Allowed Share of Scrap (Percent) in Inspection Lot
    • getInspectionLotHasAppraisalCosts

      @Nullable public Boolean getInspectionLotHasAppraisalCosts()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspectionLotHasAppraisalCosts

      Returns:
      Record Appraisal Costs in Individual QM Order
    • getQualityCostCollector

      @Nullable public String getQualityCostCollector()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: QualityCostCollector

      Returns:
      Order Number for Recording Appraisal Costs
    • getProdInspTypeSettingIsActive

      @Nullable public Boolean getProdInspTypeSettingIsActive()
      Constraints: Not nullable

      Original property name from the Odata EDM: ProdInspTypeSettingIsActive

      Returns:
      Inspection Type - Material Combination Is Active
    • getInspTypeIsPrfrd

      @Nullable public Boolean getInspTypeIsPrfrd()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspTypeIsPrfrd

      Returns:
      Preferred Inspection Type
    • getInspLotHasHandlingUnit

      @Nullable public Boolean getInspLotHasHandlingUnit()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasHandlingUnit

      Returns:
      Inspection for Handling Unit
    • getInspLotHasMultipleSpec

      @Nullable public Boolean getInspLotHasMultipleSpec()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotHasMultipleSpec

      Returns:
      Indicator: Multiple Specifications
    • getInspLotOfEWMSummaryControl

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

      Original property name from the Odata EDM: InspLotOfEWMSummaryControl

      Returns:
      Inspection Lot Summary (Warehouse-Managed Stock)
    • toString

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

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

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

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

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