Class ProductPlantQualityManagement

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

public class ProductPlantQualityManagement extends VdmEntity<ProductPlantQualityManagement> implements VdmEntitySet
Product Plant Quality Management

Original entity name from the Odata EDM: ProductPlantQualityManagement_Type

  • Field Details

  • Constructor Details

    • ProductPlantQualityManagement

      public ProductPlantQualityManagement()
    • ProductPlantQualityManagement

      public ProductPlantQualityManagement(@Nullable String product, @Nullable String plant, @Nullable String prodQltyManagementControlKey, @Nullable Boolean hasPostToInspectionStock, @Nullable Boolean inspLotDocumentationIsRequired, @Nullable String qualityMgmtSystemForSupplier, @Nullable BigDecimal recrrgInspIntervalTimeInDays, @Nullable String productQualityCertificateType, @Nullable String prodQualityAuthorizationGroup, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
  • Method Details

    • getType

      @Nonnull public Class<ProductPlantQualityManagement> getType()
      Specified by:
      getType in class VdmObject<ProductPlantQualityManagement>
    • 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 - Product 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
    • setProdQltyManagementControlKey

      public void setProdQltyManagementControlKey(@Nullable String prodQltyManagementControlKey)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProdQltyManagementControlKey

      Parameters:
      prodQltyManagementControlKey - Control Key for Quality Management in Procurement
    • setHasPostToInspectionStock

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

      Original property name from the Odata EDM: HasPostToInspectionStock

      Parameters:
      hasPostToInspectionStock - Has Post to Inspection Stock
    • setInspLotDocumentationIsRequired

      public void setInspLotDocumentationIsRequired(@Nullable Boolean inspLotDocumentationIsRequired)
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotDocumentationIsRequired

      Parameters:
      inspLotDocumentationIsRequired - Documentation required indicator
    • setQualityMgmtSystemForSupplier

      public void setQualityMgmtSystemForSupplier(@Nullable String qualityMgmtSystemForSupplier)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: QualityMgmtSystemForSupplier

      Parameters:
      qualityMgmtSystemForSupplier - Required QM System for Supplier
    • setRecrrgInspIntervalTimeInDays

      public void setRecrrgInspIntervalTimeInDays(@Nullable BigDecimal recrrgInspIntervalTimeInDays)
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: RecrrgInspIntervalTimeInDays

      Parameters:
      recrrgInspIntervalTimeInDays - Interval Until Next Recurring Inspection
    • setProductQualityCertificateType

      public void setProductQualityCertificateType(@Nullable String productQualityCertificateType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductQualityCertificateType

      Parameters:
      productQualityCertificateType - Certificate Type
    • setProdQualityAuthorizationGroup

      public void setProdQualityAuthorizationGroup(@Nullable String prodQualityAuthorizationGroup)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProdQualityAuthorizationGroup

      Parameters:
      prodQualityAuthorizationGroup - Material Authorization Group for Activities in QM
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ProductPlantQualityManagement>
    • 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 ProductPlantQualityManagement 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 ProductPlantQualityManagement 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

    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getProdQltyManagementControlKey

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

      Original property name from the Odata EDM: ProdQltyManagementControlKey

      Returns:
      Control Key for Quality Management in Procurement
    • getHasPostToInspectionStock

      @Nullable public Boolean getHasPostToInspectionStock()
      Constraints: Not nullable

      Original property name from the Odata EDM: HasPostToInspectionStock

      Returns:
      Has Post to Inspection Stock
    • getInspLotDocumentationIsRequired

      @Nullable public Boolean getInspLotDocumentationIsRequired()
      Constraints: Not nullable

      Original property name from the Odata EDM: InspLotDocumentationIsRequired

      Returns:
      Documentation required indicator
    • getQualityMgmtSystemForSupplier

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

      Original property name from the Odata EDM: QualityMgmtSystemForSupplier

      Returns:
      Required QM System for Supplier
    • getRecrrgInspIntervalTimeInDays

      @Nullable public BigDecimal getRecrrgInspIntervalTimeInDays()
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: RecrrgInspIntervalTimeInDays

      Returns:
      Interval Until Next Recurring Inspection
    • getProductQualityCertificateType

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

      Original property name from the Odata EDM: ProductQualityCertificateType

      Returns:
      Certificate Type
    • getProdQualityAuthorizationGroup

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

      Original property name from the Odata EDM: ProdQualityAuthorizationGroup

      Returns:
      Material Authorization Group for Activities in QM
    • toString

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

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

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

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

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