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

public class ProductValuationCosting extends VdmEntity<ProductValuationCosting>
Valuation Costing Data

Original entity name from the Odata EDM: A_ProductValuationCostingType

  • Field Details

    • ALL_FIELDS

      public static final ProductValuationCostingSelectable ALL_FIELDS
      Selector for all available fields of ProductValuationCosting.
    • PRODUCT

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

      public static final ProductValuationCostingField<String> VALUATION_AREA
      Use with available fluent helpers to apply the ValuationArea field to query operations.
    • VALUATION_TYPE

      public static final ProductValuationCostingField<String> VALUATION_TYPE
      Use with available fluent helpers to apply the ValuationType field to query operations.
    • IS_MATERIAL_COSTED_WITH_QTY_STRUC

      public static final ProductValuationCostingField<Boolean> IS_MATERIAL_COSTED_WITH_QTY_STRUC
      Use with available fluent helpers to apply the IsMaterialCostedWithQtyStruc field to query operations.
    • COST_ORIGIN_GROUP

      public static final ProductValuationCostingField<String> COST_ORIGIN_GROUP
      Use with available fluent helpers to apply the CostOriginGroup field to query operations.
    • COSTING_OVERHEAD_GROUP

      public static final ProductValuationCostingField<String> COSTING_OVERHEAD_GROUP
      Use with available fluent helpers to apply the CostingOverheadGroup field to query operations.
  • Constructor Details

    • ProductValuationCosting

      public ProductValuationCosting()
    • ProductValuationCosting

      public ProductValuationCosting(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable Boolean isMaterialCostedWithQtyStruc, @Nullable String isMaterialRelatedOrigin, @Nullable String costOriginGroup, @Nullable String costingOverheadGroup)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ValuationArea

      Parameters:
      valuationArea - Valuation Area
    • setValuationType

      public void setValuationType(@Nullable String valuationType)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Parameters:
      valuationType - Valuation Type
    • setIsMaterialCostedWithQtyStruc

      public void setIsMaterialCostedWithQtyStruc(@Nullable Boolean isMaterialCostedWithQtyStruc)
      Constraints: none

      Original property name from the Odata EDM: IsMaterialCostedWithQtyStruc

      Parameters:
      isMaterialCostedWithQtyStruc - Material Is Costed with Quantity Structure
    • setIsMaterialRelatedOrigin

      public void setIsMaterialRelatedOrigin(@Nullable String isMaterialRelatedOrigin)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsMaterialRelatedOrigin

      Parameters:
      isMaterialRelatedOrigin - Material-related origin
    • setCostOriginGroup

      public void setCostOriginGroup(@Nullable String costOriginGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CostOriginGroup

      Parameters:
      costOriginGroup - Origin Group as Subdivision of Cost Element
    • setCostingOverheadGroup

      public void setCostingOverheadGroup(@Nullable String costingOverheadGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostingOverheadGroup

      Parameters:
      costingOverheadGroup - Costing Overhead Group
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductValuationCostingField<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> ProductValuationCostingField<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<ProductValuationCosting>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductValuationCosting>
    • 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
    • getValuationArea

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

      Original property name from the Odata EDM: ValuationArea

      Returns:
      Valuation Area
    • getValuationType

      @Nullable public String getValuationType()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ValuationType

      Returns:
      Valuation Type
    • getIsMaterialCostedWithQtyStruc

      @Nullable public Boolean getIsMaterialCostedWithQtyStruc()
      Constraints: none

      Original property name from the Odata EDM: IsMaterialCostedWithQtyStruc

      Returns:
      Material Is Costed with Quantity Structure
    • getIsMaterialRelatedOrigin

      @Nullable public String getIsMaterialRelatedOrigin()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsMaterialRelatedOrigin

      Returns:
      Material-related origin
    • getCostOriginGroup

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

      Original property name from the Odata EDM: CostOriginGroup

      Returns:
      Origin Group as Subdivision of Cost Element
    • getCostingOverheadGroup

      @Nullable public String getCostingOverheadGroup()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostingOverheadGroup

      Returns:
      Costing Overhead Group
    • toString

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

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

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

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