public class ProductPlantSales extends VdmEntity<ProductPlantSales>
Original entity name from the Odata EDM: A_ProductPlantSalesType
Modifier and Type | Class and Description |
---|---|
static class |
ProductPlantSales.ProductPlantSalesBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductPlantSalesSelectable |
ALL_FIELDS
Selector for all available fields of ProductPlantSales.
|
static ProductPlantSalesField<String> |
AVAILABILITY_CHECK_TYPE
Use with available fluent helpers to apply the AvailabilityCheckType field to query operations.
|
static ProductPlantSalesField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ProductPlantSalesField<BigDecimal> |
CAP_PLANNING_QUANTITY_IN_BASE_UO_M
Use with available fluent helpers to apply the CapPlanningQuantityInBaseUoM field to query operations.
|
static ProductPlantSalesField<String> |
LOADING_GROUP
Use with available fluent helpers to apply the LoadingGroup field to query operations.
|
static ProductPlantSalesField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductPlantSalesField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductPlantSalesField<BigDecimal> |
PRODUCT_SHIPPING_PROCESSING_TIME
Use with available fluent helpers to apply the ProductShippingProcessingTime field to query operations.
|
static ProductPlantSalesField<String> |
REPLACEMENT_PART_TYPE
Use with available fluent helpers to apply the ReplacementPartType field to query operations.
|
static ProductPlantSalesField<BigDecimal> |
WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS
Use with available fluent helpers to apply the WrkCentersShipgSetupTimeInDays field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductPlantSales() |
ProductPlantSales(String product,
String plant,
String loadingGroup,
String replacementPartType,
BigDecimal capPlanningQuantityInBaseUoM,
BigDecimal productShippingProcessingTime,
BigDecimal wrkCentersShipgSetupTimeInDays,
String availabilityCheckType,
String baseUnit) |
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 ProductPlantSales.ProductPlantSalesBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductPlantSalesField<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 |
getAvailabilityCheckType()
Constraints: Not nullable, Maximum length: 2
|
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getCapPlanningQuantityInBaseUoM()
Constraints: Not nullable, Precision: 13, Scale: 3
|
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.
|
protected Map<String,Object> |
getKey() |
String |
getLoadingGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getProductShippingProcessingTime()
Constraints: Not nullable, Precision: 5, Scale: 2
|
String |
getReplacementPartType()
Constraints: Not nullable, Maximum length: 1
|
Class<ProductPlantSales> |
getType() |
BigDecimal |
getWrkCentersShipgSetupTimeInDays()
Constraints: Not nullable, Precision: 5, Scale: 2
|
int |
hashCode() |
void |
setAvailabilityCheckType(String availabilityCheckType)
Constraints: Not nullable, Maximum length: 2
|
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapPlanningQuantityInBaseUoM(BigDecimal capPlanningQuantityInBaseUoM)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setLoadingGroup(String loadingGroup)
Constraints: Not nullable, Maximum length: 4
|
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 |
setProductShippingProcessingTime(BigDecimal productShippingProcessingTime)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setReplacementPartType(String replacementPartType)
Constraints: Not nullable, Maximum length: 1
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setWrkCentersShipgSetupTimeInDays(BigDecimal wrkCentersShipgSetupTimeInDays)
Constraints: Not nullable, Precision: 5, Scale: 2
|
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 ProductPlantSalesSelectable ALL_FIELDS
public static final ProductPlantSalesField<String> PRODUCT
public static final ProductPlantSalesField<String> PLANT
public static final ProductPlantSalesField<String> LOADING_GROUP
public static final ProductPlantSalesField<String> REPLACEMENT_PART_TYPE
public static final ProductPlantSalesField<BigDecimal> CAP_PLANNING_QUANTITY_IN_BASE_UO_M
public static final ProductPlantSalesField<BigDecimal> PRODUCT_SHIPPING_PROCESSING_TIME
public static final ProductPlantSalesField<BigDecimal> WRK_CENTERS_SHIPG_SETUP_TIME_IN_DAYS
public static final ProductPlantSalesField<String> AVAILABILITY_CHECK_TYPE
public static final ProductPlantSalesField<String> BASE_UNIT
public ProductPlantSales()
public ProductPlantSales(@Nullable String product, @Nullable String plant, @Nullable String loadingGroup, @Nullable String replacementPartType, @Nullable BigDecimal capPlanningQuantityInBaseUoM, @Nullable BigDecimal productShippingProcessingTime, @Nullable BigDecimal wrkCentersShipgSetupTimeInDays, @Nullable String availabilityCheckType, @Nullable String baseUnit)
@Nonnull public Class<ProductPlantSales> getType()
getType
in class VdmObject<ProductPlantSales>
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 setLoadingGroup(@Nullable String loadingGroup)
Original property name from the Odata EDM: LoadingGroup
loadingGroup
- Loading Grouppublic void setReplacementPartType(@Nullable String replacementPartType)
Original property name from the Odata EDM: ReplacementPartType
replacementPartType
- Replacement partpublic void setCapPlanningQuantityInBaseUoM(@Nullable BigDecimal capPlanningQuantityInBaseUoM)
Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM
capPlanningQuantityInBaseUoM
- Base quantity for capacity planning in shippingpublic void setProductShippingProcessingTime(@Nullable BigDecimal productShippingProcessingTime)
Original property name from the Odata EDM: ProductShippingProcessingTime
productShippingProcessingTime
- Shipping processing timepublic void setWrkCentersShipgSetupTimeInDays(@Nullable BigDecimal wrkCentersShipgSetupTimeInDays)
Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays
wrkCentersShipgSetupTimeInDays
- Shipping setup timepublic void setAvailabilityCheckType(@Nullable String availabilityCheckType)
Original property name from the Odata EDM: AvailabilityCheckType
availabilityCheckType
- Checking Group for Availability Checkpublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measureprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductPlantSales>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductPlantSales>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductPlantSales>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductPlantSales>
@Nonnull public static <T> ProductPlantSalesField<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> ProductPlantSalesField<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<ProductPlantSales>
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<ProductPlantSales>
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<ProductPlantSales>
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<ProductPlantSales>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductPlantSales.ProductPlantSalesBuilder 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 String getLoadingGroup()
Original property name from the Odata EDM: LoadingGroup
@Nullable public String getReplacementPartType()
Original property name from the Odata EDM: ReplacementPartType
@Nullable public BigDecimal getCapPlanningQuantityInBaseUoM()
Original property name from the Odata EDM: CapPlanningQuantityInBaseUoM
@Nullable public BigDecimal getProductShippingProcessingTime()
Original property name from the Odata EDM: ProductShippingProcessingTime
@Nullable public BigDecimal getWrkCentersShipgSetupTimeInDays()
Original property name from the Odata EDM: WrkCentersShipgSetupTimeInDays
@Nullable public String getAvailabilityCheckType()
Original property name from the Odata EDM: AvailabilityCheckType
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nonnull public String toString()
toString
in class VdmObject<ProductPlantSales>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductPlantSales>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductPlantSales>
public int hashCode()
hashCode
in class VdmObject<ProductPlantSales>
Copyright © 2021 SAP SE. All rights reserved.