java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<WorkCenterCapacity>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.workcenterdata.WorkCenterCapacity

public class WorkCenterCapacity extends VdmEntity<WorkCenterCapacity>
Capacity Header

Original entity name from the Odata EDM: A_WorkCenterCapacityType

  • Field Details

    • ALL_FIELDS

      public static final WorkCenterCapacitySelectable ALL_FIELDS
      Selector for all available fields of WorkCenterCapacity.
    • CAPACITY_INTERNAL_ID

      public static final WorkCenterCapacityField<String> CAPACITY_INTERNAL_ID
      Use with available fluent helpers to apply the CapacityInternalID field to query operations.
    • CAPACITY

      public static final WorkCenterCapacityField<String> CAPACITY
      Use with available fluent helpers to apply the Capacity field to query operations.
    • CAPACITY_CATEGORY_CODE

      public static final WorkCenterCapacityField<String> CAPACITY_CATEGORY_CODE
      Use with available fluent helpers to apply the CapacityCategoryCode field to query operations.
    • CAPACITY_ACTIVE_VERSION

      public static final WorkCenterCapacityField<String> CAPACITY_ACTIVE_VERSION
      Use with available fluent helpers to apply the CapacityActiveVersion field to query operations.
    • CAPACITY_IS_FINITE

      public static final WorkCenterCapacityField<Boolean> CAPACITY_IS_FINITE
      Use with available fluent helpers to apply the CapacityIsFinite field to query operations.
    • CAPACITY_IS_POOLED

      public static final WorkCenterCapacityField<Boolean> CAPACITY_IS_POOLED
      Use with available fluent helpers to apply the CapacityIsPooled field to query operations.
    • CAPACITY_HAS_INDIV_CAPACITIES

      public static final WorkCenterCapacityField<Boolean> CAPACITY_HAS_INDIV_CAPACITIES
      Use with available fluent helpers to apply the CapacityHasIndivCapacities field to query operations.
    • CAPACITY_IS_EXCLD_FRM_LONG_TERM_PLNG

      public static final WorkCenterCapacityField<Boolean> CAPACITY_IS_EXCLD_FRM_LONG_TERM_PLNG
      Use with available fluent helpers to apply the CapacityIsExcldFrmLongTermPlng field to query operations.
    • CAPACITY_NUMBER_OF_CAPACITIES

      public static final WorkCenterCapacityField<Short> CAPACITY_NUMBER_OF_CAPACITIES
      Use with available fluent helpers to apply the CapacityNumberOfCapacities field to query operations.
    • CAPACITY_RESPONSIBLE_PLANNER

      public static final WorkCenterCapacityField<String> CAPACITY_RESPONSIBLE_PLANNER
      Use with available fluent helpers to apply the CapacityResponsiblePlanner field to query operations.
    • CAPACITY_PLAN_UTILIZATION_PERCENT

      public static final WorkCenterCapacityField<String> CAPACITY_PLAN_UTILIZATION_PERCENT
      Use with available fluent helpers to apply the CapacityPlanUtilizationPercent field to query operations.
    • CAPACITY_BREAK_DURATION

      public static final WorkCenterCapacityField<Integer> CAPACITY_BREAK_DURATION
      Use with available fluent helpers to apply the CapacityBreakDuration field to query operations.
    • PLANT

      public static final WorkCenterCapacityField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • FACTORY_CALENDAR

      public static final WorkCenterCapacityField<String> FACTORY_CALENDAR
      Use with available fluent helpers to apply the FactoryCalendar field to query operations.
    • AUTHORIZATION_GROUP

      public static final WorkCenterCapacityField<String> AUTHORIZATION_GROUP
      Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
    • SHIFT_GROUP

      public static final WorkCenterCapacityField<String> SHIFT_GROUP
      Use with available fluent helpers to apply the ShiftGroup field to query operations.
    • CAPACITY_START_TIME

      public static final WorkCenterCapacityField<Integer> CAPACITY_START_TIME
      Use with available fluent helpers to apply the CapacityStartTime field to query operations.
    • CAPACITY_END_TIME

      public static final WorkCenterCapacityField<Integer> CAPACITY_END_TIME
      Use with available fluent helpers to apply the CapacityEndTime field to query operations.
    • CAP_IS_USED_IN_MULTI_OPERATIONS

      public static final WorkCenterCapacityField<Boolean> CAP_IS_USED_IN_MULTI_OPERATIONS
      Use with available fluent helpers to apply the CapIsUsedInMultiOperations field to query operations.
    • REFERENCED_CAPACITY_INTERNAL_ID

      public static final WorkCenterCapacityField<String> REFERENCED_CAPACITY_INTERNAL_ID
      Use with available fluent helpers to apply the ReferencedCapacityInternalID field to query operations.
    • CAP_OVERLOAD_THRESHOLD_IN_PERCENT

      public static final WorkCenterCapacityField<String> CAP_OVERLOAD_THRESHOLD_IN_PERCENT
      Use with available fluent helpers to apply the CapOverloadThresholdInPercent field to query operations.
    • CAPACITY_QUANTITY_UNIT

      public static final WorkCenterCapacityField<String> CAPACITY_QUANTITY_UNIT
      Use with available fluent helpers to apply the CapacityQuantityUnit field to query operations.
    • CAPACITY_BASE_QTY_UNIT

      public static final WorkCenterCapacityField<String> CAPACITY_BASE_QTY_UNIT
      Use with available fluent helpers to apply the CapacityBaseQtyUnit field to query operations.
    • CAPACITY_LAST_CHANGE_DATE_TIME

      public static final WorkCenterCapacityField<ZonedDateTime> CAPACITY_LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the CapacityLastChangeDateTime field to query operations.
    • TO_CAPACITY_INTERVAL

      public static final WorkCenterCapacityLink<WorkCenterCapacityInterval_2> TO_CAPACITY_INTERVAL
      Use with available fluent helpers to apply the to_CapacityInterval navigation property to query operations.
    • TO_CAPACITY_TEXT

      public static final WorkCenterCapacityLink<WorkCenterCapacityText> 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

      @Nonnull public Class<WorkCenterCapacity> getType()
      Specified by:
      getType in class VdmObject<WorkCenterCapacity>
    • setCapacityInternalID

      public void setCapacityInternalID(@Nullable String capacityInternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CapacityInternalID

      Parameters:
      capacityInternalID - Capacity ID
    • setCapacity

      public void setCapacity(@Nullable String capacity)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: Capacity

      Parameters:
      capacity - Capacity name
    • setCapacityCategoryCode

      public void setCapacityCategoryCode(@Nullable String capacityCategoryCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityCategoryCode

      Parameters:
      capacityCategoryCode - Capacity Category
    • setCapacityActiveVersion

      public void setCapacityActiveVersion(@Nullable String capacityActiveVersion)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CapacityActiveVersion

      Parameters:
      capacityActiveVersion - Active Version of Available Capacity
    • setCapacityIsFinite

      public void setCapacityIsFinite(@Nullable Boolean capacityIsFinite)
      Constraints: none

      Original property name from the Odata EDM: CapacityIsFinite

      Parameters:
      capacityIsFinite - Indicator: Capacity Relevant to Finite Scheduling
    • setCapacityIsPooled

      public void setCapacityIsPooled(@Nullable Boolean capacityIsPooled)
      Constraints: none

      Original property name from the Odata EDM: CapacityIsPooled

      Parameters:
      capacityIsPooled - Pooled Capacity Indicator
    • setCapacityHasIndivCapacities

      public void setCapacityHasIndivCapacities(@Nullable Boolean capacityHasIndivCapacities)
      Constraints: none

      Original property name from the Odata EDM: CapacityHasIndivCapacities

      Parameters:
      capacityHasIndivCapacities - Has Individual Capacities
    • setCapacityIsExcldFrmLongTermPlng

      public void setCapacityIsExcldFrmLongTermPlng(@Nullable Boolean capacityIsExcldFrmLongTermPlng)
      Constraints: none

      Original property name from the Odata EDM: CapacityIsExcldFrmLongTermPlng

      Parameters:
      capacityIsExcldFrmLongTermPlng - Indicator: Capacity Excluded From Long-Term Planning
    • setCapacityNumberOfCapacities

      public void setCapacityNumberOfCapacities(@Nullable Short capacityNumberOfCapacities)
      Constraints: none

      Original property name from the Odata EDM: CapacityNumberOfCapacities

      Parameters:
      capacityNumberOfCapacities - Number of Individual Capacities
    • setCapacityResponsiblePlanner

      public void setCapacityResponsiblePlanner(@Nullable String capacityResponsiblePlanner)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityResponsiblePlanner

      Parameters:
      capacityResponsiblePlanner - Capacity Responsible Planner Group
    • setCapacityPlanUtilizationPercent

      public void setCapacityPlanUtilizationPercent(@Nullable String capacityPlanUtilizationPercent)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityPlanUtilizationPercent

      Parameters:
      capacityPlanUtilizationPercent - Capacity Utilization Ratio in Percent
    • setCapacityBreakDuration

      public void setCapacityBreakDuration(@Nullable Integer capacityBreakDuration)
      Constraints: none

      Original property name from the Odata EDM: CapacityBreakDuration

      Parameters:
      capacityBreakDuration - Cumulative Break Duration in Seconds (internal)
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setFactoryCalendar

      public void setFactoryCalendar(@Nullable String factoryCalendar)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FactoryCalendar

      Parameters:
      factoryCalendar - Factory Calendar ID
    • setAuthorizationGroup

      public void setAuthorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Parameters:
      authorizationGroup - Authorization Group
    • setShiftGroup

      public void setShiftGroup(@Nullable String shiftGroup)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShiftGroup

      Parameters:
      shiftGroup - Grouping for Shift Definitions and Shift Sequences
    • setCapacityStartTime

      public void setCapacityStartTime(@Nullable Integer capacityStartTime)
      Constraints: none

      Original property name from the Odata EDM: CapacityStartTime

      Parameters:
      capacityStartTime - Start time in seconds (internal)
    • setCapacityEndTime

      public void setCapacityEndTime(@Nullable Integer capacityEndTime)
      Constraints: none

      Original property name from the Odata EDM: CapacityEndTime

      Parameters:
      capacityEndTime - End Time in Seconds (internal)
    • setCapIsUsedInMultiOperations

      public void setCapIsUsedInMultiOperations(@Nullable Boolean capIsUsedInMultiOperations)
      Constraints: none

      Original property name from the Odata EDM: CapIsUsedInMultiOperations

      Parameters:
      capIsUsedInMultiOperations - Indicator: Several Operations Can Use Capacity
    • setReferencedCapacityInternalID

      public void setReferencedCapacityInternalID(@Nullable String referencedCapacityInternalID)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ReferencedCapacityInternalID

      Parameters:
      referencedCapacityInternalID - Referenced Capacity ID
    • setCapOverloadThresholdInPercent

      public void setCapOverloadThresholdInPercent(@Nullable String capOverloadThresholdInPercent)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapOverloadThresholdInPercent

      Parameters:
      capOverloadThresholdInPercent - Overload
    • setCapacityQuantityUnit

      public void setCapacityQuantityUnit(@Nullable String capacityQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityQuantityUnit

      Parameters:
      capacityQuantityUnit - Capacity Unit of Measure
    • setCapacityBaseQtyUnit

      public void setCapacityBaseQtyUnit(@Nullable String capacityBaseQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityBaseQtyUnit

      Parameters:
      capacityBaseQtyUnit - Capacity Base Unit of Measure
    • setCapacityLastChangeDateTime

      public void setCapacityLastChangeDateTime(@Nullable ZonedDateTime capacityLastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CapacityLastChangeDateTime

      Parameters:
      capacityLastChangeDateTime - Capacity Last Change Date Time
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<WorkCenterCapacity>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<WorkCenterCapacity>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<WorkCenterCapacity>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<WorkCenterCapacity>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<WorkCenterCapacity>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<WorkCenterCapacity>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<WorkCenterCapacity>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<WorkCenterCapacity>
    • fetchCapacityInterval

      @Nonnull public List<WorkCenterCapacityInterval_2> 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

      @Nonnull public List<WorkCenterCapacityInterval_2> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_CapacityInterval is already loaded, the result will contain the WorkCenterCapacityInterval_2 entities. If not, an Option with result state empty is returned.
    • setCapacityInterval

      public void setCapacityInterval(@Nonnull List<WorkCenterCapacityInterval_2> value)
      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

      public void addCapacityInterval(WorkCenterCapacityInterval_2... entity)
      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

      @Nonnull public List<WorkCenterCapacityText> 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

      @Nonnull public List<WorkCenterCapacityText> 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

      @Nonnull public io.vavr.control.Option<List<WorkCenterCapacityText>> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_CapacityText is already loaded, the result will contain the WorkCenterCapacityText entities. If not, an Option with result state empty is returned.
    • setCapacityText

      public void setCapacityText(@Nonnull List<WorkCenterCapacityText> value)
      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

      public void addCapacityText(WorkCenterCapacityText... entity)
      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

      @Nonnull public static WorkCenterCapacity.WorkCenterCapacityBuilder builder()
    • getCapacityInternalID

      @Nullable public String getCapacityInternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: CapacityInternalID

      Returns:
      Capacity ID
    • getCapacity

      @Nullable public String getCapacity()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: Capacity

      Returns:
      Capacity name
    • getCapacityCategoryCode

      @Nullable public String getCapacityCategoryCode()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityCategoryCode

      Returns:
      Capacity Category
    • getCapacityActiveVersion

      @Nullable public String getCapacityActiveVersion()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CapacityActiveVersion

      Returns:
      Active Version of Available Capacity
    • getCapacityIsFinite

      @Nullable public Boolean getCapacityIsFinite()
      Constraints: none

      Original property name from the Odata EDM: CapacityIsFinite

      Returns:
      Indicator: Capacity Relevant to Finite Scheduling
    • getCapacityIsPooled

      @Nullable public Boolean getCapacityIsPooled()
      Constraints: none

      Original property name from the Odata EDM: CapacityIsPooled

      Returns:
      Pooled Capacity Indicator
    • getCapacityHasIndivCapacities

      @Nullable public Boolean getCapacityHasIndivCapacities()
      Constraints: none

      Original property name from the Odata EDM: CapacityHasIndivCapacities

      Returns:
      Has Individual Capacities
    • getCapacityIsExcldFrmLongTermPlng

      @Nullable public Boolean getCapacityIsExcldFrmLongTermPlng()
      Constraints: none

      Original property name from the Odata EDM: CapacityIsExcldFrmLongTermPlng

      Returns:
      Indicator: Capacity Excluded From Long-Term Planning
    • getCapacityNumberOfCapacities

      @Nullable public Short getCapacityNumberOfCapacities()
      Constraints: none

      Original property name from the Odata EDM: CapacityNumberOfCapacities

      Returns:
      Number of Individual Capacities
    • getCapacityResponsiblePlanner

      @Nullable public String getCapacityResponsiblePlanner()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityResponsiblePlanner

      Returns:
      Capacity Responsible Planner Group
    • getCapacityPlanUtilizationPercent

      @Nullable public String getCapacityPlanUtilizationPercent()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityPlanUtilizationPercent

      Returns:
      Capacity Utilization Ratio in Percent
    • getCapacityBreakDuration

      @Nullable public Integer getCapacityBreakDuration()
      Constraints: none

      Original property name from the Odata EDM: CapacityBreakDuration

      Returns:
      Cumulative Break Duration in Seconds (internal)
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getFactoryCalendar

      @Nullable public String getFactoryCalendar()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FactoryCalendar

      Returns:
      Factory Calendar ID
    • getAuthorizationGroup

      @Nullable public String getAuthorizationGroup()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization Group
    • getShiftGroup

      @Nullable public String getShiftGroup()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShiftGroup

      Returns:
      Grouping for Shift Definitions and Shift Sequences
    • getCapacityStartTime

      @Nullable public Integer getCapacityStartTime()
      Constraints: none

      Original property name from the Odata EDM: CapacityStartTime

      Returns:
      Start time in seconds (internal)
    • getCapacityEndTime

      @Nullable public Integer getCapacityEndTime()
      Constraints: none

      Original property name from the Odata EDM: CapacityEndTime

      Returns:
      End Time in Seconds (internal)
    • getCapIsUsedInMultiOperations

      @Nullable public Boolean getCapIsUsedInMultiOperations()
      Constraints: none

      Original property name from the Odata EDM: CapIsUsedInMultiOperations

      Returns:
      Indicator: Several Operations Can Use Capacity
    • getReferencedCapacityInternalID

      @Nullable public String getReferencedCapacityInternalID()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ReferencedCapacityInternalID

      Returns:
      Referenced Capacity ID
    • getCapOverloadThresholdInPercent

      @Nullable public String getCapOverloadThresholdInPercent()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapOverloadThresholdInPercent

      Returns:
      Overload
    • getCapacityQuantityUnit

      @Nullable public String getCapacityQuantityUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityQuantityUnit

      Returns:
      Capacity Unit of Measure
    • getCapacityBaseQtyUnit

      @Nullable public String getCapacityBaseQtyUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CapacityBaseQtyUnit

      Returns:
      Capacity Base Unit of Measure
    • getCapacityLastChangeDateTime

      @Nullable public ZonedDateTime getCapacityLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CapacityLastChangeDateTime

      Returns:
      Capacity Last Change Date Time
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<WorkCenterCapacity>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<WorkCenterCapacity>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<WorkCenterCapacity>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<WorkCenterCapacity>