public class ProductValuationCosting extends VdmEntity<ProductValuationCosting>
Original entity name from the Odata EDM: A_ProductValuationCostingType
Modifier and Type | Class and Description |
---|---|
static class |
ProductValuationCosting.ProductValuationCostingBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductValuationCostingSelectable |
ALL_FIELDS
Selector for all available fields of ProductValuationCosting.
|
static ProductValuationCostingField<String> |
COST_ORIGIN_GROUP
Use with available fluent helpers to apply the CostOriginGroup field to query operations.
|
static ProductValuationCostingField<String> |
COSTING_OVERHEAD_GROUP
Use with available fluent helpers to apply the CostingOverheadGroup field to query operations.
|
static ProductValuationCostingField<Boolean> |
IS_MATERIAL_COSTED_WITH_QTY_STRUC
Use with available fluent helpers to apply the IsMaterialCostedWithQtyStruc field to query operations.
|
static ProductValuationCostingField<String> |
IS_MATERIAL_RELATED_ORIGIN
Use with available fluent helpers to apply the IsMaterialRelatedOrigin field to query operations.
|
static ProductValuationCostingField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductValuationCostingField<String> |
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations.
|
static ProductValuationCostingField<String> |
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductValuationCosting() |
ProductValuationCosting(String product,
String valuationArea,
String valuationType,
Boolean isMaterialCostedWithQtyStruc,
String isMaterialRelatedOrigin,
String costOriginGroup,
String costingOverheadGroup) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProductValuationCosting.ProductValuationCostingBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductValuationCostingField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getCostingOverheadGroup()
Constraints: Not nullable, Maximum length: 10
|
String |
getCostOriginGroup()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
Boolean |
getIsMaterialCostedWithQtyStruc()
Constraints: none
|
String |
getIsMaterialRelatedOrigin()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
Class<ProductValuationCosting> |
getType() |
String |
getValuationArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getValuationType()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
int |
hashCode() |
void |
setCostingOverheadGroup(String costingOverheadGroup)
Constraints: Not nullable, Maximum length: 10
|
void |
setCostOriginGroup(String costOriginGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setIsMaterialCostedWithQtyStruc(Boolean isMaterialCostedWithQtyStruc)
Constraints: none
|
void |
setIsMaterialRelatedOrigin(String isMaterialRelatedOrigin)
Constraints: Not nullable, Maximum length: 1
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValuationArea(String valuationArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setValuationType(String valuationType)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductValuationCostingSelectable ALL_FIELDS
public static final ProductValuationCostingField<String> PRODUCT
public static final ProductValuationCostingField<String> VALUATION_AREA
public static final ProductValuationCostingField<String> VALUATION_TYPE
public static final ProductValuationCostingField<Boolean> IS_MATERIAL_COSTED_WITH_QTY_STRUC
public static final ProductValuationCostingField<String> IS_MATERIAL_RELATED_ORIGIN
public static final ProductValuationCostingField<String> COST_ORIGIN_GROUP
public static final ProductValuationCostingField<String> COSTING_OVERHEAD_GROUP
public ProductValuationCosting()
public ProductValuationCosting(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable Boolean isMaterialCostedWithQtyStruc, @Nullable String isMaterialRelatedOrigin, @Nullable String costOriginGroup, @Nullable String costingOverheadGroup)
@Nonnull public Class<ProductValuationCosting> getType()
getType
in class VdmObject<ProductValuationCosting>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setValuationArea(@Nullable String valuationArea)
Original property name from the Odata EDM: ValuationArea
valuationArea
- Valuation areapublic void setValuationType(@Nullable String valuationType)
Original property name from the Odata EDM: ValuationType
valuationType
- Valuation Typepublic void setIsMaterialCostedWithQtyStruc(@Nullable Boolean isMaterialCostedWithQtyStruc)
Original property name from the Odata EDM: IsMaterialCostedWithQtyStruc
isMaterialCostedWithQtyStruc
- Material Is Costed with Quantity Structurepublic void setIsMaterialRelatedOrigin(@Nullable String isMaterialRelatedOrigin)
Original property name from the Odata EDM: IsMaterialRelatedOrigin
isMaterialRelatedOrigin
- Material-related originpublic void setCostOriginGroup(@Nullable String costOriginGroup)
Original property name from the Odata EDM: CostOriginGroup
costOriginGroup
- Origin Group as Subdivision of Cost Elementpublic void setCostingOverheadGroup(@Nullable String costingOverheadGroup)
Original property name from the Odata EDM: CostingOverheadGroup
costingOverheadGroup
- Costing Overhead Groupprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductValuationCosting>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductValuationCosting>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductValuationCosting>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductValuationCosting>
@Nonnull public static <T> ProductValuationCostingField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ProductValuationCostingField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProductValuationCosting>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProductValuationCosting>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProductValuationCosting>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductValuationCosting>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductValuationCosting.ProductValuationCostingBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getValuationArea()
Original property name from the Odata EDM: ValuationArea
@Nullable public String getValuationType()
Original property name from the Odata EDM: ValuationType
@Nullable public Boolean getIsMaterialCostedWithQtyStruc()
Original property name from the Odata EDM: IsMaterialCostedWithQtyStruc
@Nullable public String getIsMaterialRelatedOrigin()
Original property name from the Odata EDM: IsMaterialRelatedOrigin
@Nullable public String getCostOriginGroup()
Original property name from the Odata EDM: CostOriginGroup
@Nullable public String getCostingOverheadGroup()
Original property name from the Odata EDM: CostingOverheadGroup
@Nonnull public String toString()
toString
in class VdmObject<ProductValuationCosting>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductValuationCosting>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductValuationCosting>
public int hashCode()
hashCode
in class VdmObject<ProductValuationCosting>
Copyright © 2021 SAP SE. All rights reserved.