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

public class ChmlCmplncInfoUnpckgdProduct extends VdmEntity<ChmlCmplncInfoUnpckgdProduct> implements VdmEntitySet
Relationship to Unpackaged Product

Original entity name from the Odata EDM: ChmlCmplncInfoUnpckgdProduct_Type

  • Field Details

  • Constructor Details

    • ChmlCmplncInfoUnpckgdProduct

      public ChmlCmplncInfoUnpckgdProduct()
    • ChmlCmplncInfoUnpckgdProduct

      public ChmlCmplncInfoUnpckgdProduct(@Nullable UUID unpckgdProductAssgmtUUID, @Nullable UUID pckgdChmlCmplncInfoUUID, @Nullable UUID unpckgdChmlCmplncInfoUUID, @Nullable ChemicalComplianceInfo to_ToPackagedProduct, @Nullable ChemicalComplianceInfo to_ToUnpackagedProduct)
  • Method Details

    • getType

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

      public void setUnpckgdProductAssgmtUUID(@Nullable UUID unpckgdProductAssgmtUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: UnpckgdProductAssgmtUUID

      Parameters:
      unpckgdProductAssgmtUUID - Product Assignment
    • setPckgdChmlCmplncInfoUUID

      public void setPckgdChmlCmplncInfoUUID(@Nullable UUID pckgdChmlCmplncInfoUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: PckgdChmlCmplncInfoUUID

      Parameters:
      pckgdChmlCmplncInfoUUID - Chemical Compliance Information for Packaged Product
    • setUnpckgdChmlCmplncInfoUUID

      public void setUnpckgdChmlCmplncInfoUUID(@Nullable UUID unpckgdChmlCmplncInfoUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: UnpckgdChmlCmplncInfoUUID

      Parameters:
      unpckgdChmlCmplncInfoUUID - Chemical Compliance Information for Unpackaged Product
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity ChmlCmplncInfoUnpckgdProduct 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 _ToPackagedProduct is already loaded, the result will contain the ChemicalComplianceInfo entity. If not, an Option with result state empty is returned.
    • setToPackagedProduct

      public void setToPackagedProduct(ChemicalComplianceInfo value)
      Overwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ToPackagedProduct.
      Parameters:
      value - New ChemicalComplianceInfo entity.
    • getToUnpackagedProductIfPresent

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

      If the navigation property for an entity ChmlCmplncInfoUnpckgdProduct 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 _ToUnpackagedProduct is already loaded, the result will contain the ChemicalComplianceInfo entity. If not, an Option with result state empty is returned.
    • setToUnpackagedProduct

      public void setToUnpackagedProduct(ChemicalComplianceInfo value)
      Overwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ToUnpackagedProduct.
      Parameters:
      value - New ChemicalComplianceInfo entity.
    • builder

    • getUnpckgdProductAssgmtUUID

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

      Original property name from the Odata EDM: UnpckgdProductAssgmtUUID

      Returns:
      Product Assignment
    • getPckgdChmlCmplncInfoUUID

      @Nullable public UUID getPckgdChmlCmplncInfoUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: PckgdChmlCmplncInfoUUID

      Returns:
      Chemical Compliance Information for Packaged Product
    • getUnpckgdChmlCmplncInfoUUID

      @Nullable public UUID getUnpckgdChmlCmplncInfoUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: UnpckgdChmlCmplncInfoUUID

      Returns:
      Chemical Compliance Information for Unpackaged Product
    • toString

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

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

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

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

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