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

public class MaterialStdVH extends VdmEntity<MaterialStdVH>
Material

Original entity name from the Odata EDM: I_MaterialStdVHType

  • Field Details

    • ALL_FIELDS

      public static final MaterialStdVHSelectable ALL_FIELDS
      Selector for all available fields of MaterialStdVH.
    • MATERIAL

      public static final MaterialStdVHField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • MATERIAL_TEXT

      public static final MaterialStdVHField<String> MATERIAL_TEXT
      Use with available fluent helpers to apply the Material_Text field to query operations.
  • Constructor Details

    • MaterialStdVH

      public MaterialStdVH()
    • MaterialStdVH

      public MaterialStdVH(@Nullable String material, @Nullable String material_Text)
  • Method Details

    • getType

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

      public void setMaterial(@Nullable String material)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setMaterial_Text

      public void setMaterial_Text(@Nullable String material_Text)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material_Text

      Parameters:
      material_Text - Material Description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> MaterialStdVHField<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> MaterialStdVHField<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<MaterialStdVH>
    • setServicePathForFetch

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

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

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

      @Nonnull public static MaterialStdVH.MaterialStdVHBuilder builder()
    • getMaterial

      @Nullable public String getMaterial()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getMaterial_Text

      @Nullable public String getMaterial_Text()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material_Text

      Returns:
      Material Description
    • toString

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

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

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

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