Class ProductPlantCosting
Original entity name from the Odata EDM: A_ProductPlantCostingType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductPlantCostingSelectableSelector for all available fields of ProductPlantCosting.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the BaseUnit field to query operations.static final ProductPlantCostingField<BigDecimal>Use with available fluent helpers to apply the CostingLotSize field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the CostingProductionVersion field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the CostingSpecialProcurementType field to query operations.static final ProductPlantCostingField<Boolean>Use with available fluent helpers to apply the IsCoProduct field to query operations.static final ProductPlantCostingField<Boolean>Use with available fluent helpers to apply the IsFixedPriceCoProduct field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the Plant field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the ProductBOMUsage field to query operations.static final ProductPlantCostingField<Boolean>Use with available fluent helpers to apply the ProductIsCostingRelevant field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the SourceBOMAlternative field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the TaskListGroup field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the TaskListGroupCounter field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the TaskListType field to query operations.static final ProductPlantCostingField<String>Use with available fluent helpers to apply the VarianceKey field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductPlantCosting(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) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductPlantCostingField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductPlantCostingField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2protected Stringprotected StringConstraints: noneConstraints: nonegetKey()getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: noneConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1getType()Constraints: Not nullable, Maximum length: 6inthashCode()voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetCostingLotSize(BigDecimal costingLotSize) Constraints: Not nullable, Precision: 13, Scale: 3voidsetCostingProductionVersion(String costingProductionVersion) Constraints: Not nullable, Maximum length: 4voidsetCostingSpecialProcurementType(String costingSpecialProcurementType) Constraints: Not nullable, Maximum length: 2voidsetIsCoProduct(Boolean isCoProduct) Constraints: nonevoidsetIsFixedPriceCoProduct(Boolean isFixedPriceCoProduct) Constraints: nonevoid(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetProductBOMUsage(String productBOMUsage) Constraints: Not nullable, Maximum length: 1voidsetProductIsCostingRelevant(Boolean productIsCostingRelevant) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetSourceBOMAlternative(String sourceBOMAlternative) Constraints: Not nullable, Maximum length: 2voidsetTaskListGroup(String taskListGroup) Constraints: Not nullable, Maximum length: 8voidsetTaskListGroupCounter(String taskListGroupCounter) Constraints: Not nullable, Maximum length: 2voidsetTaskListType(String taskListType) Constraints: Not nullable, Maximum length: 1voidsetVarianceKey(String varianceKey) Constraints: Not nullable, Maximum length: 6toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductPlantCosting. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
IS_CO_PRODUCT
Use with available fluent helpers to apply the IsCoProduct field to query operations. -
COSTING_LOT_SIZE
Use with available fluent helpers to apply the CostingLotSize field to query operations. -
VARIANCE_KEY
Use with available fluent helpers to apply the VarianceKey field to query operations. -
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations. -
TASK_LIST_GROUP_COUNTER
Use with available fluent helpers to apply the TaskListGroupCounter field to query operations. -
TASK_LIST_GROUP
Use with available fluent helpers to apply the TaskListGroup field to query operations. -
TASK_LIST_TYPE
Use with available fluent helpers to apply the TaskListType field to query operations. -
COSTING_PRODUCTION_VERSION
Use with available fluent helpers to apply the CostingProductionVersion field to query operations. -
IS_FIXED_PRICE_CO_PRODUCT
Use with available fluent helpers to apply the IsFixedPriceCoProduct field to query operations. -
COSTING_SPECIAL_PROCUREMENT_TYPE
Use with available fluent helpers to apply the CostingSpecialProcurementType field to query operations. -
SOURCE_BOM_ALTERNATIVE
Use with available fluent helpers to apply the SourceBOMAlternative field to query operations. -
PRODUCT_BOM_USAGE
Use with available fluent helpers to apply the ProductBOMUsage field to query operations. -
PRODUCT_IS_COSTING_RELEVANT
Use with available fluent helpers to apply the ProductIsCostingRelevant field to query operations.
-
-
Constructor Details
-
ProductPlantCosting
public ProductPlantCosting() -
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)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantCosting>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setIsCoProduct
Constraints: noneOriginal property name from the Odata EDM: IsCoProduct
- Parameters:
isCoProduct- Co-Product
-
setCostingLotSize
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: CostingLotSize
- Parameters:
costingLotSize- Lot Size for Product Costing
-
setVarianceKey
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: VarianceKey
- Parameters:
varianceKey- Variance Key
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
setTaskListGroupCounter
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TaskListGroupCounter
- Parameters:
taskListGroupCounter- Group Counter
-
setTaskListGroup
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: TaskListGroup
- Parameters:
taskListGroup- Key for Task List Group
-
setTaskListType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TaskListType
- Parameters:
taskListType- Task List Type
-
setCostingProductionVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostingProductionVersion
- Parameters:
costingProductionVersion- Production Version To Be Costed
-
setIsFixedPriceCoProduct
Constraints: noneOriginal property name from the Odata EDM: IsFixedPriceCoProduct
- Parameters:
isFixedPriceCoProduct- Fixed-Price Co-Product
-
setCostingSpecialProcurementType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CostingSpecialProcurementType
- Parameters:
costingSpecialProcurementType- Special Procurement Type for Costing
-
setSourceBOMAlternative
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourceBOMAlternative
- Parameters:
sourceBOMAlternative- Alternative BOM
-
setProductBOMUsage
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductBOMUsage
- Parameters:
productBOMUsage- BOM Usage
-
setProductIsCostingRelevant
Constraints: noneOriginal property name from the Odata EDM: ProductIsCostingRelevant
- Parameters:
productIsCostingRelevant- Do Not Cost
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantCosting>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantCosting>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantCosting>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantCosting>
-
field
@Nonnull public static <T> ProductPlantCostingField<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> ProductPlantCostingField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<ProductPlantCosting>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductPlantCosting>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductPlantCosting>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantCosting>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getIsCoProduct
Constraints: noneOriginal property name from the Odata EDM: IsCoProduct
- Returns:
- Co-Product
-
getCostingLotSize
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: CostingLotSize
- Returns:
- Lot Size for Product Costing
-
getVarianceKey
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: VarianceKey
- Returns:
- Variance Key
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
getTaskListGroupCounter
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TaskListGroupCounter
- Returns:
- Group Counter
-
getTaskListGroup
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: TaskListGroup
- Returns:
- Key for Task List Group
-
getTaskListType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TaskListType
- Returns:
- Task List Type
-
getCostingProductionVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostingProductionVersion
- Returns:
- Production Version To Be Costed
-
getIsFixedPriceCoProduct
Constraints: noneOriginal property name from the Odata EDM: IsFixedPriceCoProduct
- Returns:
- Fixed-Price Co-Product
-
getCostingSpecialProcurementType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CostingSpecialProcurementType
- Returns:
- Special Procurement Type for Costing
-
getSourceBOMAlternative
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourceBOMAlternative
- Returns:
- Alternative BOM
-
getProductBOMUsage
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductBOMUsage
- Returns:
- BOM Usage
-
getProductIsCostingRelevant
Constraints: noneOriginal property name from the Odata EDM: ProductIsCostingRelevant
- Returns:
- Do Not Cost
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantCosting>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantCosting>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantCosting>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantCosting>
-