Class ProductPlantSales
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductPlantSales_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductPlantSales instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductPlantSales>Selector for all available fields of ProductPlantSales.static final SimpleProperty.String<ProductPlantSales>static final SimpleProperty.String<ProductPlantSales>static final SimpleProperty.String<ProductPlantSales>static final SimpleProperty.NumericDecimal<ProductPlantSales>static final SimpleProperty.String<ProductPlantSales>static final SimpleProperty.String<ProductPlantSales>static final SimpleProperty.NumericDecimal<ProductPlantSales>static final SimpleProperty.String<ProductPlantSales>static final SimpleProperty.String<ProductPlantSales>static final NavigationProperty.Single<ProductPlantSales,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProductPlantSales,ProductPlant> Use with available request builders to apply the _ProductPlant navigation property to query operations.static final SimpleProperty.NumericDecimal<ProductPlantSales>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductPlantSales(String product, String plant, String loadingGroup, BigDecimal capPlanningQuantityInBaseUoM, BigDecimal prodShipgProcgDurationInDays, BigDecimal wrkCentersShipgSetupTimeInDays, String replacementPartType, String availabilityCheckType, String baseUnit, String baseISOUnit, Product to_Product, ProductPlant to_ProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 13, Scale: 3protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 4getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 5, Scale: 2(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).io.vavr.control.Option<ProductPlant>Retrieval of associated ProductPlant entity (one to one).Constraints: Not nullable, Maximum length: 1getType()Constraints: Not nullable, Precision: 5, Scale: 2inthashCode()voidsetAvailabilityCheckType(String availabilityCheckType) Constraints: Not nullable, Maximum length: 2voidsetBaseISOUnit(String baseISOUnit) Constraints: Not nullable, Maximum length: 3voidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetCapPlanningQuantityInBaseUoM(BigDecimal capPlanningQuantityInBaseUoM) Constraints: Not nullable, Precision: 13, Scale: 3voidsetLoadingGroup(String loadingGroup) Constraints: Not nullable, Maximum length: 4void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProdShipgProcgDurationInDays(BigDecimal prodShipgProcgDurationInDays) Constraints: Not nullable, Precision: 5, Scale: 2voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductPlant(ProductPlant value) Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.voidsetReplacementPartType(String replacementPartType) Constraints: Not nullable, Maximum length: 1voidsetWrkCentersShipgSetupTimeInDays(BigDecimal wrkCentersShipgSetupTimeInDays) Constraints: Not nullable, Precision: 5, Scale: 2toString()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 ProductPlantSales. -
PRODUCT
-
PLANT
-
LOADING_GROUP
-
CAP_PLANNING_QUANTITY_IN_BASE_UO_M
public static final SimpleProperty.NumericDecimal<ProductPlantSales> CAP_PLANNING_QUANTITY_IN_BASE_UO_M -
PROD_SHIPG_PROCG_DURATION_IN_DAYS
public static final SimpleProperty.NumericDecimal<ProductPlantSales> PROD_SHIPG_PROCG_DURATION_IN_DAYS -
WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS
public static final SimpleProperty.NumericDecimal<ProductPlantSales> WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS -
REPLACEMENT_PART_TYPE
-
AVAILABILITY_CHECK_TYPE
-
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
-
ProductPlantSales
public ProductPlantSales() -
ProductPlantSales
public ProductPlantSales(@Nullable String product, @Nullable String plant, @Nullable String loadingGroup, @Nullable BigDecimal capPlanningQuantityInBaseUoM, @Nullable BigDecimal prodShipgProcgDurationInDays, @Nullable BigDecimal wrkCentersShipgSetupTimeInDays, @Nullable String replacementPartType, @Nullable String availabilityCheckType, @Nullable String baseUnit, @Nullable String baseISOUnit, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantSales>
-
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
-
setLoadingGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LoadingGroup
- Parameters:
loadingGroup- Loading Group
-
setCapPlanningQuantityInBaseUoM
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM
- Parameters:
capPlanningQuantityInBaseUoM- Base quantity for capacity planning in shipping
-
setProdShipgProcgDurationInDays
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: ProdShipgProcgDurationInDays
- Parameters:
prodShipgProcgDurationInDays- Shipping processing time
-
setWrkCentersShipgSetupTimeInDays
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays
- Parameters:
wrkCentersShipgSetupTimeInDays- Shipping setup time
-
setReplacementPartType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReplacementPartType
- Parameters:
replacementPartType- Replacement part
-
setAvailabilityCheckType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: AvailabilityCheckType
- Parameters:
availabilityCheckType- Checking Group for Availability Check
-
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<ProductPlantSales>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantSales>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantSales>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantSales>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantSales>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductPlantSales 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 ProductPlantSales 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
-
getLoadingGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LoadingGroup
- Returns:
- Loading Group
-
getCapPlanningQuantityInBaseUoM
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM
- Returns:
- Base quantity for capacity planning in shipping
-
getProdShipgProcgDurationInDays
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: ProdShipgProcgDurationInDays
- Returns:
- Shipping processing time
-
getWrkCentersShipgSetupTimeInDays
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays
- Returns:
- Shipping setup time
-
getReplacementPartType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReplacementPartType
- Returns:
- Replacement part
-
getAvailabilityCheckType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: AvailabilityCheckType
- Returns:
- Checking Group for Availability Check
-
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<ProductPlantSales>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantSales>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantSales>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantSales>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductPlantSales>
-