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

public class ProductPlantText extends VdmEntity<ProductPlantText>
Plant Text

Original entity name from the Odata EDM: A_ProductPlantTextType

  • Field Details

    • ALL_FIELDS

      public static final ProductPlantTextSelectable ALL_FIELDS
      Selector for all available fields of ProductPlantText.
    • PRODUCT

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

      public static final ProductPlantTextField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • LONG_TEXT

      public static final ProductPlantTextField<String> LONG_TEXT
      Use with available fluent helpers to apply the LongText field to query operations.
  • Constructor Details

    • ProductPlantText

      public ProductPlantText()
    • ProductPlantText

      public ProductPlantText(@Nullable String product, @Nullable String plant, @Nullable String longText)
  • Method Details

    • getType

      @Nonnull public Class<ProductPlantText> getType()
      Specified by:
      getType in class VdmObject<ProductPlantText>
    • 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 - Material Number
    • setPlant

      public void setPlant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setLongText

      public void setLongText(@Nullable String longText)
      Constraints: none

      Original property name from the Odata EDM: LongText

      Parameters:
      longText - String
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductPlantTextField<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> ProductPlantTextField<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<ProductPlantText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductPlantText.ProductPlantTextBuilder builder()
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getPlant

      @Nullable public String getPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getLongText

      @Nullable public String getLongText()
      Constraints: none

      Original property name from the Odata EDM: LongText

      Returns:
      String
    • toString

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

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

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

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