public class ProductWorkScheduling extends VdmEntity<ProductWorkScheduling>
Original entity name from the Odata EDM: A_ProductWorkSchedulingType
Modifier and Type | Class and Description |
---|---|
static class |
ProductWorkScheduling.ProductWorkSchedulingBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductWorkSchedulingSelectable |
ALL_FIELDS
Selector for all available fields of ProductWorkScheduling.
|
static ProductWorkSchedulingField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static ProductWorkSchedulingField<BigDecimal> |
MATERIAL_BASE_QUANTITY
Use with available fluent helpers to apply the MaterialBaseQuantity field to query operations.
|
static ProductWorkSchedulingField<BigDecimal> |
OVER_DELIV_TOLERANCE_LIMIT
Use with available fluent helpers to apply the OverDelivToleranceLimit field to query operations.
|
static ProductWorkSchedulingField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductWorkSchedulingField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductWorkSchedulingField<String> |
PRODUCTION_INVTRY_MANAGED_LOC
Use with available fluent helpers to apply the ProductionInvtryManagedLoc field to query operations.
|
static ProductWorkSchedulingField<BigDecimal> |
UNDER_DELIV_TOLERANCE_LIMIT
Use with available fluent helpers to apply the UnderDelivToleranceLimit field to query operations.
|
static ProductWorkSchedulingField<Boolean> |
UNLIMITED_OVER_DELIV_IS_ALLOWED
Use with available fluent helpers to apply the UnlimitedOverDelivIsAllowed field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductWorkScheduling() |
ProductWorkScheduling(String product,
String plant,
BigDecimal materialBaseQuantity,
Boolean unlimitedOverDelivIsAllowed,
BigDecimal overDelivToleranceLimit,
BigDecimal underDelivToleranceLimit,
String productionInvtryManagedLoc,
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 ProductWorkScheduling.ProductWorkSchedulingBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductWorkSchedulingField<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 |
getBaseUnit()
Constraints: Not nullable, Maximum length: 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() |
BigDecimal |
getMaterialBaseQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getOverDelivToleranceLimit()
Constraints: Not nullable, Precision: 3, Scale: 1
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getProductionInvtryManagedLoc()
Constraints: Not nullable, Maximum length: 4
|
Class<ProductWorkScheduling> |
getType() |
BigDecimal |
getUnderDelivToleranceLimit()
Constraints: Not nullable, Precision: 3, Scale: 1
|
Boolean |
getUnlimitedOverDelivIsAllowed()
Constraints: none
|
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setMaterialBaseQuantity(BigDecimal materialBaseQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOverDelivToleranceLimit(BigDecimal overDelivToleranceLimit)
Constraints: Not nullable, Precision: 3, Scale: 1
|
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 |
setProductionInvtryManagedLoc(String productionInvtryManagedLoc)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setUnderDelivToleranceLimit(BigDecimal underDelivToleranceLimit)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setUnlimitedOverDelivIsAllowed(Boolean unlimitedOverDelivIsAllowed)
Constraints: none
|
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 ProductWorkSchedulingSelectable ALL_FIELDS
public static final ProductWorkSchedulingField<String> PRODUCT
public static final ProductWorkSchedulingField<String> PLANT
public static final ProductWorkSchedulingField<BigDecimal> MATERIAL_BASE_QUANTITY
public static final ProductWorkSchedulingField<Boolean> UNLIMITED_OVER_DELIV_IS_ALLOWED
public static final ProductWorkSchedulingField<BigDecimal> OVER_DELIV_TOLERANCE_LIMIT
public static final ProductWorkSchedulingField<BigDecimal> UNDER_DELIV_TOLERANCE_LIMIT
public static final ProductWorkSchedulingField<String> PRODUCTION_INVTRY_MANAGED_LOC
public static final ProductWorkSchedulingField<String> BASE_UNIT
public ProductWorkScheduling()
public ProductWorkScheduling(@Nullable String product, @Nullable String plant, @Nullable BigDecimal materialBaseQuantity, @Nullable Boolean unlimitedOverDelivIsAllowed, @Nullable BigDecimal overDelivToleranceLimit, @Nullable BigDecimal underDelivToleranceLimit, @Nullable String productionInvtryManagedLoc, @Nullable String baseUnit)
@Nonnull public Class<ProductWorkScheduling> getType()
getType
in class VdmObject<ProductWorkScheduling>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Product Numberpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setMaterialBaseQuantity(@Nullable BigDecimal materialBaseQuantity)
Original property name from the Odata EDM: MaterialBaseQuantity
materialBaseQuantity
- Base quantitypublic void setUnlimitedOverDelivIsAllowed(@Nullable Boolean unlimitedOverDelivIsAllowed)
Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed
unlimitedOverDelivIsAllowed
- Indicator: Unlimited Overdelivery Allowedpublic void setOverDelivToleranceLimit(@Nullable BigDecimal overDelivToleranceLimit)
Original property name from the Odata EDM: OverDelivToleranceLimit
overDelivToleranceLimit
- Overdelivery tolerance limitpublic void setUnderDelivToleranceLimit(@Nullable BigDecimal underDelivToleranceLimit)
Original property name from the Odata EDM: UnderDelivToleranceLimit
underDelivToleranceLimit
- Underdelivery tolerance limitpublic void setProductionInvtryManagedLoc(@Nullable String productionInvtryManagedLoc)
Original property name from the Odata EDM: ProductionInvtryManagedLoc
productionInvtryManagedLoc
- Issue Storage Locationpublic 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<ProductWorkScheduling>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductWorkScheduling>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductWorkScheduling>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductWorkScheduling>
@Nonnull public static <T> ProductWorkSchedulingField<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> ProductWorkSchedulingField<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<ProductWorkScheduling>
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<ProductWorkScheduling>
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<ProductWorkScheduling>
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<ProductWorkScheduling>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductWorkScheduling.ProductWorkSchedulingBuilder 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 BigDecimal getMaterialBaseQuantity()
Original property name from the Odata EDM: MaterialBaseQuantity
@Nullable public Boolean getUnlimitedOverDelivIsAllowed()
Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed
@Nullable public BigDecimal getOverDelivToleranceLimit()
Original property name from the Odata EDM: OverDelivToleranceLimit
@Nullable public BigDecimal getUnderDelivToleranceLimit()
Original property name from the Odata EDM: UnderDelivToleranceLimit
@Nullable public String getProductionInvtryManagedLoc()
Original property name from the Odata EDM: ProductionInvtryManagedLoc
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nonnull public String toString()
toString
in class VdmObject<ProductWorkScheduling>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductWorkScheduling>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductWorkScheduling>
public int hashCode()
hashCode
in class VdmObject<ProductWorkScheduling>
Copyright © 2021 SAP SE. All rights reserved.