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

public class ProductPlantIntlTrd extends VdmEntity<ProductPlantIntlTrd>
International Trade Data

Original entity name from the Odata EDM: A_ProductPlantIntlTrdType

  • Field Details

    • ALL_FIELDS

      public static final ProductPlantIntlTrdSelectable ALL_FIELDS
      Selector for all available fields of ProductPlantIntlTrd.
    • PRODUCT

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

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

      public static final ProductPlantIntlTrdField<String> COUNTRY_OF_ORIGIN
      Use with available fluent helpers to apply the CountryOfOrigin field to query operations.
    • REGION_OF_ORIGIN

      public static final ProductPlantIntlTrdField<String> REGION_OF_ORIGIN
      Use with available fluent helpers to apply the RegionOfOrigin field to query operations.
    • CONSUMPTION_TAX_CTRL_CODE

      public static final ProductPlantIntlTrdField<String> CONSUMPTION_TAX_CTRL_CODE
      Use with available fluent helpers to apply the ConsumptionTaxCtrlCode field to query operations.
    • PRODUCT_CAS_NUMBER

      public static final ProductPlantIntlTrdField<String> PRODUCT_CAS_NUMBER
      Use with available fluent helpers to apply the ProductCASNumber field to query operations.
    • PROD_INTL_TRADE_CLASSIFICATION

      public static final ProductPlantIntlTrdField<String> PROD_INTL_TRADE_CLASSIFICATION
      Use with available fluent helpers to apply the ProdIntlTradeClassification field to query operations.
    • EXPORT_AND_IMPORT_PRODUCT_GROUP

      public static final ProductPlantIntlTrdField<String> EXPORT_AND_IMPORT_PRODUCT_GROUP
      Use with available fluent helpers to apply the ExportAndImportProductGroup field to query operations.
  • Constructor Details

    • ProductPlantIntlTrd

      public ProductPlantIntlTrd()
    • ProductPlantIntlTrd

      public ProductPlantIntlTrd(@Nullable String product, @Nullable String plant, @Nullable String countryOfOrigin, @Nullable String regionOfOrigin, @Nullable String consumptionTaxCtrlCode, @Nullable String productCASNumber, @Nullable String prodIntlTradeClassification, @Nullable String exportAndImportProductGroup)
  • Method Details

    • getType

      @Nonnull public Class<ProductPlantIntlTrd> getType()
      Specified by:
      getType in class VdmObject<ProductPlantIntlTrd>
    • 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
    • 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
    • setCountryOfOrigin

      public void setCountryOfOrigin(@Nullable String countryOfOrigin)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CountryOfOrigin

      Parameters:
      countryOfOrigin - Country/Region of Origin of Product
    • setRegionOfOrigin

      public void setRegionOfOrigin(@Nullable String regionOfOrigin)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RegionOfOrigin

      Parameters:
      regionOfOrigin - Region of Origin
    • setConsumptionTaxCtrlCode

      public void setConsumptionTaxCtrlCode(@Nullable String consumptionTaxCtrlCode)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: ConsumptionTaxCtrlCode

      Parameters:
      consumptionTaxCtrlCode - Control code for consumption taxes in foreign trade
    • setProductCASNumber

      public void setProductCASNumber(@Nullable String productCASNumber)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: ProductCASNumber

      Parameters:
      productCASNumber - CAS number for pharmaceutical products in foreign trade
    • setProdIntlTradeClassification

      public void setProdIntlTradeClassification(@Nullable String prodIntlTradeClassification)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: ProdIntlTradeClassification

      Parameters:
      prodIntlTradeClassification - Production statistics: PRODCOM number for foreign trade
    • setExportAndImportProductGroup

      public void setExportAndImportProductGroup(@Nullable String exportAndImportProductGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ExportAndImportProductGroup

      Parameters:
      exportAndImportProductGroup - Material Group for Intrastat
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductPlantIntlTrdField<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> ProductPlantIntlTrdField<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<ProductPlantIntlTrd>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductPlantIntlTrd.ProductPlantIntlTrdBuilder 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
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getCountryOfOrigin

      @Nullable public String getCountryOfOrigin()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CountryOfOrigin

      Returns:
      Country/Region of Origin of Product
    • getRegionOfOrigin

      @Nullable public String getRegionOfOrigin()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RegionOfOrigin

      Returns:
      Region of Origin
    • getConsumptionTaxCtrlCode

      @Nullable public String getConsumptionTaxCtrlCode()
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: ConsumptionTaxCtrlCode

      Returns:
      Control code for consumption taxes in foreign trade
    • getProductCASNumber

      @Nullable public String getProductCASNumber()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: ProductCASNumber

      Returns:
      CAS number for pharmaceutical products in foreign trade
    • getProdIntlTradeClassification

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

      Original property name from the Odata EDM: ProdIntlTradeClassification

      Returns:
      Production statistics: PRODCOM number for foreign trade
    • getExportAndImportProductGroup

      @Nullable public String getExportAndImportProductGroup()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ExportAndImportProductGroup

      Returns:
      Material Group for Intrastat
    • toString

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

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

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

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