java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<PurgCatMaterialGroup>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasingcategory.PurgCatMaterialGroup

public class PurgCatMaterialGroup extends VdmEntity<PurgCatMaterialGroup>
Material Group

Original entity name from the Odata EDM: A_PurgCatMaterialGroupType

  • Field Details

    • ALL_FIELDS

      public static final PurgCatMaterialGroupSelectable ALL_FIELDS
      Selector for all available fields of PurgCatMaterialGroup.
    • PUR_CAT_MATERIAL_GROUP_UUID

      public static final PurgCatMaterialGroupField<UUID> PUR_CAT_MATERIAL_GROUP_UUID
      Use with available fluent helpers to apply the PurCatMaterialGroupUUID field to query operations.
    • PURG_CAT_UUID

      public static final PurgCatMaterialGroupField<UUID> PURG_CAT_UUID
      Use with available fluent helpers to apply the PurgCatUUID field to query operations.
    • MATERIAL_GROUP

      public static final PurgCatMaterialGroupField<String> MATERIAL_GROUP
      Use with available fluent helpers to apply the MaterialGroup field to query operations.
  • Constructor Details

    • PurgCatMaterialGroup

      public PurgCatMaterialGroup()
    • PurgCatMaterialGroup

      public PurgCatMaterialGroup(@Nullable UUID purCatMaterialGroupUUID, @Nullable UUID purgCatUUID, @Nullable String materialGroup)
  • Method Details

    • getType

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

      public void setPurCatMaterialGroupUUID(@Nullable UUID purCatMaterialGroupUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PurCatMaterialGroupUUID

      Parameters:
      purCatMaterialGroupUUID - Purchasing Category Material Group Reference UUID
    • setPurgCatUUID

      public void setPurgCatUUID(@Nullable UUID purgCatUUID)
      Constraints: none

      Original property name from the Odata EDM: PurgCatUUID

      Parameters:
      purgCatUUID - Purchasing Category 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
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PurgCatMaterialGroupField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> PurgCatMaterialGroupField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<PurgCatMaterialGroup>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<PurgCatMaterialGroup>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<PurgCatMaterialGroup>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<PurgCatMaterialGroup>
    • builder

      @Nonnull public static PurgCatMaterialGroup.PurgCatMaterialGroupBuilder builder()
    • getPurCatMaterialGroupUUID

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

      Original property name from the Odata EDM: PurCatMaterialGroupUUID

      Returns:
      Purchasing Category Material Group Reference UUID
    • getPurgCatUUID

      @Nullable public UUID getPurgCatUUID()
      Constraints: none

      Original property name from the Odata EDM: PurgCatUUID

      Returns:
      Purchasing Category UUID
    • getMaterialGroup

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

      Original property name from the Odata EDM: MaterialGroup

      Returns:
      Material Group
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<PurgCatMaterialGroup>