public class WorkCenterCapacity extends VdmEntity<WorkCenterCapacity>
Original entity name from the Odata EDM: A_WorkCenterCapacityType
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenterCapacity.WorkCenterCapacityBuilder
Helper class to allow for fluent creation of WorkCenterCapacity instances.
|
Modifier and Type | Field and Description |
---|---|
static WorkCenterCapacitySelectable |
ALL_FIELDS
Selector for all available fields of WorkCenterCapacity.
|
static WorkCenterCapacityField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static WorkCenterCapacityField<Boolean> |
CAP_IS_USED_IN_MULTI_OPERATIONS
Use with available fluent helpers to apply the CapIsUsedInMultiOperations field to query operations.
|
static WorkCenterCapacityField<String> |
CAP_OVERLOAD_THRESHOLD_IN_PERCENT
Use with available fluent helpers to apply the CapOverloadThresholdInPercent field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY
Use with available fluent helpers to apply the Capacity field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY_ACTIVE_VERSION
Use with available fluent helpers to apply the CapacityActiveVersion field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY_BASE_QTY_UNIT
Use with available fluent helpers to apply the CapacityBaseQtyUnit field to query operations.
|
static WorkCenterCapacityField<Integer> |
CAPACITY_BREAK_DURATION
Use with available fluent helpers to apply the CapacityBreakDuration field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY_CATEGORY_CODE
Use with available fluent helpers to apply the CapacityCategoryCode field to query operations.
|
static WorkCenterCapacityField<Integer> |
CAPACITY_END_TIME
Use with available fluent helpers to apply the CapacityEndTime field to query operations.
|
static WorkCenterCapacityField<Boolean> |
CAPACITY_HAS_INDIV_CAPACITIES
Use with available fluent helpers to apply the CapacityHasIndivCapacities field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the CapacityInternalID field to query operations.
|
static WorkCenterCapacityField<Boolean> |
CAPACITY_IS_EXCLD_FRM_LONG_TERM_PLNG
Use with available fluent helpers to apply the CapacityIsExcldFrmLongTermPlng field to query operations.
|
static WorkCenterCapacityField<Boolean> |
CAPACITY_IS_FINITE
Use with available fluent helpers to apply the CapacityIsFinite field to query operations.
|
static WorkCenterCapacityField<Boolean> |
CAPACITY_IS_POOLED
Use with available fluent helpers to apply the CapacityIsPooled field to query operations.
|
static WorkCenterCapacityField<ZonedDateTime> |
CAPACITY_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the CapacityLastChangeDateTime field to query operations.
|
static WorkCenterCapacityField<Short> |
CAPACITY_NUMBER_OF_CAPACITIES
Use with available fluent helpers to apply the CapacityNumberOfCapacities field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY_PLAN_UTILIZATION_PERCENT
Use with available fluent helpers to apply the CapacityPlanUtilizationPercent field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY_QUANTITY_UNIT
Use with available fluent helpers to apply the CapacityQuantityUnit field to query operations.
|
static WorkCenterCapacityField<String> |
CAPACITY_RESPONSIBLE_PLANNER
Use with available fluent helpers to apply the CapacityResponsiblePlanner field to query operations.
|
static WorkCenterCapacityField<Integer> |
CAPACITY_START_TIME
Use with available fluent helpers to apply the CapacityStartTime field to query operations.
|
static WorkCenterCapacityField<String> |
FACTORY_CALENDAR
Use with available fluent helpers to apply the FactoryCalendar field to query operations.
|
static WorkCenterCapacityField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static WorkCenterCapacityField<String> |
REFERENCED_CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the ReferencedCapacityInternalID field to query operations.
|
static WorkCenterCapacityField<String> |
SHIFT_GROUP
Use with available fluent helpers to apply the ShiftGroup field to query operations.
|
static WorkCenterCapacityLink<WorkCenterCapacityInterval_2> |
TO_CAPACITY_INTERVAL
Use with available fluent helpers to apply the to_CapacityInterval navigation property to query
operations.
|
static WorkCenterCapacityLink<WorkCenterCapacityText> |
TO_CAPACITY_TEXT
Use with available fluent helpers to apply the to_CapacityText navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WorkCenterCapacity() |
WorkCenterCapacity(String capacityInternalID,
String capacity,
String capacityCategoryCode,
String capacityActiveVersion,
Boolean capacityIsFinite,
Boolean capacityIsPooled,
Boolean capacityHasIndivCapacities,
Boolean capacityIsExcldFrmLongTermPlng,
Short capacityNumberOfCapacities,
String capacityResponsiblePlanner,
String capacityPlanUtilizationPercent,
Integer capacityBreakDuration,
String plant,
String factoryCalendar,
String authorizationGroup,
String shiftGroup,
Integer capacityStartTime,
Integer capacityEndTime,
Boolean capIsUsedInMultiOperations,
String referencedCapacityInternalID,
String capOverloadThresholdInPercent,
String capacityQuantityUnit,
String capacityBaseQtyUnit,
ZonedDateTime capacityLastChangeDateTime,
List<WorkCenterCapacityInterval_2> toCapacityInterval,
List<WorkCenterCapacityText> toCapacityText) |
Modifier and Type | Method and Description |
---|---|
void |
addCapacityInterval(WorkCenterCapacityInterval_2... entity)
Adds elements to the list of associated WorkCenterCapacityInterval_2 entities.
|
void |
addCapacityText(WorkCenterCapacityText... entity)
Adds elements to the list of associated WorkCenterCapacityText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static WorkCenterCapacity.WorkCenterCapacityBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<WorkCenterCapacityInterval_2> |
fetchCapacityInterval()
Fetches the WorkCenterCapacityInterval_2 entities (one to many) associated with this entity.
|
List<WorkCenterCapacityText> |
fetchCapacityText()
Fetches the WorkCenterCapacityText entities (one to many) associated with this entity.
|
static <T> WorkCenterCapacityField<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 |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getCapacity()
Constraints: Not nullable, Maximum length: 8
|
String |
getCapacityActiveVersion()
Constraints: Not nullable, Maximum length: 2
|
String |
getCapacityBaseQtyUnit()
Constraints: Not nullable, Maximum length: 3
|
Integer |
getCapacityBreakDuration()
Constraints: none
|
String |
getCapacityCategoryCode()
Constraints: Not nullable, Maximum length: 3
|
Integer |
getCapacityEndTime()
Constraints: none
|
Boolean |
getCapacityHasIndivCapacities()
Constraints: none
|
String |
getCapacityInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
io.vavr.control.Option<List<WorkCenterCapacityInterval_2>> |
getCapacityIntervalIfPresent()
Retrieval of associated WorkCenterCapacityInterval_2 entities (one to many).
|
List<WorkCenterCapacityInterval_2> |
getCapacityIntervalOrFetch()
Retrieval of associated WorkCenterCapacityInterval_2 entities (one to many).
|
Boolean |
getCapacityIsExcldFrmLongTermPlng()
Constraints: none
|
Boolean |
getCapacityIsFinite()
Constraints: none
|
Boolean |
getCapacityIsPooled()
Constraints: none
|
ZonedDateTime |
getCapacityLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
Short |
getCapacityNumberOfCapacities()
Constraints: none
|
String |
getCapacityPlanUtilizationPercent()
Constraints: Not nullable, Maximum length: 3
|
String |
getCapacityQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getCapacityResponsiblePlanner()
Constraints: Not nullable, Maximum length: 3
|
Integer |
getCapacityStartTime()
Constraints: none
|
io.vavr.control.Option<List<WorkCenterCapacityText>> |
getCapacityTextIfPresent()
Retrieval of associated WorkCenterCapacityText entities (one to many).
|
List<WorkCenterCapacityText> |
getCapacityTextOrFetch()
Retrieval of associated WorkCenterCapacityText entities (one to many).
|
Boolean |
getCapIsUsedInMultiOperations()
Constraints: none
|
String |
getCapOverloadThresholdInPercent()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
String |
getFactoryCalendar()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getReferencedCapacityInternalID()
Constraints: Not nullable, Maximum length: 8
|
String |
getShiftGroup()
Constraints: Not nullable, Maximum length: 2
|
Class<WorkCenterCapacity> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setCapacity(String capacity)
Constraints: Not nullable, Maximum length: 8
|
void |
setCapacityActiveVersion(String capacityActiveVersion)
Constraints: Not nullable, Maximum length: 2
|
void |
setCapacityBaseQtyUnit(String capacityBaseQtyUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityBreakDuration(Integer capacityBreakDuration)
Constraints: none
|
void |
setCapacityCategoryCode(String capacityCategoryCode)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityEndTime(Integer capacityEndTime)
Constraints: none
|
void |
setCapacityHasIndivCapacities(Boolean capacityHasIndivCapacities)
Constraints: none
|
void |
setCapacityInternalID(String capacityInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setCapacityInterval(List<WorkCenterCapacityInterval_2> value)
Overwrites the list of associated WorkCenterCapacityInterval_2 entities for the loaded navigation property
to_CapacityInterval.
|
void |
setCapacityIsExcldFrmLongTermPlng(Boolean capacityIsExcldFrmLongTermPlng)
Constraints: none
|
void |
setCapacityIsFinite(Boolean capacityIsFinite)
Constraints: none
|
void |
setCapacityIsPooled(Boolean capacityIsPooled)
Constraints: none
|
void |
setCapacityLastChangeDateTime(ZonedDateTime capacityLastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setCapacityNumberOfCapacities(Short capacityNumberOfCapacities)
Constraints: none
|
void |
setCapacityPlanUtilizationPercent(String capacityPlanUtilizationPercent)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityQuantityUnit(String capacityQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityResponsiblePlanner(String capacityResponsiblePlanner)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityStartTime(Integer capacityStartTime)
Constraints: none
|
void |
setCapacityText(List<WorkCenterCapacityText> value)
Overwrites the list of associated WorkCenterCapacityText entities for the loaded navigation property
to_CapacityText.
|
void |
setCapIsUsedInMultiOperations(Boolean capIsUsedInMultiOperations)
Constraints: none
|
void |
setCapOverloadThresholdInPercent(String capOverloadThresholdInPercent)
Constraints: Not nullable, Maximum length: 3
|
void |
setFactoryCalendar(String factoryCalendar)
Constraints: Not nullable, Maximum length: 2
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setReferencedCapacityInternalID(String referencedCapacityInternalID)
Constraints: Not nullable, Maximum length: 8
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShiftGroup(String shiftGroup)
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final WorkCenterCapacitySelectable ALL_FIELDS
public static final WorkCenterCapacityField<String> CAPACITY_INTERNAL_ID
public static final WorkCenterCapacityField<String> CAPACITY
public static final WorkCenterCapacityField<String> CAPACITY_CATEGORY_CODE
public static final WorkCenterCapacityField<String> CAPACITY_ACTIVE_VERSION
public static final WorkCenterCapacityField<Boolean> CAPACITY_IS_FINITE
public static final WorkCenterCapacityField<Boolean> CAPACITY_IS_POOLED
public static final WorkCenterCapacityField<Boolean> CAPACITY_HAS_INDIV_CAPACITIES
public static final WorkCenterCapacityField<Boolean> CAPACITY_IS_EXCLD_FRM_LONG_TERM_PLNG
public static final WorkCenterCapacityField<Short> CAPACITY_NUMBER_OF_CAPACITIES
public static final WorkCenterCapacityField<String> CAPACITY_RESPONSIBLE_PLANNER
public static final WorkCenterCapacityField<String> CAPACITY_PLAN_UTILIZATION_PERCENT
public static final WorkCenterCapacityField<Integer> CAPACITY_BREAK_DURATION
public static final WorkCenterCapacityField<String> PLANT
public static final WorkCenterCapacityField<String> FACTORY_CALENDAR
public static final WorkCenterCapacityField<String> AUTHORIZATION_GROUP
public static final WorkCenterCapacityField<String> SHIFT_GROUP
public static final WorkCenterCapacityField<Integer> CAPACITY_START_TIME
public static final WorkCenterCapacityField<Integer> CAPACITY_END_TIME
public static final WorkCenterCapacityField<Boolean> CAP_IS_USED_IN_MULTI_OPERATIONS
public static final WorkCenterCapacityField<String> REFERENCED_CAPACITY_INTERNAL_ID
public static final WorkCenterCapacityField<String> CAP_OVERLOAD_THRESHOLD_IN_PERCENT
public static final WorkCenterCapacityField<String> CAPACITY_QUANTITY_UNIT
public static final WorkCenterCapacityField<String> CAPACITY_BASE_QTY_UNIT
public static final WorkCenterCapacityField<ZonedDateTime> CAPACITY_LAST_CHANGE_DATE_TIME
public static final WorkCenterCapacityLink<WorkCenterCapacityInterval_2> TO_CAPACITY_INTERVAL
public static final WorkCenterCapacityLink<WorkCenterCapacityText> TO_CAPACITY_TEXT
public WorkCenterCapacity()
public WorkCenterCapacity(@Nullable String capacityInternalID, @Nullable String capacity, @Nullable String capacityCategoryCode, @Nullable String capacityActiveVersion, @Nullable Boolean capacityIsFinite, @Nullable Boolean capacityIsPooled, @Nullable Boolean capacityHasIndivCapacities, @Nullable Boolean capacityIsExcldFrmLongTermPlng, @Nullable Short capacityNumberOfCapacities, @Nullable String capacityResponsiblePlanner, @Nullable String capacityPlanUtilizationPercent, @Nullable Integer capacityBreakDuration, @Nullable String plant, @Nullable String factoryCalendar, @Nullable String authorizationGroup, @Nullable String shiftGroup, @Nullable Integer capacityStartTime, @Nullable Integer capacityEndTime, @Nullable Boolean capIsUsedInMultiOperations, @Nullable String referencedCapacityInternalID, @Nullable String capOverloadThresholdInPercent, @Nullable String capacityQuantityUnit, @Nullable String capacityBaseQtyUnit, @Nullable ZonedDateTime capacityLastChangeDateTime, List<WorkCenterCapacityInterval_2> toCapacityInterval, List<WorkCenterCapacityText> toCapacityText)
@Nonnull public Class<WorkCenterCapacity> getType()
getType
in class VdmObject<WorkCenterCapacity>
public void setCapacityInternalID(@Nullable String capacityInternalID)
Original property name from the Odata EDM: CapacityInternalID
capacityInternalID
- Capacity IDpublic void setCapacity(@Nullable String capacity)
Original property name from the Odata EDM: Capacity
is to be created in the system (when creating the capacity) oris known in the system (when changing, displaying or using the capacity).
capacity
- Description by which the capacity (for example, a machine capacity, a labor capacity or a move
capacity)public void setCapacityCategoryCode(@Nullable String capacityCategoryCode)
Original property name from the Odata EDM: CapacityCategoryCode
capacityCategoryCode
- Capacity Categorypublic void setCapacityActiveVersion(@Nullable String capacityActiveVersion)
Original property name from the Odata EDM: CapacityActiveVersion
The active version is always the capacity in the screen with header dataThe different versions allow you to maintain several available capacities at the same time. The active version of available capacity is used as a basis for scheduling.
capacityActiveVersion
- With this number you can identify the active version of available capacity.public void setCapacityIsFinite(@Nullable Boolean capacityIsFinite)
Original property name from the Odata EDM: CapacityIsFinite
Only those capacities for which the indicator finite scheduling is set are taken into account in the capacity availability check.
capacityIsFinite
- You use this indicator to specify that the system should take the available capacity and the load of
this capacity into account during finite scheduling.public void setCapacityIsPooled(@Nullable Boolean capacityIsPooled)
Original property name from the Odata EDM: CapacityIsPooled
capacityIsPooled
- Allows capacity to be allocated to several work centers. For example, move capacity (for moving parts
and materials) could be called upon by several work centers.public void setCapacityHasIndivCapacities(@Nullable Boolean capacityHasIndivCapacities)
Original property name from the Odata EDM: CapacityHasIndivCapacities
capacityHasIndivCapacities
- Has Individual Capacitiespublic void setCapacityIsExcldFrmLongTermPlng(@Nullable Boolean capacityIsExcldFrmLongTermPlng)
Original property name from the Odata EDM: CapacityIsExcldFrmLongTermPlng
The aim of long term planning is to determine the requirements and available capacity for the assemblies and raw materials on the basis of a planned demand program.
capacityIsExcldFrmLongTermPlng
- Indicator used to specify that this capacity is not taken into account in long term planning.public void setCapacityNumberOfCapacities(@Nullable Short capacityNumberOfCapacities)
Original property name from the Odata EDM: CapacityNumberOfCapacities
For example, a group made up of 5 machines has 5 elements.
capacityNumberOfCapacities
- Number of elements which make up a capacity group.public void setCapacityResponsiblePlanner(@Nullable String capacityResponsiblePlanner)
Original property name from the Odata EDM: CapacityResponsiblePlanner
capacityResponsiblePlanner
- Key referring to the capacity planner group, which is responsible for planning this capacity.public void setCapacityPlanUtilizationPercent(@Nullable String capacityPlanUtilizationPercent)
Original property name from the Odata EDM: CapacityPlanUtilizationPercent
Enter the average capacity utilization rate of all machines providing that capacity during the shift.The capacity utilization rate, the number of individual capacities and the operating time per shift make up the total capacity for the shift generated by the system.
capacityPlanUtilizationPercent
- The relationship (expressed in percent) between a machine´s actual capacity and it´s theoretical
capacity.public void setCapacityBreakDuration(@Nullable Integer capacityBreakDuration)
Original property name from the Odata EDM: CapacityBreakDuration
capacityBreakDuration
- Cumulative Break Duration in Seconds (internal)public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setFactoryCalendar(@Nullable String factoryCalendar)
Original property name from the Odata EDM: FactoryCalendar
If you have not entered your own calendar, then the system uses the factory calendar for the plant.
factoryCalendar
- Two-place ID to identify the factory calendar.public void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- The authorization group allows extended authorization protection for particular objects. The
authorization groups are freely definable. The authorization groups usually occur in authorization
objects together with an activity.public void setShiftGroup(@Nullable String shiftGroup)
Original property name from the Odata EDM: ShiftGroup
You can use a grouping to create shift sequences and shift definitions for special areas (for example, different plants or different areas of a plant) and select them when maintaining the available capacities of work centers.If you have entered a grouping, the system offers you only the shift sequences and shift definitions that you have created in Customizing for this grouping for you to maintain the available capacity.If you have not entered a grouping, the system offers the shift sequences and shift definitions maintained for grouping "0".
shiftGroup
- Number identifying a grouping. You can choose a number between 01 and 99.public void setCapacityStartTime(@Nullable Integer capacityStartTime)
Original property name from the Odata EDM: CapacityStartTime
capacityStartTime
- Start time in seconds (internal)public void setCapacityEndTime(@Nullable Integer capacityEndTime)
Original property name from the Odata EDM: CapacityEndTime
capacityEndTime
- End Time in Seconds (internal)public void setCapIsUsedInMultiOperations(@Nullable Boolean capIsUsedInMultiOperations)
Original property name from the Odata EDM: CapIsUsedInMultiOperations
capIsUsedInMultiOperations
- Indicator: Several Operations Can Use Capacitypublic void setReferencedCapacityInternalID(@Nullable String referencedCapacityInternalID)
Original property name from the Odata EDM: ReferencedCapacityInternalID
referencedCapacityInternalID
- Referenced Capacity IDpublic void setCapOverloadThresholdInPercent(@Nullable String capOverloadThresholdInPercent)
Original property name from the Odata EDM: CapOverloadThresholdInPercent
Overload is used in finite scheduling. You can use it to specify, for example, that work continues during a break if capacity requirements are not covered by the available capacity.If you have entered a percentage for the overload, it is also taken into account in the availability check for capacity. For example, if there is an overload of 10%, work centers with a capacity load of more than 110% are overloaded.
capOverloadThresholdInPercent
- Entry you use to control the percentage by which the load may exceed available capacity.public void setCapacityQuantityUnit(@Nullable String capacityQuantityUnit)
Original property name from the Odata EDM: CapacityQuantityUnit
The unit of measure may have a different dimension than the base unit of measure. In this case, you must maintain the conversion for the unit of measure to the base unit of measure by selecting the menu options "Extras -> Units of measure" on the header data screen.
capacityQuantityUnit
- Unit of measure in which available capacity is to be displayed.public void setCapacityBaseQtyUnit(@Nullable String capacityBaseQtyUnit)
Original property name from the Odata EDM: CapacityBaseQtyUnit
capacityBaseQtyUnit
- Unit in which available capacity is maintained. A typical unit is "hours".public void setCapacityLastChangeDateTime(@Nullable ZonedDateTime capacityLastChangeDateTime)
Original property name from the Odata EDM: CapacityLastChangeDateTime
capacityLastChangeDateTime
- Capacity Last Change Date Timeprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<WorkCenterCapacity>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WorkCenterCapacity>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WorkCenterCapacity>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WorkCenterCapacity>
@Nonnull public static <T> WorkCenterCapacityField<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> WorkCenterCapacityField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<WorkCenterCapacity>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<WorkCenterCapacity>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<WorkCenterCapacity>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<WorkCenterCapacity>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<WorkCenterCapacity>
@Nonnull public List<WorkCenterCapacityInterval_2> fetchCapacityInterval() 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<WorkCenterCapacityInterval_2> getCapacityIntervalOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CapacityInterval of a queried WorkCenterCapacity 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 io.vavr.control.Option<List<WorkCenterCapacityInterval_2>> getCapacityIntervalIfPresent()
If the navigation property for an entity WorkCenterCapacity has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result
state empty
is returned.public void setCapacityInterval(@Nonnull List<WorkCenterCapacityInterval_2> value)
If the navigation property to_CapacityInterval of a queried WorkCenterCapacity 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 WorkCenterCapacityInterval_2 entities.public void addCapacityInterval(WorkCenterCapacityInterval_2... entity)
If the navigation property to_CapacityInterval of a queried WorkCenterCapacity 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 WorkCenterCapacityInterval_2 entities.@Nonnull public List<WorkCenterCapacityText> fetchCapacityText() 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<WorkCenterCapacityText> getCapacityTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CapacityText of a queried WorkCenterCapacity 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 io.vavr.control.Option<List<WorkCenterCapacityText>> getCapacityTextIfPresent()
If the navigation property for an entity WorkCenterCapacity has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setCapacityText(@Nonnull List<WorkCenterCapacityText> value)
If the navigation property to_CapacityText of a queried WorkCenterCapacity 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 WorkCenterCapacityText entities.public void addCapacityText(WorkCenterCapacityText... entity)
If the navigation property to_CapacityText of a queried WorkCenterCapacity 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 WorkCenterCapacityText entities.public static WorkCenterCapacity.WorkCenterCapacityBuilder builder()
@Nullable public String getCapacityInternalID()
Original property name from the Odata EDM: CapacityInternalID
@Nullable public String getCapacity()
Original property name from the Odata EDM: Capacity
is to be created in the system (when creating the capacity) oris known in the system (when changing, displaying or using the capacity).
@Nullable public String getCapacityCategoryCode()
Original property name from the Odata EDM: CapacityCategoryCode
@Nullable public String getCapacityActiveVersion()
Original property name from the Odata EDM: CapacityActiveVersion
The active version is always the capacity in the screen with header dataThe different versions allow you to maintain several available capacities at the same time. The active version of available capacity is used as a basis for scheduling.
@Nullable public Boolean getCapacityIsFinite()
Original property name from the Odata EDM: CapacityIsFinite
Only those capacities for which the indicator finite scheduling is set are taken into account in the capacity availability check.
@Nullable public Boolean getCapacityIsPooled()
Original property name from the Odata EDM: CapacityIsPooled
@Nullable public Boolean getCapacityHasIndivCapacities()
Original property name from the Odata EDM: CapacityHasIndivCapacities
@Nullable public Boolean getCapacityIsExcldFrmLongTermPlng()
Original property name from the Odata EDM: CapacityIsExcldFrmLongTermPlng
The aim of long term planning is to determine the requirements and available capacity for the assemblies and raw materials on the basis of a planned demand program.
@Nullable public Short getCapacityNumberOfCapacities()
Original property name from the Odata EDM: CapacityNumberOfCapacities
For example, a group made up of 5 machines has 5 elements.
@Nullable public String getCapacityResponsiblePlanner()
Original property name from the Odata EDM: CapacityResponsiblePlanner
@Nullable public String getCapacityPlanUtilizationPercent()
Original property name from the Odata EDM: CapacityPlanUtilizationPercent
Enter the average capacity utilization rate of all machines providing that capacity during the shift.The capacity utilization rate, the number of individual capacities and the operating time per shift make up the total capacity for the shift generated by the system.
@Nullable public Integer getCapacityBreakDuration()
Original property name from the Odata EDM: CapacityBreakDuration
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getFactoryCalendar()
Original property name from the Odata EDM: FactoryCalendar
If you have not entered your own calendar, then the system uses the factory calendar for the plant.
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nullable public String getShiftGroup()
Original property name from the Odata EDM: ShiftGroup
You can use a grouping to create shift sequences and shift definitions for special areas (for example, different plants or different areas of a plant) and select them when maintaining the available capacities of work centers.If you have entered a grouping, the system offers you only the shift sequences and shift definitions that you have created in Customizing for this grouping for you to maintain the available capacity.If you have not entered a grouping, the system offers the shift sequences and shift definitions maintained for grouping "0".
@Nullable public Integer getCapacityStartTime()
Original property name from the Odata EDM: CapacityStartTime
@Nullable public Integer getCapacityEndTime()
Original property name from the Odata EDM: CapacityEndTime
@Nullable public Boolean getCapIsUsedInMultiOperations()
Original property name from the Odata EDM: CapIsUsedInMultiOperations
@Nullable public String getReferencedCapacityInternalID()
Original property name from the Odata EDM: ReferencedCapacityInternalID
@Nullable public String getCapOverloadThresholdInPercent()
Original property name from the Odata EDM: CapOverloadThresholdInPercent
Overload is used in finite scheduling. You can use it to specify, for example, that work continues during a break if capacity requirements are not covered by the available capacity.If you have entered a percentage for the overload, it is also taken into account in the availability check for capacity. For example, if there is an overload of 10%, work centers with a capacity load of more than 110% are overloaded.
@Nullable public String getCapacityQuantityUnit()
Original property name from the Odata EDM: CapacityQuantityUnit
The unit of measure may have a different dimension than the base unit of measure. In this case, you must maintain the conversion for the unit of measure to the base unit of measure by selecting the menu options "Extras -> Units of measure" on the header data screen.
@Nullable public String getCapacityBaseQtyUnit()
Original property name from the Odata EDM: CapacityBaseQtyUnit
@Nullable public ZonedDateTime getCapacityLastChangeDateTime()
Original property name from the Odata EDM: CapacityLastChangeDateTime
public String toString()
toString
in class VdmObject<WorkCenterCapacity>
public boolean equals(Object o)
equals
in class VdmObject<WorkCenterCapacity>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<WorkCenterCapacity>
public int hashCode()
hashCode
in class VdmObject<WorkCenterCapacity>
Copyright © 2020 SAP SE. All rights reserved.