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 |
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 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 Original property name from the Odata EDM: CapacityInternalID
|
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. fetching associated entities).
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
String |
getSupplyArea()
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SupplyArea
|
Class<WorkCenters> |
getType() |
String |
getWorkCenter()
Constraints: Not nullable, Maximum length: 8 Original property name from the Odata EDM: WorkCenter
|
String |
getWorkCenterCategoryCode()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: WorkCenterCategoryCode
|
String |
getWorkCenterDesc()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: WorkCenterDesc
|
String |
getWorkCenterInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8 Original property name from the Odata EDM: WorkCenterInternalID
|
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 Original property name from the Odata EDM: WorkCenterResponsible
|
String |
getWorkCenterResponsibleName()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: WorkCenterResponsibleName
|
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 Original property name from the Odata EDM: WorkCenterTypeCode
|
String |
getWorkCenterUsage()
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: WorkCenterUsage
|
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 Original property name from the Odata EDM: CapacityInternalID
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
void |
setSupplyArea(String supplyArea)
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SupplyArea
|
void |
setWorkCenter(String workCenter)
Constraints: Not nullable, Maximum length: 8 Original property name from the Odata EDM: WorkCenter
|
void |
setWorkCenterCategoryCode(String workCenterCategoryCode)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: WorkCenterCategoryCode
|
void |
setWorkCenterDesc(String workCenterDesc)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: WorkCenterDesc
|
void |
setWorkCenterInternalID(String workCenterInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8 Original property name from the Odata EDM: WorkCenterInternalID
|
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 Original property name from the Odata EDM: WorkCenterResponsible
|
void |
setWorkCenterResponsibleName(String workCenterResponsibleName)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: WorkCenterResponsibleName
|
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 Original property name from the Odata EDM: WorkCenterTypeCode
|
void |
setWorkCenterUsage(String workCenterUsage)
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: WorkCenterUsage
|
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final WorkCentersSelectable 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
public WorkCenters()
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 void setWorkCenterInternalID(@Nullable String workCenterInternalID)
Original property name from the Odata EDM: WorkCenterInternalID
workCenterInternalID
- Object ID of the resourcepublic 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 IDpublic void setWorkCenterTypeCode(@Nullable String workCenterTypeCode)
Original property name from the Odata EDM: WorkCenterTypeCode
workCenterTypeCode
- Object types of the CIM resourcepublic 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
- Plantpublic void setWorkCenterCategoryCode(@Nullable String workCenterCategoryCode)
Original property name from the Odata EDM: WorkCenterCategoryCode
workCenterCategoryCode
- Work Center Categorypublic void setWorkCenterResponsible(@Nullable String workCenterResponsible)
Original property name from the Odata EDM: WorkCenterResponsible
workCenterResponsible
- Person Responsible for the Work Centerpublic 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
supplyArea
- Production Supply Areapublic 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 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 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 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.public static WorkCenters.WorkCentersBuilder builder()
@Nullable public String getWorkCenterInternalID()
Original property name from the Odata EDM: WorkCenterInternalID
@Nullable public String getWorkCenterUsage()
Original property name from the Odata EDM: WorkCenterUsage
@Nullable public String getCapacityInternalID()
Original property name from the Odata EDM: CapacityInternalID
@Nullable public String getWorkCenterTypeCode()
Original property name from the Odata EDM: WorkCenterTypeCode
@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
@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
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<WorkCenters>
public boolean equals(Object o)
equals
in class VdmObject<WorkCenters>
public int hashCode()
hashCode
in class VdmObject<WorkCenters>
Copyright © 2018 SAP SE. All rights reserved.