public class WorkCenters extends VdmEntity<WorkCenters>
Original entity name from the Odata EDM: A_WorkCentersType
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenters.WorkCentersBuilder
Helper class to allow for fluent creation of WorkCenters instances.
|
Modifier and Type | Field and Description |
---|---|
static WorkCentersSelectable |
ALL_FIELDS
Selector for all available fields of WorkCenters.
|
static WorkCentersField<String> |
CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the CapacityInternalID field to query operations.
|
static WorkCentersField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static WorkCentersField<String> |
SUPPLY_AREA
Use with available fluent helpers to apply the SupplyArea field to query operations.
|
static WorkCentersOneToOneLink<WorkCenterCapacity> |
TO_CAPACITY
Use with available fluent helpers to apply the to_Capacity navigation property to query operations.
|
static WorkCentersLink<WorkCenterAllCapacity> |
TO_WORK_CENTER_CAPACITY
Use with available fluent helpers to apply the to_WorkCenterCapacity navigation property to query
operations.
|
static WorkCentersLink<WorkCenterPipeLineOperation> |
TO_WORK_CENTER_QUEUING_OP
Use with available fluent helpers to apply the to_WorkCenterQueuingOp navigation property to query
operations.
|
static WorkCentersLink<WorkCenterDayOperation> |
TO_WORK_CENTER_TODAY_OP
Use with available fluent helpers to apply the to_WorkCenterTodayOp navigation property to query
operations.
|
static WorkCentersField<String> |
WORK_CENTER
Use with available fluent helpers to apply the WorkCenter field to query operations.
|
static WorkCentersField<String> |
WORK_CENTER_CATEGORY_CODE
Use with available fluent helpers to apply the WorkCenterCategoryCode field to query operations.
|
static WorkCentersField<String> |
WORK_CENTER_DESC
Use with available fluent helpers to apply the WorkCenterDesc field to query operations.
|
static WorkCentersField<String> |
WORK_CENTER_INTERNAL_ID
Use with available fluent helpers to apply the WorkCenterInternalID field to query operations.
|
static WorkCentersField<String> |
WORK_CENTER_RESPONSIBLE
Use with available fluent helpers to apply the WorkCenterResponsible field to query operations.
|
static WorkCentersField<String> |
WORK_CENTER_RESPONSIBLE_NAME
Use with available fluent helpers to apply the WorkCenterResponsibleName field to query operations.
|
static WorkCentersField<String> |
WORK_CENTER_TYPE_CODE
Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
|
static WorkCentersField<String> |
WORK_CENTER_USAGE
Use with available fluent helpers to apply the WorkCenterUsage field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WorkCenters() |
WorkCenters(String workCenterInternalID,
String workCenterTypeCode,
String workCenter,
String workCenterDesc,
String plant,
String workCenterCategoryCode,
String workCenterResponsible,
String workCenterResponsibleName,
String supplyArea,
String workCenterUsage,
String capacityInternalID,
WorkCenterCapacity toCapacity,
List<WorkCenterAllCapacity> toWorkCenterCapacity,
List<WorkCenterPipeLineOperation> toWorkCenterQueuingOp,
List<WorkCenterDayOperation> toWorkCenterTodayOp) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkCenterCapacity(WorkCenterAllCapacity... entity)
Adds elements to the list of associated WorkCenterAllCapacity entities.
|
void |
addWorkCenterQueuingOp(WorkCenterPipeLineOperation... entity)
Adds elements to the list of associated WorkCenterPipeLineOperation entities.
|
void |
addWorkCenterTodayOp(WorkCenterDayOperation... entity)
Adds elements to the list of associated WorkCenterDayOperation entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static WorkCenters.WorkCentersBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
WorkCenterCapacity |
fetchCapacity()
Fetches the WorkCenterCapacity entity (one to one) associated with this entity.
|
List<WorkCenterAllCapacity> |
fetchWorkCenterCapacity()
Fetches the WorkCenterAllCapacity entities (one to many) associated with this entity.
|
List<WorkCenterPipeLineOperation> |
fetchWorkCenterQueuingOp()
Fetches the WorkCenterPipeLineOperation entities (one to many) associated with this entity.
|
List<WorkCenterDayOperation> |
fetchWorkCenterTodayOp()
Fetches the WorkCenterDayOperation entities (one to many) associated with this entity.
|
static <T> WorkCentersField<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) |
Optional<WorkCenterCapacity> |
getCapacityIfPresent()
Retrieval of associated WorkCenterCapacity entity (one to one).
|
String |
getCapacityInternalID()
Constraints: Not nullable, Maximum length: 8
|
WorkCenterCapacity |
getCapacityOrFetch()
Retrieval of associated WorkCenterCapacity entity (one to one).
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getSupplyArea()
Constraints: Not nullable, Maximum length: 10
|
Class<WorkCenters> |
getType() |
String |
getWorkCenter()
Constraints: Not nullable, Maximum length: 8
|
Optional<List<WorkCenterAllCapacity>> |
getWorkCenterCapacityIfPresent()
Retrieval of associated WorkCenterAllCapacity entities (one to many).
|
List<WorkCenterAllCapacity> |
getWorkCenterCapacityOrFetch()
Retrieval of associated WorkCenterAllCapacity entities (one to many).
|
String |
getWorkCenterCategoryCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getWorkCenterDesc()
Constraints: Not nullable, Maximum length: 40
|
String |
getWorkCenterInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
Optional<List<WorkCenterPipeLineOperation>> |
getWorkCenterQueuingOpIfPresent()
Retrieval of associated WorkCenterPipeLineOperation entities (one to many).
|
List<WorkCenterPipeLineOperation> |
getWorkCenterQueuingOpOrFetch()
Retrieval of associated WorkCenterPipeLineOperation entities (one to many).
|
String |
getWorkCenterResponsible()
Constraints: Not nullable, Maximum length: 3
|
String |
getWorkCenterResponsibleName()
Constraints: Not nullable, Maximum length: 40
|
Optional<List<WorkCenterDayOperation>> |
getWorkCenterTodayOpIfPresent()
Retrieval of associated WorkCenterDayOperation entities (one to many).
|
List<WorkCenterDayOperation> |
getWorkCenterTodayOpOrFetch()
Retrieval of associated WorkCenterDayOperation entities (one to many).
|
String |
getWorkCenterTypeCode()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getWorkCenterUsage()
Constraints: Not nullable, Maximum length: 3
|
int |
hashCode() |
void |
setCapacity(WorkCenterCapacity value)
Overwrites the associated WorkCenterCapacity entity for the loaded navigation property to_Capacity.
|
void |
setCapacityInternalID(String capacityInternalID)
Constraints: Not nullable, Maximum length: 8
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplyArea(String supplyArea)
Constraints: Not nullable, Maximum length: 10
|
void |
setWorkCenter(String workCenter)
Constraints: Not nullable, Maximum length: 8
|
void |
setWorkCenterCapacity(List<WorkCenterAllCapacity> value)
Overwrites the list of associated WorkCenterAllCapacity entities for the loaded navigation property
to_WorkCenterCapacity.
|
void |
setWorkCenterCategoryCode(String workCenterCategoryCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setWorkCenterDesc(String workCenterDesc)
Constraints: Not nullable, Maximum length: 40
|
void |
setWorkCenterInternalID(String workCenterInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setWorkCenterQueuingOp(List<WorkCenterPipeLineOperation> value)
Overwrites the list of associated WorkCenterPipeLineOperation entities for the loaded navigation property
to_WorkCenterQueuingOp.
|
void |
setWorkCenterResponsible(String workCenterResponsible)
Constraints: Not nullable, Maximum length: 3
|
void |
setWorkCenterResponsibleName(String workCenterResponsibleName)
Constraints: Not nullable, Maximum length: 40
|
void |
setWorkCenterTodayOp(List<WorkCenterDayOperation> value)
Overwrites the list of associated WorkCenterDayOperation entities for the loaded navigation property
to_WorkCenterTodayOp.
|
void |
setWorkCenterTypeCode(String workCenterTypeCode)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setWorkCenterUsage(String workCenterUsage)
Constraints: Not nullable, Maximum length: 3
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final WorkCentersSelectable ALL_FIELDS
public static final WorkCentersField<String> WORK_CENTER_INTERNAL_ID
public static final WorkCentersField<String> WORK_CENTER_TYPE_CODE
public static final WorkCentersField<String> WORK_CENTER
public static final WorkCentersField<String> WORK_CENTER_DESC
public static final WorkCentersField<String> PLANT
public static final WorkCentersField<String> WORK_CENTER_CATEGORY_CODE
public static final WorkCentersField<String> WORK_CENTER_RESPONSIBLE
public static final WorkCentersField<String> WORK_CENTER_RESPONSIBLE_NAME
public static final WorkCentersField<String> SUPPLY_AREA
public static final WorkCentersField<String> WORK_CENTER_USAGE
public static final WorkCentersField<String> CAPACITY_INTERNAL_ID
public static final WorkCentersOneToOneLink<WorkCenterCapacity> TO_CAPACITY
public static final WorkCentersLink<WorkCenterAllCapacity> TO_WORK_CENTER_CAPACITY
public static final WorkCentersLink<WorkCenterPipeLineOperation> TO_WORK_CENTER_QUEUING_OP
public static final WorkCentersLink<WorkCenterDayOperation> TO_WORK_CENTER_TODAY_OP
public WorkCenters()
public WorkCenters(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String workCenter, @Nullable String workCenterDesc, @Nullable String plant, @Nullable String workCenterCategoryCode, @Nullable String workCenterResponsible, @Nullable String workCenterResponsibleName, @Nullable String supplyArea, @Nullable String workCenterUsage, @Nullable String capacityInternalID, @Nullable WorkCenterCapacity toCapacity, List<WorkCenterAllCapacity> toWorkCenterCapacity, List<WorkCenterPipeLineOperation> toWorkCenterQueuingOp, List<WorkCenterDayOperation> toWorkCenterTodayOp)
@Nonnull public Class<WorkCenters> getType()
getType
in class VdmObject<WorkCenters>
public void setWorkCenterInternalID(@Nullable String workCenterInternalID)
Original property name from the Odata EDM: WorkCenterInternalID
The number is only used internally but the system displays it within matchcode selection for technical reasons. You do not have to make an entry.
workCenterInternalID
- This internally used number and the object type identify the operating resource (for example, the work
center or production resource/tool).public void setWorkCenterTypeCode(@Nullable String workCenterTypeCode)
Original property name from the Odata EDM: WorkCenterTypeCode
A - a work centerFH - a production resource/tool.The key is only used internally but it is displayed within matchcode selection on technical grounds. You do not have to make an entry.
workCenterTypeCode
- Internally used key which identifies the type of operating resource. For example, the following
indicators represent:public void setWorkCenter(@Nullable String workCenter)
Original property name from the Odata EDM: WorkCenter
workCenter
- Work Centerpublic void setWorkCenterDesc(@Nullable String workCenterDesc)
Original property name from the Odata EDM: WorkCenterDesc
workCenterDesc
- Work Center Textpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setWorkCenterCategoryCode(@Nullable String workCenterCategoryCode)
Original property name from the Odata EDM: WorkCenterCategoryCode
The work center category determines which data can be maintained in the master record for the work center.
workCenterCategoryCode
- Key which distinguishes the work centers by their category (for example, production work center,
maintenance work center).public void setWorkCenterResponsible(@Nullable String workCenterResponsible)
Original property name from the Odata EDM: WorkCenterResponsible
workCenterResponsible
- The person or group of people who are responsible for the maintenance of the work center master files.public void setWorkCenterResponsibleName(@Nullable String workCenterResponsibleName)
Original property name from the Odata EDM: WorkCenterResponsibleName
workCenterResponsibleName
- Work Center Responsible Namepublic void setSupplyArea(@Nullable String supplyArea)
Original property name from the Odata EDM: SupplyArea
The PSA is used in Kanban and JIT Outbound processing and in Extended Warehouse Management.
supplyArea
- The production supply area (PSA) serves as a place for interim storage on the shop floor and is used
to make material directly available for production purposes.public void setWorkCenterUsage(@Nullable String workCenterUsage)
Original property name from the Odata EDM: WorkCenterUsage
workCenterUsage
- Work Center Usage in Bill of Operationspublic void setCapacityInternalID(@Nullable String capacityInternalID)
Original property name from the Odata EDM: CapacityInternalID
capacityInternalID
- Capacity IDprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<WorkCenters>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WorkCenters>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WorkCenters>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WorkCenters>
@Nonnull public static <T> WorkCentersField<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> WorkCentersField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<WorkCenters>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<WorkCenters>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<WorkCenters>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<WorkCenters>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<WorkCenters>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<WorkCenters>
@Nullable public WorkCenterCapacity fetchCapacity() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nullable public WorkCenterCapacity getCapacityOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Capacity of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public Optional<WorkCenterCapacity> getCapacityIfPresent()
If the navigation property for an entity WorkCenters has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setCapacity(WorkCenterCapacity value)
value
- New WorkCenterCapacity entity.@Nonnull public List<WorkCenterAllCapacity> fetchWorkCenterCapacity() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<WorkCenterAllCapacity> getWorkCenterCapacityOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterCapacity of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public Optional<List<WorkCenterAllCapacity>> getWorkCenterCapacityIfPresent()
If the navigation property for an entity WorkCenters has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result
state empty
is returned.public void setWorkCenterCapacity(@Nonnull List<WorkCenterAllCapacity> value)
If the navigation property to_WorkCenterCapacity of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of WorkCenterAllCapacity entities.public void addWorkCenterCapacity(WorkCenterAllCapacity... entity)
If the navigation property to_WorkCenterCapacity of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of WorkCenterAllCapacity entities.@Nonnull public List<WorkCenterPipeLineOperation> fetchWorkCenterQueuingOp() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<WorkCenterPipeLineOperation> getWorkCenterQueuingOpOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public Optional<List<WorkCenterPipeLineOperation>> getWorkCenterQueuingOpIfPresent()
If the navigation property for an entity WorkCenters has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with
result state empty
is returned.public void setWorkCenterQueuingOp(@Nonnull List<WorkCenterPipeLineOperation> value)
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of WorkCenterPipeLineOperation entities.public void addWorkCenterQueuingOp(WorkCenterPipeLineOperation... entity)
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of WorkCenterPipeLineOperation entities.@Nonnull public List<WorkCenterDayOperation> fetchWorkCenterTodayOp() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<WorkCenterDayOperation> getWorkCenterTodayOpOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterTodayOp of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public Optional<List<WorkCenterDayOperation>> getWorkCenterTodayOpIfPresent()
If the navigation property for an entity WorkCenters has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setWorkCenterTodayOp(@Nonnull List<WorkCenterDayOperation> value)
If the navigation property to_WorkCenterTodayOp of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of WorkCenterDayOperation entities.public void addWorkCenterTodayOp(WorkCenterDayOperation... entity)
If the navigation property to_WorkCenterTodayOp of a queried WorkCenters is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of WorkCenterDayOperation entities.public static WorkCenters.WorkCentersBuilder builder()
@Nullable public String getWorkCenterInternalID()
Original property name from the Odata EDM: WorkCenterInternalID
The number is only used internally but the system displays it within matchcode selection for technical reasons. You do not have to make an entry.
@Nullable public String getWorkCenterTypeCode()
Original property name from the Odata EDM: WorkCenterTypeCode
A - a work centerFH - a production resource/tool.The key is only used internally but it is displayed within matchcode selection on technical grounds. You do not have to make an entry.
@Nullable public String getWorkCenter()
Original property name from the Odata EDM: WorkCenter
@Nullable public String getWorkCenterDesc()
Original property name from the Odata EDM: WorkCenterDesc
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getWorkCenterCategoryCode()
Original property name from the Odata EDM: WorkCenterCategoryCode
The work center category determines which data can be maintained in the master record for the work center.
@Nullable public String getWorkCenterResponsible()
Original property name from the Odata EDM: WorkCenterResponsible
@Nullable public String getWorkCenterResponsibleName()
Original property name from the Odata EDM: WorkCenterResponsibleName
@Nullable public String getSupplyArea()
Original property name from the Odata EDM: SupplyArea
The PSA is used in Kanban and JIT Outbound processing and in Extended Warehouse Management.
@Nullable public String getWorkCenterUsage()
Original property name from the Odata EDM: WorkCenterUsage
@Nullable public String getCapacityInternalID()
Original property name from the Odata EDM: CapacityInternalID
public String toString()
toString
in class VdmObject<WorkCenters>
public boolean equals(Object o)
equals
in class VdmObject<WorkCenters>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<WorkCenters>
public int hashCode()
hashCode
in class VdmObject<WorkCenters>
Copyright © 2019 SAP SE. All rights reserved.