public class ProdTimeDepdntStockLvl extends VdmEntity<ProdTimeDepdntStockLvl>
Original entity name from the Odata EDM: A_ProdTimeDepdntStockLvlType
Modifier and Type | Class and Description |
---|---|
static class |
ProdTimeDepdntStockLvl.ProdTimeDepdntStockLvlBuilder |
Modifier and Type | Field and Description |
---|---|
static ProdTimeDepdntStockLvlSelectable |
ALL_FIELDS
Selector for all available fields of ProdTimeDepdntStockLvl.
|
static ProdTimeDepdntStockLvlField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ProdTimeDepdntStockLvlField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ProdTimeDepdntStockLvlField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
MAX_SUPPLY_DURATION_IN_DAYS
Use with available fluent helpers to apply the MaxSupplyDurationInDays field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
MRP_AREA
Use with available fluent helpers to apply the MRPArea field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProdTimeDepdntStockLvlField<BigDecimal> |
PRODUCT_MAX_STOCK_LEVEL_QUANTITY
Use with available fluent helpers to apply the ProductMaxStockLevelQuantity field to query operations.
|
static ProdTimeDepdntStockLvlField<BigDecimal> |
PRODUCT_SAFETY_STOCK_LVL_QUANTITY
Use with available fluent helpers to apply the ProductSafetyStockLvlQuantity field to query operations.
|
static ProdTimeDepdntStockLvlField<BigDecimal> |
PRODUCT_TARGET_STOCK_LVL_QUANTITY
Use with available fluent helpers to apply the ProductTargetStockLvlQuantity field to query operations.
|
static ProdTimeDepdntStockLvlField<LocalDateTime> |
PROPOSAL_START_DATE
Use with available fluent helpers to apply the ProposalStartDate field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
PROPOSAL_VERSION
Use with available fluent helpers to apply the ProposalVersion field to query operations.
|
static ProdTimeDepdntStockLvlField<BigDecimal> |
REORDER_THRESHOLD_QUANTITY
Use with available fluent helpers to apply the ReorderThresholdQuantity field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
SAFETY_SUPPLY_DURATION_IN_DAYS
Use with available fluent helpers to apply the SafetySupplyDurationInDays field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
STOCK_LEVEL_PROPOSAL_ID
Use with available fluent helpers to apply the StockLevelProposalID field to query operations.
|
static ProdTimeDepdntStockLvlField<LocalDateTime> |
STOCK_LEVEL_VALIDITY_END_DATE
Use with available fluent helpers to apply the StockLevelValidityEndDate field to query operations.
|
static ProdTimeDepdntStockLvlField<LocalDateTime> |
STOCK_LEVEL_VALIDITY_START_DATE
Use with available fluent helpers to apply the StockLevelValidityStartDate field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
TARGET_SUPPLY_DURATION_IN_DAYS
Use with available fluent helpers to apply the TargetSupplyDurationInDays field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
UNIT_OF_MEASURE
Use with available fluent helpers to apply the UnitOfMeasure field to query operations.
|
static ProdTimeDepdntStockLvlField<String> |
UNIT_OF_MEASURE_ISO_CODE
Use with available fluent helpers to apply the UnitOfMeasureISOCode field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProdTimeDepdntStockLvl() |
ProdTimeDepdntStockLvl(String product,
String plant,
String mRPArea,
LocalDateTime stockLevelValidityStartDate,
LocalDateTime stockLevelValidityEndDate,
BigDecimal productSafetyStockLvlQuantity,
BigDecimal reorderThresholdQuantity,
BigDecimal productMaxStockLevelQuantity,
BigDecimal productTargetStockLvlQuantity,
String unitOfMeasure,
String unitOfMeasureISOCode,
String targetSupplyDurationInDays,
String maxSupplyDurationInDays,
String safetySupplyDurationInDays,
String stockLevelProposalID,
String proposalVersion,
LocalDateTime proposalStartDate,
String createdByUser,
String lastChangedByUser,
ZonedDateTime creationDateTime,
ZonedDateTime lastChangeDateTime) |
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 ProdTimeDepdntStockLvl.ProdTimeDepdntStockLvlBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProdTimeDepdntStockLvlField<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 |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
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() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaxSupplyDurationInDays()
Constraints: Not nullable, Maximum length: 2
|
String |
getMRPArea()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getProductMaxStockLevelQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getProductSafetyStockLvlQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getProductTargetStockLvlQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
LocalDateTime |
getProposalStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getProposalVersion()
Constraints: Not nullable, Maximum length: 8
|
BigDecimal |
getReorderThresholdQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getSafetySupplyDurationInDays()
Constraints: Not nullable, Maximum length: 2
|
String |
getStockLevelProposalID()
Constraints: Not nullable, Maximum length: 75
|
LocalDateTime |
getStockLevelValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getStockLevelValidityStartDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
String |
getTargetSupplyDurationInDays()
Constraints: Not nullable, Maximum length: 2
|
Class<ProdTimeDepdntStockLvl> |
getType() |
String |
getUnitOfMeasure()
Constraints: Not nullable, Maximum length: 3
|
String |
getUnitOfMeasureISOCode()
Constraints: Not nullable, Maximum length: 3
|
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaxSupplyDurationInDays(String maxSupplyDurationInDays)
Constraints: Not nullable, Maximum length: 2
|
void |
setMRPArea(String mRPArea)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
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 |
setProductMaxStockLevelQuantity(BigDecimal productMaxStockLevelQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setProductSafetyStockLvlQuantity(BigDecimal productSafetyStockLvlQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setProductTargetStockLvlQuantity(BigDecimal productTargetStockLvlQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setProposalStartDate(LocalDateTime proposalStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setProposalVersion(String proposalVersion)
Constraints: Not nullable, Maximum length: 8
|
void |
setReorderThresholdQuantity(BigDecimal reorderThresholdQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setSafetySupplyDurationInDays(String safetySupplyDurationInDays)
Constraints: Not nullable, Maximum length: 2
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStockLevelProposalID(String stockLevelProposalID)
Constraints: Not nullable, Maximum length: 75
|
void |
setStockLevelValidityEndDate(LocalDateTime stockLevelValidityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setStockLevelValidityStartDate(LocalDateTime stockLevelValidityStartDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setTargetSupplyDurationInDays(String targetSupplyDurationInDays)
Constraints: Not nullable, Maximum length: 2
|
void |
setUnitOfMeasure(String unitOfMeasure)
Constraints: Not nullable, Maximum length: 3
|
void |
setUnitOfMeasureISOCode(String unitOfMeasureISOCode)
Constraints: Not nullable, Maximum length: 3
|
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 ProdTimeDepdntStockLvlSelectable ALL_FIELDS
public static final ProdTimeDepdntStockLvlField<String> PRODUCT
public static final ProdTimeDepdntStockLvlField<String> PLANT
public static final ProdTimeDepdntStockLvlField<String> MRP_AREA
public static final ProdTimeDepdntStockLvlField<LocalDateTime> STOCK_LEVEL_VALIDITY_START_DATE
public static final ProdTimeDepdntStockLvlField<LocalDateTime> STOCK_LEVEL_VALIDITY_END_DATE
public static final ProdTimeDepdntStockLvlField<BigDecimal> PRODUCT_SAFETY_STOCK_LVL_QUANTITY
public static final ProdTimeDepdntStockLvlField<BigDecimal> REORDER_THRESHOLD_QUANTITY
public static final ProdTimeDepdntStockLvlField<BigDecimal> PRODUCT_MAX_STOCK_LEVEL_QUANTITY
public static final ProdTimeDepdntStockLvlField<BigDecimal> PRODUCT_TARGET_STOCK_LVL_QUANTITY
public static final ProdTimeDepdntStockLvlField<String> UNIT_OF_MEASURE
public static final ProdTimeDepdntStockLvlField<String> UNIT_OF_MEASURE_ISO_CODE
public static final ProdTimeDepdntStockLvlField<String> TARGET_SUPPLY_DURATION_IN_DAYS
public static final ProdTimeDepdntStockLvlField<String> MAX_SUPPLY_DURATION_IN_DAYS
public static final ProdTimeDepdntStockLvlField<String> SAFETY_SUPPLY_DURATION_IN_DAYS
public static final ProdTimeDepdntStockLvlField<String> STOCK_LEVEL_PROPOSAL_ID
public static final ProdTimeDepdntStockLvlField<String> PROPOSAL_VERSION
public static final ProdTimeDepdntStockLvlField<LocalDateTime> PROPOSAL_START_DATE
public static final ProdTimeDepdntStockLvlField<String> CREATED_BY_USER
public static final ProdTimeDepdntStockLvlField<String> LAST_CHANGED_BY_USER
public static final ProdTimeDepdntStockLvlField<ZonedDateTime> CREATION_DATE_TIME
public static final ProdTimeDepdntStockLvlField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public ProdTimeDepdntStockLvl()
public ProdTimeDepdntStockLvl(@Nullable String product, @Nullable String plant, @Nullable String mRPArea, @Nullable LocalDateTime stockLevelValidityStartDate, @Nullable LocalDateTime stockLevelValidityEndDate, @Nullable BigDecimal productSafetyStockLvlQuantity, @Nullable BigDecimal reorderThresholdQuantity, @Nullable BigDecimal productMaxStockLevelQuantity, @Nullable BigDecimal productTargetStockLvlQuantity, @Nullable String unitOfMeasure, @Nullable String unitOfMeasureISOCode, @Nullable String targetSupplyDurationInDays, @Nullable String maxSupplyDurationInDays, @Nullable String safetySupplyDurationInDays, @Nullable String stockLevelProposalID, @Nullable String proposalVersion, @Nullable LocalDateTime proposalStartDate, @Nullable String createdByUser, @Nullable String lastChangedByUser, @Nullable ZonedDateTime creationDateTime, @Nullable ZonedDateTime lastChangeDateTime)
@Nonnull public Class<ProdTimeDepdntStockLvl> getType()
getType
in class VdmObject<ProdTimeDepdntStockLvl>
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 setMRPArea(@Nullable String mRPArea)
Original property name from the Odata EDM: MRPArea
mRPArea
- MRP Areapublic void setStockLevelValidityStartDate(@Nullable LocalDateTime stockLevelValidityStartDate)
Original property name from the Odata EDM: StockLevelValidityStartDate
stockLevelValidityStartDate
- Valid-From Datepublic void setStockLevelValidityEndDate(@Nullable LocalDateTime stockLevelValidityEndDate)
Original property name from the Odata EDM: StockLevelValidityEndDate
stockLevelValidityEndDate
- Valid-To Datepublic void setProductSafetyStockLvlQuantity(@Nullable BigDecimal productSafetyStockLvlQuantity)
Original property name from the Odata EDM: ProductSafetyStockLvlQuantity
productSafetyStockLvlQuantity
- Safety Stockpublic void setReorderThresholdQuantity(@Nullable BigDecimal reorderThresholdQuantity)
Original property name from the Odata EDM: ReorderThresholdQuantity
reorderThresholdQuantity
- Reorder Pointpublic void setProductMaxStockLevelQuantity(@Nullable BigDecimal productMaxStockLevelQuantity)
Original property name from the Odata EDM: ProductMaxStockLevelQuantity
productMaxStockLevelQuantity
- Maximum Stock Levelpublic void setProductTargetStockLvlQuantity(@Nullable BigDecimal productTargetStockLvlQuantity)
Original property name from the Odata EDM: ProductTargetStockLvlQuantity
productTargetStockLvlQuantity
- Target Stock Levelpublic void setUnitOfMeasure(@Nullable String unitOfMeasure)
Original property name from the Odata EDM: UnitOfMeasure
unitOfMeasure
- Base Unit of Measurepublic void setUnitOfMeasureISOCode(@Nullable String unitOfMeasureISOCode)
Original property name from the Odata EDM: UnitOfMeasureISOCode
unitOfMeasureISOCode
- ISO code for unit of measurementpublic void setTargetSupplyDurationInDays(@Nullable String targetSupplyDurationInDays)
Original property name from the Odata EDM: TargetSupplyDurationInDays
targetSupplyDurationInDays
- Target Days of Supply in Workdayspublic void setMaxSupplyDurationInDays(@Nullable String maxSupplyDurationInDays)
Original property name from the Odata EDM: MaxSupplyDurationInDays
maxSupplyDurationInDays
- Maximum Days of Supply in Workdayspublic void setSafetySupplyDurationInDays(@Nullable String safetySupplyDurationInDays)
Original property name from the Odata EDM: SafetySupplyDurationInDays
safetySupplyDurationInDays
- Safety time (in workdays)public void setStockLevelProposalID(@Nullable String stockLevelProposalID)
Original property name from the Odata EDM: StockLevelProposalID
stockLevelProposalID
- Proposal Idpublic void setProposalVersion(@Nullable String proposalVersion)
Original property name from the Odata EDM: ProposalVersion
proposalVersion
- Proposal Versionpublic void setProposalStartDate(@Nullable LocalDateTime proposalStartDate)
Original property name from the Odata EDM: ProposalStartDate
proposalStartDate
- Proposal Validity From Datepublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Name of person who changed objectpublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProdTimeDepdntStockLvl>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProdTimeDepdntStockLvl>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProdTimeDepdntStockLvl>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProdTimeDepdntStockLvl>
@Nonnull public static <T> ProdTimeDepdntStockLvlField<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> ProdTimeDepdntStockLvlField<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<ProdTimeDepdntStockLvl>
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<ProdTimeDepdntStockLvl>
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<ProdTimeDepdntStockLvl>
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<ProdTimeDepdntStockLvl>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProdTimeDepdntStockLvl.ProdTimeDepdntStockLvlBuilder 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 getMRPArea()
Original property name from the Odata EDM: MRPArea
@Nullable public LocalDateTime getStockLevelValidityStartDate()
Original property name from the Odata EDM: StockLevelValidityStartDate
@Nullable public LocalDateTime getStockLevelValidityEndDate()
Original property name from the Odata EDM: StockLevelValidityEndDate
@Nullable public BigDecimal getProductSafetyStockLvlQuantity()
Original property name from the Odata EDM: ProductSafetyStockLvlQuantity
@Nullable public BigDecimal getReorderThresholdQuantity()
Original property name from the Odata EDM: ReorderThresholdQuantity
@Nullable public BigDecimal getProductMaxStockLevelQuantity()
Original property name from the Odata EDM: ProductMaxStockLevelQuantity
@Nullable public BigDecimal getProductTargetStockLvlQuantity()
Original property name from the Odata EDM: ProductTargetStockLvlQuantity
@Nullable public String getUnitOfMeasure()
Original property name from the Odata EDM: UnitOfMeasure
@Nullable public String getUnitOfMeasureISOCode()
Original property name from the Odata EDM: UnitOfMeasureISOCode
@Nullable public String getTargetSupplyDurationInDays()
Original property name from the Odata EDM: TargetSupplyDurationInDays
@Nullable public String getMaxSupplyDurationInDays()
Original property name from the Odata EDM: MaxSupplyDurationInDays
@Nullable public String getSafetySupplyDurationInDays()
Original property name from the Odata EDM: SafetySupplyDurationInDays
@Nullable public String getStockLevelProposalID()
Original property name from the Odata EDM: StockLevelProposalID
@Nullable public String getProposalVersion()
Original property name from the Odata EDM: ProposalVersion
@Nullable public LocalDateTime getProposalStartDate()
Original property name from the Odata EDM: ProposalStartDate
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nonnull public String toString()
toString
in class VdmObject<ProdTimeDepdntStockLvl>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProdTimeDepdntStockLvl>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProdTimeDepdntStockLvl>
public int hashCode()
hashCode
in class VdmObject<ProdTimeDepdntStockLvl>
Copyright © 2021 SAP SE. All rights reserved.