Class ProductPlantCosting
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductPlantCosting_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductPlantCosting instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductPlantCosting>Selector for all available fields of ProductPlantCosting.static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.NumericDecimal<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.Boolean<ProductPlantCosting>static final SimpleProperty.Boolean<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.Boolean<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final SimpleProperty.String<ProductPlantCosting>static final NavigationProperty.Single<ProductPlantCosting,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProductPlantCosting,ProductPlant> Use with available request builders to apply the _ProductPlant navigation property to query operations.static final SimpleProperty.String<ProductPlantCosting>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductPlantCosting(String product, String plant, Boolean isCoProduct, BigDecimal costingLotSize, String taskListGroup, String taskListType, String costingSpecialProcurementType, String sourceBOMAlternative, String productBOMUsage, Boolean productIsCostingRelevant, String taskListGroupCounter, String varianceKey, String costingProductionVersion, Boolean isFixedPriceCoProduct, String baseUnit, String baseISOUnit, Product to_Product, ProductPlant to_ProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 2protected Stringprotected StringConstraints: Not nullableConstraints: Not nullableprotected ODataEntityKeygetKey()getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullableio.vavr.control.Option<ProductPlant>Retrieval of associated ProductPlant entity (one to one).Constraints: 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()voidsetBaseISOUnit(String baseISOUnit) Constraints: Not nullable, Maximum length: 3voidsetBaseUnit(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: Not nullablevoidsetIsFixedPriceCoProduct(Boolean isFixedPriceCoProduct) Constraints: Not nullablevoid(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductBOMUsage(String productBOMUsage) Constraints: Not nullable, Maximum length: 1voidsetProductIsCostingRelevant(Boolean productIsCostingRelevant) Constraints: Not nullablevoidsetProductPlant(ProductPlant value) Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.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.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductPlantCosting. -
PRODUCT
-
PLANT
-
IS_CO_PRODUCT
-
COSTING_LOT_SIZE
-
TASK_LIST_GROUP
-
TASK_LIST_TYPE
-
COSTING_SPECIAL_PROCUREMENT_TYPE
-
SOURCE_BOM_ALTERNATIVE
-
PRODUCT_BOM_USAGE
-
PRODUCT_IS_COSTING_RELEVANT
-
TASK_LIST_GROUP_COUNTER
-
VARIANCE_KEY
-
COSTING_PRODUCTION_VERSION
-
IS_FIXED_PRICE_CO_PRODUCT
-
BASE_UNIT
-
BASE_ISO_UNIT
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_PLANT
Use with available request builders to apply the _ProductPlant navigation property 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 taskListGroup, @Nullable String taskListType, @Nullable String costingSpecialProcurementType, @Nullable String sourceBOMAlternative, @Nullable String productBOMUsage, @Nullable Boolean productIsCostingRelevant, @Nullable String taskListGroupCounter, @Nullable String varianceKey, @Nullable String costingProductionVersion, @Nullable Boolean isFixedPriceCoProduct, @Nullable String baseUnit, @Nullable String baseISOUnit, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantCosting>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original 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: Not nullableOriginal 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
-
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
-
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: Not nullableOriginal property name from the Odata EDM: ProductIsCostingRelevant
- Parameters:
productIsCostingRelevant- Do Not Cost
-
setTaskListGroupCounter
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TaskListGroupCounter
- Parameters:
taskListGroupCounter- Group Counter
-
setVarianceKey
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: VarianceKey
- Parameters:
varianceKey- Variance Key
-
setCostingProductionVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostingProductionVersion
- Parameters:
costingProductionVersion- Production Version To Be Costed
-
setIsFixedPriceCoProduct
Constraints: Not nullableOriginal property name from the Odata EDM: IsFixedPriceCoProduct
- Parameters:
isFixedPriceCoProduct- Fixed-Price Co-Product
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
setBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Parameters:
baseISOUnit- Base unit of measure in ISO code
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantCosting>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantCosting>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantCosting>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantCosting>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantCosting>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductPlantCosting has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
getProductPlantIfPresent
Retrieval of associated ProductPlant entity (one to one). This corresponds to the OData navigation property _ProductPlant.If the navigation property for an entity ProductPlantCosting has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _ProductPlant is already loaded, the result will
contain the ProductPlant entity. If not, an
Optionwith result stateemptyis returned.
-
setProductPlant
Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.- Parameters:
value- New ProductPlant entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original 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: Not nullableOriginal 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
-
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
-
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: Not nullableOriginal property name from the Odata EDM: ProductIsCostingRelevant
- Returns:
- Do Not Cost
-
getTaskListGroupCounter
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TaskListGroupCounter
- Returns:
- Group Counter
-
getVarianceKey
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: VarianceKey
- Returns:
- Variance Key
-
getCostingProductionVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostingProductionVersion
- Returns:
- Production Version To Be Costed
-
getIsFixedPriceCoProduct
Constraints: Not nullableOriginal property name from the Odata EDM: IsFixedPriceCoProduct
- Returns:
- Fixed-Price Co-Product
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
getBaseISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseISOUnit
- Returns:
- Base unit of measure in ISO code
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantCosting>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantCosting>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantCosting>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantCosting>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductPlantCosting>
-