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

public class SupplierListMaterialGroup extends VdmEntity<SupplierListMaterialGroup> implements VdmEntitySet
Material Group for Supplier List

Original entity name from the Odata EDM: SupplierListMaterialGroupType

  • Field Details

  • Constructor Details

    • SupplierListMaterialGroup

      public SupplierListMaterialGroup()
    • SupplierListMaterialGroup

      public SupplierListMaterialGroup(@Nullable UUID materialGroupUUID, @Nullable String materialGroup, @Nullable String materialGroupName, @Nullable UUID supplierListUUID, @Nullable Boolean isDeleted, @Nullable SupplierList to_SupplierListTP)
  • Method Details

    • getType

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

      public void setMaterialGroupUUID(@Nullable UUID materialGroupUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: MaterialGroupUUID

      Parameters:
      materialGroupUUID - Material Group UUID
    • setMaterialGroup

      public void setMaterialGroup(@Nullable String materialGroup)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MaterialGroup

      Parameters:
      materialGroup - Material Group
    • setMaterialGroupName

      public void setMaterialGroupName(@Nullable String materialGroupName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MaterialGroupName

      Parameters:
      materialGroupName - Product Group Description
    • setSupplierListUUID

      public void setSupplierListUUID(@Nullable UUID supplierListUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierListUUID

      Parameters:
      supplierListUUID - Supplier List UUID
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean isDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - “Is Deleted” Indicator
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SupplierListMaterialGroup 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 _SupplierListTP is already loaded, the result will contain the SupplierList entity. If not, an Option with result state empty is returned.
    • setSupplierListTP

      public void setSupplierListTP(SupplierList value)
      Overwrites the associated SupplierList entity for the loaded navigation property _SupplierListTP.
      Parameters:
      value - New SupplierList entity.
    • builder

    • getMaterialGroupUUID

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

      Original property name from the Odata EDM: MaterialGroupUUID

      Returns:
      Material Group UUID
    • getMaterialGroup

      @Nullable public String getMaterialGroup()
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MaterialGroup

      Returns:
      Material Group
    • getMaterialGroupName

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

      Original property name from the Odata EDM: MaterialGroupName

      Returns:
      Product Group Description
    • getSupplierListUUID

      @Nullable public UUID getSupplierListUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierListUUID

      Returns:
      Supplier List UUID
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      “Is Deleted” Indicator
    • toString

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

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

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

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

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