public class WorkCenters extends VdmEntity<WorkCenters>
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenters.WorkCentersBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityFieldAll<WorkCenters> |
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 WorkCentersLink<WorkCenterCapacity> |
TO_CAPACITY
Use with available fluent helpers to apply the to_Capacity 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.
|
Constructor and Description |
---|
WorkCenters() |
WorkCenters(String workCenterInternalID,
String workCenterUsage,
String capacityInternalID,
String workCenterTypeCode,
String workCenter,
String workCenterDesc,
String plant,
String workCenterCategoryCode,
String workCenterResponsible,
String workCenterResponsibleName,
String supplyArea,
ErpConfigContext erpConfigContext,
WorkCenterCapacity toCapacity,
List<WorkCenterPipeLineOperation> toWorkCenterQueuingOp,
List<WorkCenterDayOperation> toWorkCenterTodayOp) |
Modifier and Type | Method and Description |
---|---|
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.
|
static WorkCenters.WorkCentersBuilder |
builder() |
boolean |
equals(Object o) |
WorkCenterCapacity |
fetchCapacity()
Fetches the WorkCenterCapacity entity (one to one) 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.
|
String |
getCapacityInternalID()
Constraints: Not nullable, Maximum length: 8
|
WorkCenterCapacity |
getCapacityOrFetch()
Retrieval of associated WorkCenterCapacity entity (one to one).
|
com.google.common.base.Optional<WorkCenterCapacity> |
getCapacityOrNull()
Retrieval of associated WorkCenterCapacity entity (one to one).
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
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
|
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
|
List<WorkCenterPipeLineOperation> |
getWorkCenterQueuingOpOrFetch()
Retrieval of associated WorkCenterPipeLineOperation entities (one to many).
|
com.google.common.base.Optional<List<WorkCenterPipeLineOperation>> |
getWorkCenterQueuingOpOrNull()
Retrieval of associated WorkCenterPipeLineOperation entities (one to many).
|
String |
getWorkCenterResponsible()
Constraints: Not nullable, Maximum length: 3
|
String |
getWorkCenterResponsibleName()
Constraints: Not nullable, Maximum length: 40
|
List<WorkCenterDayOperation> |
getWorkCenterTodayOpOrFetch()
Retrieval of associated WorkCenterDayOperation entities (one to many).
|
com.google.common.base.Optional<List<WorkCenterDayOperation>> |
getWorkCenterTodayOpOrNull()
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)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setSupplyArea(String supplyArea)
Constraints: Not nullable, Maximum length: 10
|
void |
setWorkCenter(String workCenter)
Constraints: Not nullable, Maximum length: 8
|
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
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final EntityFieldAll<WorkCenters> ALL_FIELDS
public static final WorkCentersField<String> WORK_CENTER_INTERNAL_ID
public static final WorkCentersField<String> WORK_CENTER_USAGE
public static final WorkCentersField<String> CAPACITY_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 WorkCentersLink<WorkCenterCapacity> TO_CAPACITY
public static final WorkCentersLink<WorkCenterPipeLineOperation> TO_WORK_CENTER_QUEUING_OP
public static final WorkCentersLink<WorkCenterDayOperation> TO_WORK_CENTER_TODAY_OP
@Generated(value="lombok") public WorkCenters()
@ConstructorProperties(value={"workCenterInternalID","workCenterUsage","capacityInternalID","workCenterTypeCode","workCenter","workCenterDesc","plant","workCenterCategoryCode","workCenterResponsible","workCenterResponsibleName","supplyArea","erpConfigContext","toCapacity","toWorkCenterQueuingOp","toWorkCenterTodayOp"}) @Generated(value="lombok") public WorkCenters(@Nullable String workCenterInternalID, @Nullable String workCenterUsage, @Nullable String capacityInternalID, @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 ErpConfigContext erpConfigContext, @Nullable WorkCenterCapacity toCapacity, List<WorkCenterPipeLineOperation> toWorkCenterQueuingOp, List<WorkCenterDayOperation> toWorkCenterTodayOp)
public Class<WorkCenters> getType()
getType
in class VdmObject<WorkCenters>
public static <T> WorkCentersField<T> field(String fieldName, Class<T> fieldType)
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.public WorkCenterCapacity fetchCapacity() 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.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.public com.google.common.base.Optional<WorkCenterCapacity> getCapacityOrNull()
If the navigation property to_Capacity for an entity WorkCenters has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setCapacity(WorkCenterCapacity value)
value
- New WorkCenterCapacity entity.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.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.public com.google.common.base.Optional<List<WorkCenterPipeLineOperation>> getWorkCenterQueuingOpOrNull()
If the navigation property to_WorkCenterQueuingOp for an entity WorkCenters has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.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.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.public com.google.common.base.Optional<List<WorkCenterDayOperation>> getWorkCenterTodayOpOrNull()
If the navigation property to_WorkCenterTodayOp for an entity WorkCenters has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.@Generated(value="lombok") public static WorkCenters.WorkCentersBuilder builder()
@Nullable @Generated(value="lombok") public String getWorkCenterInternalID()
@Nullable @Generated(value="lombok") public String getWorkCenterUsage()
@Nullable @Generated(value="lombok") public String getCapacityInternalID()
@Nullable @Generated(value="lombok") public String getWorkCenterTypeCode()
@Nullable @Generated(value="lombok") public String getWorkCenter()
@Nullable @Generated(value="lombok") public String getWorkCenterDesc()
@Nullable @Generated(value="lombok") public String getPlant()
@Nullable @Generated(value="lombok") public String getWorkCenterCategoryCode()
@Nullable @Generated(value="lombok") public String getWorkCenterResponsible()
@Nullable @Generated(value="lombok") public String getWorkCenterResponsibleName()
@Nullable @Generated(value="lombok") public String getSupplyArea()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setWorkCenterInternalID(@Nullable String workCenterInternalID)
workCenterInternalID
- @Generated(value="lombok") public void setWorkCenterUsage(@Nullable String workCenterUsage)
workCenterUsage
- @Generated(value="lombok") public void setCapacityInternalID(@Nullable String capacityInternalID)
capacityInternalID
- @Generated(value="lombok") public void setWorkCenterTypeCode(@Nullable String workCenterTypeCode)
workCenterTypeCode
- @Generated(value="lombok") public void setWorkCenter(@Nullable String workCenter)
workCenter
- @Generated(value="lombok") public void setWorkCenterDesc(@Nullable String workCenterDesc)
workCenterDesc
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
plant
- @Generated(value="lombok") public void setWorkCenterCategoryCode(@Nullable String workCenterCategoryCode)
workCenterCategoryCode
- @Generated(value="lombok") public void setWorkCenterResponsible(@Nullable String workCenterResponsible)
workCenterResponsible
- @Generated(value="lombok") public void setWorkCenterResponsibleName(@Nullable String workCenterResponsibleName)
workCenterResponsibleName
- @Generated(value="lombok") public void setSupplyArea(@Nullable String supplyArea)
supplyArea
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<WorkCenters>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<WorkCenters>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<WorkCenters>
Copyright © 2017 SAP SE. All rights reserved.