public class ProductPlantCosting extends VdmEntity<ProductPlantCosting>
Original entity name from the Odata EDM: A_ProductPlantCostingType
Modifier and Type | Class and Description |
---|---|
static class |
ProductPlantCosting.ProductPlantCostingBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductPlantCostingSelectable |
ALL_FIELDS
Selector for all available fields of ProductPlantCosting.
|
static ProductPlantCostingField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ProductPlantCostingField<BigDecimal> |
COSTING_LOT_SIZE
Use with available fluent helpers to apply the CostingLotSize field to query operations.
|
static ProductPlantCostingField<String> |
COSTING_PRODUCTION_VERSION
Use with available fluent helpers to apply the CostingProductionVersion field to query operations.
|
static ProductPlantCostingField<String> |
COSTING_SPECIAL_PROCUREMENT_TYPE
Use with available fluent helpers to apply the CostingSpecialProcurementType field to query operations.
|
static ProductPlantCostingField<Boolean> |
IS_CO_PRODUCT
Use with available fluent helpers to apply the IsCoProduct field to query operations.
|
static ProductPlantCostingField<Boolean> |
IS_FIXED_PRICE_CO_PRODUCT
Use with available fluent helpers to apply the IsFixedPriceCoProduct field to query operations.
|
static ProductPlantCostingField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductPlantCostingField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductPlantCostingField<String> |
PRODUCT_BOM_USAGE
Use with available fluent helpers to apply the ProductBOMUsage field to query operations.
|
static ProductPlantCostingField<Boolean> |
PRODUCT_IS_COSTING_RELEVANT
Use with available fluent helpers to apply the ProductIsCostingRelevant field to query operations.
|
static ProductPlantCostingField<String> |
SOURCE_BOM_ALTERNATIVE
Use with available fluent helpers to apply the SourceBOMAlternative field to query operations.
|
static ProductPlantCostingField<String> |
TASK_LIST_GROUP
Use with available fluent helpers to apply the TaskListGroup field to query operations.
|
static ProductPlantCostingField<String> |
TASK_LIST_GROUP_COUNTER
Use with available fluent helpers to apply the TaskListGroupCounter field to query operations.
|
static ProductPlantCostingField<String> |
TASK_LIST_TYPE
Use with available fluent helpers to apply the TaskListType field to query operations.
|
static ProductPlantCostingField<String> |
VARIANCE_KEY
Use with available fluent helpers to apply the VarianceKey field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductPlantCosting() |
ProductPlantCosting(String product,
String plant,
Boolean isCoProduct,
BigDecimal costingLotSize,
String varianceKey,
String baseUnit,
String taskListGroupCounter,
String taskListGroup,
String taskListType,
String costingProductionVersion,
Boolean isFixedPriceCoProduct,
String costingSpecialProcurementType,
String sourceBOMAlternative,
String productBOMUsage,
Boolean productIsCostingRelevant) |
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 ProductPlantCosting.ProductPlantCostingBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductPlantCostingField<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 |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getCostingLotSize()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getCostingProductionVersion()
Constraints: Not nullable, Maximum length: 4
|
String |
getCostingSpecialProcurementType()
Constraints: Not nullable, Maximum length: 2
|
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 |
getIsCoProduct()
Constraints: none
|
Boolean |
getIsFixedPriceCoProduct()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getProductBOMUsage()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getProductIsCostingRelevant()
Constraints: none
|
String |
getSourceBOMAlternative()
Constraints: Not nullable, Maximum length: 2
|
String |
getTaskListGroup()
Constraints: Not nullable, Maximum length: 8
|
String |
getTaskListGroupCounter()
Constraints: Not nullable, Maximum length: 2
|
String |
getTaskListType()
Constraints: Not nullable, Maximum length: 1
|
Class<ProductPlantCosting> |
getType() |
String |
getVarianceKey()
Constraints: Not nullable, Maximum length: 6
|
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCostingLotSize(BigDecimal costingLotSize)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setCostingProductionVersion(String costingProductionVersion)
Constraints: Not nullable, Maximum length: 4
|
void |
setCostingSpecialProcurementType(String costingSpecialProcurementType)
Constraints: Not nullable, Maximum length: 2
|
void |
setIsCoProduct(Boolean isCoProduct)
Constraints: none
|
void |
setIsFixedPriceCoProduct(Boolean isFixedPriceCoProduct)
Constraints: none
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProductBOMUsage(String productBOMUsage)
Constraints: Not nullable, Maximum length: 1
|
void |
setProductIsCostingRelevant(Boolean productIsCostingRelevant)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSourceBOMAlternative(String sourceBOMAlternative)
Constraints: Not nullable, Maximum length: 2
|
void |
setTaskListGroup(String taskListGroup)
Constraints: Not nullable, Maximum length: 8
|
void |
setTaskListGroupCounter(String taskListGroupCounter)
Constraints: Not nullable, Maximum length: 2
|
void |
setTaskListType(String taskListType)
Constraints: Not nullable, Maximum length: 1
|
void |
setVarianceKey(String varianceKey)
Constraints: Not nullable, Maximum length: 6
|
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 ProductPlantCostingSelectable ALL_FIELDS
public static final ProductPlantCostingField<String> PRODUCT
public static final ProductPlantCostingField<String> PLANT
public static final ProductPlantCostingField<Boolean> IS_CO_PRODUCT
public static final ProductPlantCostingField<BigDecimal> COSTING_LOT_SIZE
public static final ProductPlantCostingField<String> VARIANCE_KEY
public static final ProductPlantCostingField<String> BASE_UNIT
public static final ProductPlantCostingField<String> TASK_LIST_GROUP_COUNTER
public static final ProductPlantCostingField<String> TASK_LIST_GROUP
public static final ProductPlantCostingField<String> TASK_LIST_TYPE
public static final ProductPlantCostingField<String> COSTING_PRODUCTION_VERSION
public static final ProductPlantCostingField<Boolean> IS_FIXED_PRICE_CO_PRODUCT
public static final ProductPlantCostingField<String> COSTING_SPECIAL_PROCUREMENT_TYPE
public static final ProductPlantCostingField<String> SOURCE_BOM_ALTERNATIVE
public static final ProductPlantCostingField<String> PRODUCT_BOM_USAGE
public static final ProductPlantCostingField<Boolean> PRODUCT_IS_COSTING_RELEVANT
public ProductPlantCosting()
public ProductPlantCosting(@Nullable String product, @Nullable String plant, @Nullable Boolean isCoProduct, @Nullable BigDecimal costingLotSize, @Nullable String varianceKey, @Nullable String baseUnit, @Nullable String taskListGroupCounter, @Nullable String taskListGroup, @Nullable String taskListType, @Nullable String costingProductionVersion, @Nullable Boolean isFixedPriceCoProduct, @Nullable String costingSpecialProcurementType, @Nullable String sourceBOMAlternative, @Nullable String productBOMUsage, @Nullable Boolean productIsCostingRelevant)
@Nonnull public Class<ProductPlantCosting> getType()
getType
in class VdmObject<ProductPlantCosting>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setIsCoProduct(@Nullable Boolean isCoProduct)
Original property name from the Odata EDM: IsCoProduct
isCoProduct
- Indicator: Material can be co-productpublic void setCostingLotSize(@Nullable BigDecimal costingLotSize)
Original property name from the Odata EDM: CostingLotSize
costingLotSize
- Lot Size for Product Costingpublic void setVarianceKey(@Nullable String varianceKey)
Original property name from the Odata EDM: VarianceKey
varianceKey
- Variance Keypublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measurepublic void setTaskListGroupCounter(@Nullable String taskListGroupCounter)
Original property name from the Odata EDM: TaskListGroupCounter
taskListGroupCounter
- Group Counterpublic void setTaskListGroup(@Nullable String taskListGroup)
Original property name from the Odata EDM: TaskListGroup
taskListGroup
- Key for Task List Grouppublic void setTaskListType(@Nullable String taskListType)
Original property name from the Odata EDM: TaskListType
taskListType
- Task List Typepublic void setCostingProductionVersion(@Nullable String costingProductionVersion)
Original property name from the Odata EDM: CostingProductionVersion
costingProductionVersion
- Production Version To Be Costedpublic void setIsFixedPriceCoProduct(@Nullable Boolean isFixedPriceCoProduct)
Original property name from the Odata EDM: IsFixedPriceCoProduct
isFixedPriceCoProduct
- Fixed-Price Co-Productpublic void setCostingSpecialProcurementType(@Nullable String costingSpecialProcurementType)
Original property name from the Odata EDM: CostingSpecialProcurementType
costingSpecialProcurementType
- Special Procurement Type for Costingpublic void setSourceBOMAlternative(@Nullable String sourceBOMAlternative)
Original property name from the Odata EDM: SourceBOMAlternative
sourceBOMAlternative
- Alternative BOMpublic void setProductBOMUsage(@Nullable String productBOMUsage)
Original property name from the Odata EDM: ProductBOMUsage
productBOMUsage
- BOM Usagepublic void setProductIsCostingRelevant(@Nullable Boolean productIsCostingRelevant)
Original property name from the Odata EDM: ProductIsCostingRelevant
productIsCostingRelevant
- Do Not Costprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductPlantCosting>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductPlantCosting>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductPlantCosting>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductPlantCosting>
@Nonnull public static <T> ProductPlantCostingField<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> ProductPlantCostingField<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<ProductPlantCosting>
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<ProductPlantCosting>
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<ProductPlantCosting>
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<ProductPlantCosting>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductPlantCosting.ProductPlantCostingBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public Boolean getIsCoProduct()
Original property name from the Odata EDM: IsCoProduct
@Nullable public BigDecimal getCostingLotSize()
Original property name from the Odata EDM: CostingLotSize
@Nullable public String getVarianceKey()
Original property name from the Odata EDM: VarianceKey
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nullable public String getTaskListGroupCounter()
Original property name from the Odata EDM: TaskListGroupCounter
@Nullable public String getTaskListGroup()
Original property name from the Odata EDM: TaskListGroup
@Nullable public String getTaskListType()
Original property name from the Odata EDM: TaskListType
@Nullable public String getCostingProductionVersion()
Original property name from the Odata EDM: CostingProductionVersion
@Nullable public Boolean getIsFixedPriceCoProduct()
Original property name from the Odata EDM: IsFixedPriceCoProduct
@Nullable public String getCostingSpecialProcurementType()
Original property name from the Odata EDM: CostingSpecialProcurementType
@Nullable public String getSourceBOMAlternative()
Original property name from the Odata EDM: SourceBOMAlternative
@Nullable public String getProductBOMUsage()
Original property name from the Odata EDM: ProductBOMUsage
@Nullable public Boolean getProductIsCostingRelevant()
Original property name from the Odata EDM: ProductIsCostingRelevant
@Nonnull public String toString()
toString
in class VdmObject<ProductPlantCosting>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductPlantCosting>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductPlantCosting>
public int hashCode()
hashCode
in class VdmObject<ProductPlantCosting>
Copyright © 2021 SAP SE. All rights reserved.