public class WorkCenterAllCapacity extends VdmEntity<WorkCenterAllCapacity>
Original entity name from the Odata EDM: A_WorkCenterAllCapacityType
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenterAllCapacity.WorkCenterAllCapacityBuilder |
Modifier and Type | Field and Description |
---|---|
static WorkCenterAllCapacitySelectable |
ALL_FIELDS
Selector for all available fields of WorkCenterAllCapacity.
|
static WorkCenterAllCapacityField<String> |
CAPACITY_CATEGORY_ALLOCATION
Use with available fluent helpers to apply the CapacityCategoryAllocation field to query operations.
|
static WorkCenterAllCapacityField<String> |
CAPACITY_CATEGORY_CODE
Use with available fluent helpers to apply the CapacityCategoryCode field to query operations.
|
static WorkCenterAllCapacityField<String> |
CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the CapacityInternalID field to query operations.
|
static WorkCenterAllCapacityField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static WorkCenterAllCapacityField<String> |
SUPPLY_AREA
Use with available fluent helpers to apply the SupplyArea field to query operations.
|
static WorkCenterAllCapacityLink<WorkCenterCapPplineOp> |
TO_WORK_CENTER_QUEUING_OP
Use with available fluent helpers to apply the to_WorkCenterQueuingOp navigation property to query operations.
|
static WorkCenterAllCapacityLink<WorkCenterCapDayOp> |
TO_WORK_CENTER_TODAY_OP
Use with available fluent helpers to apply the to_WorkCenterTodayOp navigation property to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER
Use with available fluent helpers to apply the WorkCenter field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_CATEGORY_CODE
Use with available fluent helpers to apply the WorkCenterCategoryCode field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_DESC
Use with available fluent helpers to apply the WorkCenterDesc field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_INTERNAL_ID
Use with available fluent helpers to apply the WorkCenterInternalID field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_RESPONSIBLE
Use with available fluent helpers to apply the WorkCenterResponsible field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_RESPONSIBLE_NAME
Use with available fluent helpers to apply the WorkCenterResponsibleName field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_TYPE_CODE
Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
|
static WorkCenterAllCapacityField<String> |
WORK_CENTER_USAGE
Use with available fluent helpers to apply the WorkCenterUsage field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WorkCenterAllCapacity() |
WorkCenterAllCapacity(String workCenterInternalID,
String workCenterTypeCode,
String capacityInternalID,
String capacityCategoryAllocation,
String workCenter,
String workCenterDesc,
String plant,
String workCenterCategoryCode,
String workCenterResponsible,
String supplyArea,
String workCenterUsage,
String workCenterResponsibleName,
String capacityCategoryCode,
ErpConfigContext erpConfigContext,
List<WorkCenterCapPplineOp> toWorkCenterQueuingOp,
List<WorkCenterCapDayOp> toWorkCenterTodayOp) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkCenterQueuingOp(WorkCenterCapPplineOp... entity)
Adds elements to the list of associated WorkCenterCapPplineOp entities.
|
void |
addWorkCenterTodayOp(WorkCenterCapDayOp... entity)
Adds elements to the list of associated WorkCenterCapDayOp entities.
|
static WorkCenterAllCapacity.WorkCenterAllCapacityBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<WorkCenterCapPplineOp> |
fetchWorkCenterQueuingOp()
Fetches the WorkCenterCapPplineOp entities (one to many) associated with this entity.
|
List<WorkCenterCapDayOp> |
fetchWorkCenterTodayOp()
Fetches the WorkCenterCapDayOp entities (one to many) associated with this entity.
|
static <T> WorkCenterAllCapacityField<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 |
getCapacityCategoryAllocation()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCapacityCategoryCode()
Constraints: Not nullable, Maximum length: 3
|
String |
getCapacityInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
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<WorkCenterAllCapacity> |
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
|
Optional<List<WorkCenterCapPplineOp>> |
getWorkCenterQueuingOpIfPresent()
Retrieval of associated WorkCenterCapPplineOp entities (one to many).
|
List<WorkCenterCapPplineOp> |
getWorkCenterQueuingOpOrFetch()
Retrieval of associated WorkCenterCapPplineOp entities (one to many).
|
String |
getWorkCenterResponsible()
Constraints: Not nullable, Maximum length: 3
|
String |
getWorkCenterResponsibleName()
Constraints: Not nullable, Maximum length: 40
|
Optional<List<WorkCenterCapDayOp>> |
getWorkCenterTodayOpIfPresent()
Retrieval of associated WorkCenterCapDayOp entities (one to many).
|
List<WorkCenterCapDayOp> |
getWorkCenterTodayOpOrFetch()
Retrieval of associated WorkCenterCapDayOp 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 |
setCapacityCategoryAllocation(String capacityCategoryAllocation)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCapacityCategoryCode(String capacityCategoryCode)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityInternalID(String capacityInternalID)
(Key Field) 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<WorkCenterCapPplineOp> value)
Overwrites the list of associated WorkCenterCapPplineOp 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<WorkCenterCapDayOp> value)
Overwrites the list of associated WorkCenterCapDayOp 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, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final WorkCenterAllCapacitySelectable ALL_FIELDS
public static final WorkCenterAllCapacityField<String> WORK_CENTER_INTERNAL_ID
public static final WorkCenterAllCapacityField<String> WORK_CENTER_TYPE_CODE
public static final WorkCenterAllCapacityField<String> CAPACITY_INTERNAL_ID
public static final WorkCenterAllCapacityField<String> CAPACITY_CATEGORY_ALLOCATION
public static final WorkCenterAllCapacityField<String> WORK_CENTER
public static final WorkCenterAllCapacityField<String> WORK_CENTER_DESC
public static final WorkCenterAllCapacityField<String> PLANT
public static final WorkCenterAllCapacityField<String> WORK_CENTER_CATEGORY_CODE
public static final WorkCenterAllCapacityField<String> WORK_CENTER_RESPONSIBLE
public static final WorkCenterAllCapacityField<String> SUPPLY_AREA
public static final WorkCenterAllCapacityField<String> WORK_CENTER_USAGE
public static final WorkCenterAllCapacityField<String> WORK_CENTER_RESPONSIBLE_NAME
public static final WorkCenterAllCapacityField<String> CAPACITY_CATEGORY_CODE
public static final WorkCenterAllCapacityLink<WorkCenterCapPplineOp> TO_WORK_CENTER_QUEUING_OP
public static final WorkCenterAllCapacityLink<WorkCenterCapDayOp> TO_WORK_CENTER_TODAY_OP
public WorkCenterAllCapacity()
public WorkCenterAllCapacity(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String capacityInternalID, @Nullable String capacityCategoryAllocation, @Nullable String workCenter, @Nullable String workCenterDesc, @Nullable String plant, @Nullable String workCenterCategoryCode, @Nullable String workCenterResponsible, @Nullable String supplyArea, @Nullable String workCenterUsage, @Nullable String workCenterResponsibleName, @Nullable String capacityCategoryCode, @Nullable ErpConfigContext erpConfigContext, List<WorkCenterCapPplineOp> toWorkCenterQueuingOp, List<WorkCenterCapDayOp> toWorkCenterTodayOp)
public Class<WorkCenterAllCapacity> getType()
getType
in class VdmObject<WorkCenterAllCapacity>
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 setCapacityInternalID(@Nullable String capacityInternalID)
Original property name from the Odata EDM: CapacityInternalID
capacityInternalID
- Capacity IDpublic void setCapacityCategoryAllocation(@Nullable String capacityCategoryAllocation)
Original property name from the Odata EDM: CapacityCategoryAllocation
capacityCategoryAllocation
- Capacity Category Allocationpublic 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 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 setWorkCenterResponsibleName(@Nullable String workCenterResponsibleName)
Original property name from the Odata EDM: WorkCenterResponsibleName
workCenterResponsibleName
- Work Center Responsible Namepublic void setCapacityCategoryCode(@Nullable String capacityCategoryCode)
Original property name from the Odata EDM: CapacityCategoryCode
capacityCategoryCode
- Capacity Categoryprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<WorkCenterAllCapacity>
protected Map<String,Object> getKey()
getKey
in class VdmObject<WorkCenterAllCapacity>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WorkCenterAllCapacity>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WorkCenterAllCapacity>
@Nonnull public static <T> WorkCenterAllCapacityField<T> field(@Nonnull String fieldName, @Nonnull 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.@Nonnull public static <T,DomainT> WorkCenterAllCapacityField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<WorkCenterAllCapacity>
public List<WorkCenterCapPplineOp> 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<WorkCenterCapPplineOp> getWorkCenterQueuingOpOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenterAllCapacity 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 Optional<List<WorkCenterCapPplineOp>> getWorkCenterQueuingOpIfPresent()
If the navigation property for an entity WorkCenterAllCapacity 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<WorkCenterCapPplineOp> value)
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenterAllCapacity 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 WorkCenterCapPplineOp entities.public void addWorkCenterQueuingOp(WorkCenterCapPplineOp... entity)
If the navigation property to_WorkCenterQueuingOp of a queried WorkCenterAllCapacity 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 WorkCenterCapPplineOp entities.public List<WorkCenterCapDayOp> 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<WorkCenterCapDayOp> getWorkCenterTodayOpOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WorkCenterTodayOp of a queried WorkCenterAllCapacity 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 Optional<List<WorkCenterCapDayOp>> getWorkCenterTodayOpIfPresent()
If the navigation property for an entity WorkCenterAllCapacity 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<WorkCenterCapDayOp> value)
If the navigation property to_WorkCenterTodayOp of a queried WorkCenterAllCapacity 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 WorkCenterCapDayOp entities.public void addWorkCenterTodayOp(WorkCenterCapDayOp... entity)
If the navigation property to_WorkCenterTodayOp of a queried WorkCenterAllCapacity 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 WorkCenterCapDayOp entities.public static WorkCenterAllCapacity.WorkCenterAllCapacityBuilder 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 getCapacityInternalID()
Original property name from the Odata EDM: CapacityInternalID
@Nullable public String getCapacityCategoryAllocation()
Original property name from the Odata EDM: CapacityCategoryAllocation
@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 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 getWorkCenterResponsibleName()
Original property name from the Odata EDM: WorkCenterResponsibleName
@Nullable public String getCapacityCategoryCode()
Original property name from the Odata EDM: CapacityCategoryCode
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<WorkCenterAllCapacity>
erpConfigContext
- public String toString()
toString
in class VdmObject<WorkCenterAllCapacity>
public boolean equals(Object o)
equals
in class VdmObject<WorkCenterAllCapacity>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<WorkCenterAllCapacity>
public int hashCode()
hashCode
in class VdmObject<WorkCenterAllCapacity>
Copyright © 2018 SAP SE. All rights reserved.