Class WorkCenterCapacity
Original entity name from the Odata EDM: A_WorkCenterCapacityType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WorkCenterCapacity instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorkCenterCapacitySelectableSelector for all available fields of WorkCenterCapacity.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the AuthorizationGroup field to query operations.static final WorkCenterCapacityField<Boolean>Use with available fluent helpers to apply the CapIsUsedInMultiOperations field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapOverloadThresholdInPercent field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the Capacity field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapacityActiveVersion field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapacityBaseQtyUnit field to query operations.static final WorkCenterCapacityField<Integer>Use with available fluent helpers to apply the CapacityBreakDuration field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapacityCategoryCode field to query operations.static final WorkCenterCapacityField<Integer>Use with available fluent helpers to apply the CapacityEndTime field to query operations.static final WorkCenterCapacityField<Boolean>Use with available fluent helpers to apply the CapacityHasIndivCapacities field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapacityInternalID field to query operations.static final WorkCenterCapacityField<Boolean>Use with available fluent helpers to apply the CapacityIsExcldFrmLongTermPlng field to query operations.static final WorkCenterCapacityField<Boolean>Use with available fluent helpers to apply the CapacityIsFinite field to query operations.static final WorkCenterCapacityField<Boolean>Use with available fluent helpers to apply the CapacityIsPooled field to query operations.static final WorkCenterCapacityField<ZonedDateTime>Use with available fluent helpers to apply the CapacityLastChangeDateTime field to query operations.static final WorkCenterCapacityField<Short>Use with available fluent helpers to apply the CapacityNumberOfCapacities field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapacityPlanUtilizationPercent field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapacityQuantityUnit field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the CapacityResponsiblePlanner field to query operations.static final WorkCenterCapacityField<Integer>Use with available fluent helpers to apply the CapacityStartTime field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the FactoryCalendar field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the Plant field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the ReferencedCapacityInternalID field to query operations.static final WorkCenterCapacityField<String>Use with available fluent helpers to apply the ShiftGroup field to query operations.static final WorkCenterCapacityLink<WorkCenterCapacityInterval_2>Use with available fluent helpers to apply the to_CapacityInterval navigation property to query operations.static final WorkCenterCapacityLink<WorkCenterCapacityText>Use with available fluent helpers to apply the to_CapacityText navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionWorkCenterCapacity(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) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCapacityInterval(WorkCenterCapacityInterval_2... entity) Adds elements to the list of associated WorkCenterCapacityInterval_2 entities.voidaddCapacityText(WorkCenterCapacityText... entity) Adds elements to the list of associated WorkCenterCapacityText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the WorkCenterCapacityInterval_2 entities (one to many) associated with this entity.Fetches the WorkCenterCapacityText entities (one to many) associated with this entity.static <T,DomainT>
WorkCenterCapacityField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> WorkCenterCapacityField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 3Constraints: noneConstraints: Not nullable, Maximum length: 3Constraints: noneConstraints: none(Key Field) Constraints: Not nullable, Maximum length: 8io.vavr.control.Option<List<WorkCenterCapacityInterval_2>>Retrieval of associated WorkCenterCapacityInterval_2 entities (one to many).Retrieval of associated WorkCenterCapacityInterval_2 entities (one to many).Constraints: noneConstraints: noneConstraints: noneConstraints: Not nullable, Precision: 7Constraints: noneConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: noneio.vavr.control.Option<List<WorkCenterCapacityText>>Retrieval of associated WorkCenterCapacityText entities (one to many).Retrieval of associated WorkCenterCapacityText entities (one to many).Constraints: noneConstraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: Not nullable, Maximum length: 2getKey()getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetAuthorizationGroup(String authorizationGroup) Constraints: Not nullable, Maximum length: 4voidsetCapacity(String capacity) Constraints: Not nullable, Maximum length: 8voidsetCapacityActiveVersion(String capacityActiveVersion) Constraints: Not nullable, Maximum length: 2voidsetCapacityBaseQtyUnit(String capacityBaseQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetCapacityBreakDuration(Integer capacityBreakDuration) Constraints: nonevoidsetCapacityCategoryCode(String capacityCategoryCode) Constraints: Not nullable, Maximum length: 3voidsetCapacityEndTime(Integer capacityEndTime) Constraints: nonevoidsetCapacityHasIndivCapacities(Boolean capacityHasIndivCapacities) Constraints: nonevoidsetCapacityInternalID(String capacityInternalID) (Key Field) Constraints: Not nullable, Maximum length: 8voidOverwrites the list of associated WorkCenterCapacityInterval_2 entities for the loaded navigation property to_CapacityInterval.voidsetCapacityIsExcldFrmLongTermPlng(Boolean capacityIsExcldFrmLongTermPlng) Constraints: nonevoidsetCapacityIsFinite(Boolean capacityIsFinite) Constraints: nonevoidsetCapacityIsPooled(Boolean capacityIsPooled) Constraints: nonevoidsetCapacityLastChangeDateTime(ZonedDateTime capacityLastChangeDateTime) Constraints: Not nullable, Precision: 7voidsetCapacityNumberOfCapacities(Short capacityNumberOfCapacities) Constraints: nonevoidsetCapacityPlanUtilizationPercent(String capacityPlanUtilizationPercent) Constraints: Not nullable, Maximum length: 3voidsetCapacityQuantityUnit(String capacityQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetCapacityResponsiblePlanner(String capacityResponsiblePlanner) Constraints: Not nullable, Maximum length: 3voidsetCapacityStartTime(Integer capacityStartTime) Constraints: nonevoidOverwrites the list of associated WorkCenterCapacityText entities for the loaded navigation property to_CapacityText.voidsetCapIsUsedInMultiOperations(Boolean capIsUsedInMultiOperations) Constraints: nonevoidsetCapOverloadThresholdInPercent(String capOverloadThresholdInPercent) Constraints: Not nullable, Maximum length: 3voidsetFactoryCalendar(String factoryCalendar) Constraints: Not nullable, Maximum length: 2voidConstraints: Not nullable, Maximum length: 4voidsetReferencedCapacityInternalID(String referencedCapacityInternalID) Constraints: Not nullable, Maximum length: 8protected voidsetServicePathForFetch(String servicePathForFetch) voidsetShiftGroup(String shiftGroup) Constraints: Not nullable, Maximum length: 2toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WorkCenterCapacity. -
CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the CapacityInternalID field to query operations. -
CAPACITY
Use with available fluent helpers to apply the Capacity field to query operations. -
CAPACITY_CATEGORY_CODE
Use with available fluent helpers to apply the CapacityCategoryCode field to query operations. -
CAPACITY_ACTIVE_VERSION
Use with available fluent helpers to apply the CapacityActiveVersion field to query operations. -
CAPACITY_IS_FINITE
Use with available fluent helpers to apply the CapacityIsFinite field to query operations. -
CAPACITY_IS_POOLED
Use with available fluent helpers to apply the CapacityIsPooled field to query operations. -
CAPACITY_HAS_INDIV_CAPACITIES
Use with available fluent helpers to apply the CapacityHasIndivCapacities field to query operations. -
CAPACITY_IS_EXCLD_FRM_LONG_TERM_PLNG
Use with available fluent helpers to apply the CapacityIsExcldFrmLongTermPlng field to query operations. -
CAPACITY_NUMBER_OF_CAPACITIES
Use with available fluent helpers to apply the CapacityNumberOfCapacities field to query operations. -
CAPACITY_RESPONSIBLE_PLANNER
Use with available fluent helpers to apply the CapacityResponsiblePlanner field to query operations. -
CAPACITY_PLAN_UTILIZATION_PERCENT
Use with available fluent helpers to apply the CapacityPlanUtilizationPercent field to query operations. -
CAPACITY_BREAK_DURATION
Use with available fluent helpers to apply the CapacityBreakDuration field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
FACTORY_CALENDAR
Use with available fluent helpers to apply the FactoryCalendar field to query operations. -
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations. -
SHIFT_GROUP
Use with available fluent helpers to apply the ShiftGroup field to query operations. -
CAPACITY_START_TIME
Use with available fluent helpers to apply the CapacityStartTime field to query operations. -
CAPACITY_END_TIME
Use with available fluent helpers to apply the CapacityEndTime field to query operations. -
CAP_IS_USED_IN_MULTI_OPERATIONS
Use with available fluent helpers to apply the CapIsUsedInMultiOperations field to query operations. -
REFERENCED_CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the ReferencedCapacityInternalID field to query operations. -
CAP_OVERLOAD_THRESHOLD_IN_PERCENT
Use with available fluent helpers to apply the CapOverloadThresholdInPercent field to query operations. -
CAPACITY_QUANTITY_UNIT
Use with available fluent helpers to apply the CapacityQuantityUnit field to query operations. -
CAPACITY_BASE_QTY_UNIT
Use with available fluent helpers to apply the CapacityBaseQtyUnit field to query operations. -
CAPACITY_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the CapacityLastChangeDateTime field to query operations. -
TO_CAPACITY_INTERVAL
Use with available fluent helpers to apply the to_CapacityInterval navigation property to query operations. -
TO_CAPACITY_TEXT
Use with available fluent helpers to apply the to_CapacityText navigation property to query operations.
-
-
Constructor Details
-
WorkCenterCapacity
public WorkCenterCapacity() -
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)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WorkCenterCapacity>
-
setCapacityInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CapacityInternalID
- Parameters:
capacityInternalID- Capacity ID
-
setCapacity
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: Capacity
- Parameters:
capacity- Capacity name
-
setCapacityCategoryCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityCategoryCode
- Parameters:
capacityCategoryCode- Capacity Category
-
setCapacityActiveVersion
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CapacityActiveVersion
- Parameters:
capacityActiveVersion- Active Version of Available Capacity
-
setCapacityIsFinite
Constraints: noneOriginal property name from the Odata EDM: CapacityIsFinite
- Parameters:
capacityIsFinite- Indicator: Capacity Relevant to Finite Scheduling
-
setCapacityIsPooled
Constraints: noneOriginal property name from the Odata EDM: CapacityIsPooled
- Parameters:
capacityIsPooled- Pooled Capacity Indicator
-
setCapacityHasIndivCapacities
Constraints: noneOriginal property name from the Odata EDM: CapacityHasIndivCapacities
- Parameters:
capacityHasIndivCapacities- Has Individual Capacities
-
setCapacityIsExcldFrmLongTermPlng
Constraints: noneOriginal property name from the Odata EDM: CapacityIsExcldFrmLongTermPlng
- Parameters:
capacityIsExcldFrmLongTermPlng- Indicator: Capacity Excluded From Long-Term Planning
-
setCapacityNumberOfCapacities
Constraints: noneOriginal property name from the Odata EDM: CapacityNumberOfCapacities
- Parameters:
capacityNumberOfCapacities- Number of Individual Capacities
-
setCapacityResponsiblePlanner
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityResponsiblePlanner
- Parameters:
capacityResponsiblePlanner- Capacity Responsible Planner Group
-
setCapacityPlanUtilizationPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityPlanUtilizationPercent
- Parameters:
capacityPlanUtilizationPercent- Capacity Utilization Ratio in Percent
-
setCapacityBreakDuration
Constraints: noneOriginal property name from the Odata EDM: CapacityBreakDuration
- Parameters:
capacityBreakDuration- Cumulative Break Duration in Seconds (internal)
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setFactoryCalendar
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FactoryCalendar
- Parameters:
factoryCalendar- Factory Calendar ID
-
setAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Parameters:
authorizationGroup- Authorization Group
-
setShiftGroup
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ShiftGroup
- Parameters:
shiftGroup- Grouping for Shift Definitions and Shift Sequences
-
setCapacityStartTime
Constraints: noneOriginal property name from the Odata EDM: CapacityStartTime
- Parameters:
capacityStartTime- Start time in seconds (internal)
-
setCapacityEndTime
Constraints: noneOriginal property name from the Odata EDM: CapacityEndTime
- Parameters:
capacityEndTime- End Time in Seconds (internal)
-
setCapIsUsedInMultiOperations
Constraints: noneOriginal property name from the Odata EDM: CapIsUsedInMultiOperations
- Parameters:
capIsUsedInMultiOperations- Indicator: Several Operations Can Use Capacity
-
setReferencedCapacityInternalID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ReferencedCapacityInternalID
- Parameters:
referencedCapacityInternalID- Referenced Capacity ID
-
setCapOverloadThresholdInPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapOverloadThresholdInPercent
- Parameters:
capOverloadThresholdInPercent- Overload
-
setCapacityQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityQuantityUnit
- Parameters:
capacityQuantityUnit- Capacity Unit of Measure
-
setCapacityBaseQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityBaseQtyUnit
- Parameters:
capacityBaseQtyUnit- Capacity Base Unit of Measure
-
setCapacityLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CapacityLastChangeDateTime
- Parameters:
capacityLastChangeDateTime- Capacity Last Change Date Time
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WorkCenterCapacity>
-
getKey
- Overrides:
getKeyin classVdmObject<WorkCenterCapacity>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WorkCenterCapacity>
-
fromMap
- Overrides:
fromMapin classVdmObject<WorkCenterCapacity>
-
field
@Nonnull public static <T> WorkCenterCapacityField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> WorkCenterCapacityField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<WorkCenterCapacity>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<WorkCenterCapacity>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<WorkCenterCapacity>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WorkCenterCapacity>
-
fetchCapacityInterval
Fetches the WorkCenterCapacityInterval_2 entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CapacityInterval.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated WorkCenterCapacityInterval_2 entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCapacityIntervalOrFetch
Retrieval of associated WorkCenterCapacityInterval_2 entities (one to many). This corresponds to the OData navigation property to_CapacityInterval.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.
- Returns:
- List of associated WorkCenterCapacityInterval_2 entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCapacityIntervalIfPresent
@Nonnull public io.vavr.control.Option<List<WorkCenterCapacityInterval_2>> getCapacityIntervalIfPresent()Retrieval of associated WorkCenterCapacityInterval_2 entities (one to many). This corresponds to the OData navigation property to_CapacityInterval.If the navigation property for an entity WorkCenterCapacity has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CapacityInterval is already loaded, the result will
contain the WorkCenterCapacityInterval_2 entities. If not, an
Optionwith result stateemptyis returned.
-
setCapacityInterval
Overwrites the list of associated WorkCenterCapacityInterval_2 entities for the loaded navigation property to_CapacityInterval.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.
- Parameters:
value- List of WorkCenterCapacityInterval_2 entities.
-
addCapacityInterval
Adds elements to the list of associated WorkCenterCapacityInterval_2 entities. This corresponds to the OData navigation property to_CapacityInterval.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.
- Parameters:
entity- Array of WorkCenterCapacityInterval_2 entities.
-
fetchCapacityText
Fetches the WorkCenterCapacityText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CapacityText.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated WorkCenterCapacityText entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCapacityTextOrFetch
Retrieval of associated WorkCenterCapacityText entities (one to many). This corresponds to the OData navigation property to_CapacityText.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.
- Returns:
- List of associated WorkCenterCapacityText entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getCapacityTextIfPresent
Retrieval of associated WorkCenterCapacityText entities (one to many). This corresponds to the OData navigation property to_CapacityText.If the navigation property for an entity WorkCenterCapacity has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CapacityText is already loaded, the result will
contain the WorkCenterCapacityText entities. If not, an
Optionwith result stateemptyis returned.
-
setCapacityText
Overwrites the list of associated WorkCenterCapacityText entities for the loaded navigation property to_CapacityText.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.
- Parameters:
value- List of WorkCenterCapacityText entities.
-
addCapacityText
Adds elements to the list of associated WorkCenterCapacityText entities. This corresponds to the OData navigation property to_CapacityText.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.
- Parameters:
entity- Array of WorkCenterCapacityText entities.
-
builder
-
getCapacityInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CapacityInternalID
- Returns:
- Capacity ID
-
getCapacity
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: Capacity
- Returns:
- Capacity name
-
getCapacityCategoryCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityCategoryCode
- Returns:
- Capacity Category
-
getCapacityActiveVersion
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CapacityActiveVersion
- Returns:
- Active Version of Available Capacity
-
getCapacityIsFinite
Constraints: noneOriginal property name from the Odata EDM: CapacityIsFinite
- Returns:
- Indicator: Capacity Relevant to Finite Scheduling
-
getCapacityIsPooled
Constraints: noneOriginal property name from the Odata EDM: CapacityIsPooled
- Returns:
- Pooled Capacity Indicator
-
getCapacityHasIndivCapacities
Constraints: noneOriginal property name from the Odata EDM: CapacityHasIndivCapacities
- Returns:
- Has Individual Capacities
-
getCapacityIsExcldFrmLongTermPlng
Constraints: noneOriginal property name from the Odata EDM: CapacityIsExcldFrmLongTermPlng
- Returns:
- Indicator: Capacity Excluded From Long-Term Planning
-
getCapacityNumberOfCapacities
Constraints: noneOriginal property name from the Odata EDM: CapacityNumberOfCapacities
- Returns:
- Number of Individual Capacities
-
getCapacityResponsiblePlanner
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityResponsiblePlanner
- Returns:
- Capacity Responsible Planner Group
-
getCapacityPlanUtilizationPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityPlanUtilizationPercent
- Returns:
- Capacity Utilization Ratio in Percent
-
getCapacityBreakDuration
Constraints: noneOriginal property name from the Odata EDM: CapacityBreakDuration
- Returns:
- Cumulative Break Duration in Seconds (internal)
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getFactoryCalendar
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FactoryCalendar
- Returns:
- Factory Calendar ID
-
getAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Returns:
- Authorization Group
-
getShiftGroup
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ShiftGroup
- Returns:
- Grouping for Shift Definitions and Shift Sequences
-
getCapacityStartTime
Constraints: noneOriginal property name from the Odata EDM: CapacityStartTime
- Returns:
- Start time in seconds (internal)
-
getCapacityEndTime
Constraints: noneOriginal property name from the Odata EDM: CapacityEndTime
- Returns:
- End Time in Seconds (internal)
-
getCapIsUsedInMultiOperations
Constraints: noneOriginal property name from the Odata EDM: CapIsUsedInMultiOperations
- Returns:
- Indicator: Several Operations Can Use Capacity
-
getReferencedCapacityInternalID
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ReferencedCapacityInternalID
- Returns:
- Referenced Capacity ID
-
getCapOverloadThresholdInPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapOverloadThresholdInPercent
- Returns:
- Overload
-
getCapacityQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityQuantityUnit
- Returns:
- Capacity Unit of Measure
-
getCapacityBaseQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityBaseQtyUnit
- Returns:
- Capacity Base Unit of Measure
-
getCapacityLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CapacityLastChangeDateTime
- Returns:
- Capacity Last Change Date Time
-
toString
- Overrides:
toStringin classVdmObject<WorkCenterCapacity>
-
equals
- Overrides:
equalsin classVdmEntity<WorkCenterCapacity>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WorkCenterCapacity>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WorkCenterCapacity>
-