Class ProductValuationCosting
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductValuationCosting_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductValuationCosting instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductValuationCosting>Selector for all available fields of ProductValuationCosting.static final SimpleProperty.String<ProductValuationCosting>static final SimpleProperty.String<ProductValuationCosting>static final SimpleProperty.String<ProductValuationCosting>static final SimpleProperty.Date<ProductValuationCosting>static final SimpleProperty.Date<ProductValuationCosting>static final SimpleProperty.Date<ProductValuationCosting>static final SimpleProperty.Boolean<ProductValuationCosting>static final SimpleProperty.NumericDecimal<ProductValuationCosting>static final SimpleProperty.NumericDecimal<ProductValuationCosting>static final SimpleProperty.NumericDecimal<ProductValuationCosting>static final SimpleProperty.String<ProductValuationCosting>static final SimpleProperty.Boolean<ProductValuationCosting>static final NavigationProperty.Single<ProductValuationCosting,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProductValuationCosting,ProductValuation> Use with available request builders to apply the _ProductValuation navigation property to query operations.static final SimpleProperty.String<ProductValuationCosting>static final SimpleProperty.String<ProductValuationCosting>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductValuationCosting(String product, String valuationArea, String valuationType, Boolean productIsCostedWithQtyStruc, Boolean isMaterialRelatedOrigin, String costOriginGroup, String costingOverheadGroup, BigDecimal plannedPrice1InCoCodeCrcy, BigDecimal plannedPrice2InCoCodeCrcy, BigDecimal plannedPrice3InCoCodeCrcy, LocalDate futurePlndPrice1ValdtyDate, LocalDate futurePlndPrice2ValdtyDate, LocalDate futurePlndPrice3ValdtyDate, String currency, Product to_Product, ProductValuation to_ProductValuation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: NullableConstraints: NullableConstraints: NullableConstraints: Not nullableprotected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Precision: 11, Scale: 0(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullableio.vavr.control.Option<ProductValuation>Retrieval of associated ProductValuation entity (one to one).getType()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10inthashCode()voidsetCostingOverheadGroup(String costingOverheadGroup) Constraints: Not nullable, Maximum length: 10voidsetCostOriginGroup(String costOriginGroup) Constraints: Not nullable, Maximum length: 4voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 3voidsetFuturePlndPrice1ValdtyDate(LocalDate futurePlndPrice1ValdtyDate) Constraints: NullablevoidsetFuturePlndPrice2ValdtyDate(LocalDate futurePlndPrice2ValdtyDate) Constraints: NullablevoidsetFuturePlndPrice3ValdtyDate(LocalDate futurePlndPrice3ValdtyDate) Constraints: NullablevoidsetIsMaterialRelatedOrigin(Boolean isMaterialRelatedOrigin) Constraints: Not nullablevoidsetPlannedPrice1InCoCodeCrcy(BigDecimal plannedPrice1InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetPlannedPrice2InCoCodeCrcy(BigDecimal plannedPrice2InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetPlannedPrice3InCoCodeCrcy(BigDecimal plannedPrice3InCoCodeCrcy) Constraints: Not nullable, Precision: 11, Scale: 0voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductIsCostedWithQtyStruc(Boolean productIsCostedWithQtyStruc) Constraints: Not nullablevoidOverwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.voidsetValuationArea(String valuationArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetValuationType(String valuationType) (Key Field) Constraints: Not nullable, Maximum length: 10toString()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 ProductValuationCosting. -
PRODUCT
-
VALUATION_AREA
-
VALUATION_TYPE
-
PRODUCT_IS_COSTED_WITH_QTY_STRUC
public static final SimpleProperty.Boolean<ProductValuationCosting> PRODUCT_IS_COSTED_WITH_QTY_STRUC -
IS_MATERIAL_RELATED_ORIGIN
-
COST_ORIGIN_GROUP
-
COSTING_OVERHEAD_GROUP
-
PLANNED_PRICE1_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationCosting> PLANNED_PRICE1_IN_CO_CODE_CRCY -
PLANNED_PRICE2_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationCosting> PLANNED_PRICE2_IN_CO_CODE_CRCY -
PLANNED_PRICE3_IN_CO_CODE_CRCY
public static final SimpleProperty.NumericDecimal<ProductValuationCosting> PLANNED_PRICE3_IN_CO_CODE_CRCY -
FUTURE_PLND_PRICE1_VALDTY_DATE
-
FUTURE_PLND_PRICE2_VALDTY_DATE
-
FUTURE_PLND_PRICE3_VALDTY_DATE
-
CURRENCY
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_VALUATION
public static final NavigationProperty.Single<ProductValuationCosting,ProductValuation> TO__PRODUCT_VALUATIONUse with available request builders to apply the _ProductValuation navigation property to query operations.
-
-
Constructor Details
-
ProductValuationCosting
public ProductValuationCosting() -
ProductValuationCosting
public ProductValuationCosting(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable Boolean productIsCostedWithQtyStruc, @Nullable Boolean isMaterialRelatedOrigin, @Nullable String costOriginGroup, @Nullable String costingOverheadGroup, @Nullable BigDecimal plannedPrice1InCoCodeCrcy, @Nullable BigDecimal plannedPrice2InCoCodeCrcy, @Nullable BigDecimal plannedPrice3InCoCodeCrcy, @Nullable LocalDate futurePlndPrice1ValdtyDate, @Nullable LocalDate futurePlndPrice2ValdtyDate, @Nullable LocalDate futurePlndPrice3ValdtyDate, @Nullable String currency, @Nullable Product to_Product, @Nullable ProductValuation to_ProductValuation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductValuationCosting>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Parameters:
valuationArea- Valuation Area
-
setValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Parameters:
valuationType- Valuation Type
-
setProductIsCostedWithQtyStruc
Constraints: Not nullableOriginal property name from the Odata EDM: ProductIsCostedWithQtyStruc
- Parameters:
productIsCostedWithQtyStruc- Material Is Costed with Quantity Structure
-
setIsMaterialRelatedOrigin
Constraints: Not nullableOriginal property name from the Odata EDM: IsMaterialRelatedOrigin
- Parameters:
isMaterialRelatedOrigin- Material-related origin
-
setCostOriginGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostOriginGroup
- Parameters:
costOriginGroup- Origin Group as Subdivision of Cost Element
-
setCostingOverheadGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostingOverheadGroup
- Parameters:
costingOverheadGroup- Costing Overhead Group
-
setPlannedPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy
- Parameters:
plannedPrice1InCoCodeCrcy- Future Planned Price 1
-
setPlannedPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy
- Parameters:
plannedPrice2InCoCodeCrcy- Future Planned Price 2
-
setPlannedPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy
- Parameters:
plannedPrice3InCoCodeCrcy- Future Planned Price 3
-
setFuturePlndPrice1ValdtyDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePlndPrice1ValdtyDate
- Parameters:
futurePlndPrice1ValdtyDate- Date from Which Future Planned Price 1 Is Valid
-
setFuturePlndPrice2ValdtyDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePlndPrice2ValdtyDate
- Parameters:
futurePlndPrice2ValdtyDate- Date from Which Future Planned Price 2 Is Valid
-
setFuturePlndPrice3ValdtyDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePlndPrice3ValdtyDate
- Parameters:
futurePlndPrice3ValdtyDate- Date from Which Future Planned Price 3 Is Valid
-
setCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductValuationCosting>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductValuationCosting>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductValuationCosting>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductValuationCosting>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductValuationCosting>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductValuationCosting 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.
-
getProductValuationIfPresent
Retrieval of associated ProductValuation entity (one to one). This corresponds to the OData navigation property _ProductValuation.If the navigation property for an entity ProductValuationCosting 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 _ProductValuation is already loaded, the result will
contain the ProductValuation entity. If not, an
Optionwith result stateemptyis returned.
-
setProductValuation
Overwrites the associated ProductValuation entity for the loaded navigation property _ProductValuation.- Parameters:
value- New ProductValuation entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getValuationArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationArea
- Returns:
- Valuation Area
-
getValuationType
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ValuationType
- Returns:
- Valuation Type
-
getProductIsCostedWithQtyStruc
Constraints: Not nullableOriginal property name from the Odata EDM: ProductIsCostedWithQtyStruc
- Returns:
- Material Is Costed with Quantity Structure
-
getIsMaterialRelatedOrigin
Constraints: Not nullableOriginal property name from the Odata EDM: IsMaterialRelatedOrigin
- Returns:
- Material-related origin
-
getCostOriginGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostOriginGroup
- Returns:
- Origin Group as Subdivision of Cost Element
-
getCostingOverheadGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostingOverheadGroup
- Returns:
- Costing Overhead Group
-
getPlannedPrice1InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: PlannedPrice1InCoCodeCrcy
- Returns:
- Future Planned Price 1
-
getPlannedPrice2InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: PlannedPrice2InCoCodeCrcy
- Returns:
- Future Planned Price 2
-
getPlannedPrice3InCoCodeCrcy
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: PlannedPrice3InCoCodeCrcy
- Returns:
- Future Planned Price 3
-
getFuturePlndPrice1ValdtyDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePlndPrice1ValdtyDate
- Returns:
- Date from Which Future Planned Price 1 Is Valid
-
getFuturePlndPrice2ValdtyDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePlndPrice2ValdtyDate
- Returns:
- Date from Which Future Planned Price 2 Is Valid
-
getFuturePlndPrice3ValdtyDate
Constraints: NullableOriginal property name from the Odata EDM: FuturePlndPrice3ValdtyDate
- Returns:
- Date from Which Future Planned Price 3 Is Valid
-
getCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
toString
- Overrides:
toStringin classVdmObject<ProductValuationCosting>
-
equals
- Overrides:
equalsin classVdmEntity<ProductValuationCosting>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductValuationCosting>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductValuationCosting>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductValuationCosting>
-