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

public class ProductStdVH extends VdmEntity<ProductStdVH>
Product Value Help

Original entity name from the Odata EDM: I_ProductStdVHType

  • Field Details

    • ALL_FIELDS

      public static final ProductStdVHSelectable ALL_FIELDS
      Selector for all available fields of ProductStdVH.
    • PRODUCT

      public static final ProductStdVHField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • PRODUCT_TEXT

      public static final ProductStdVHField<String> PRODUCT_TEXT
      Use with available fluent helpers to apply the Product_Text field to query operations.
    • PRODUCT_EXTERNAL_ID

      public static final ProductStdVHField<String> PRODUCT_EXTERNAL_ID
      Use with available fluent helpers to apply the ProductExternalID field to query operations.
  • Constructor Details

    • ProductStdVH

      public ProductStdVH()
    • ProductStdVH

      public ProductStdVH(@Nullable String product, @Nullable String product_Text, @Nullable String productExternalID)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setProduct_Text

      public void setProduct_Text(@Nullable String product_Text)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product_Text

      Parameters:
      product_Text - Product Description
    • setProductExternalID

      public void setProductExternalID(@Nullable String productExternalID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProductExternalID

      Parameters:
      productExternalID - External Representation of Material Number
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductStdVHField<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> ProductStdVHField<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<ProductStdVH>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductStdVH.ProductStdVHBuilder builder()
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getProduct_Text

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

      Original property name from the Odata EDM: Product_Text

      Returns:
      Product Description
    • getProductExternalID

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

      Original property name from the Odata EDM: ProductExternalID

      Returns:
      External Representation of Material Number
    • toString

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

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

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

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