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

public class WorkCenterCapacityShift extends VdmEntity<WorkCenterCapacityShift>
Capacity Shift

Original entity name from the Odata EDM: A_WorkCenterCapacityShiftType

  • Field Details

    • ALL_FIELDS

      public static final WorkCenterCapacityShiftSelectable ALL_FIELDS
      Selector for all available fields of WorkCenterCapacityShift.
    • WORK_CENTER_INTERNAL_ID

      public static final WorkCenterCapacityShiftField<String> WORK_CENTER_INTERNAL_ID
      Use with available fluent helpers to apply the WorkCenterInternalID field to query operations.
    • WORK_CENTER_TYPE_CODE

      public static final WorkCenterCapacityShiftField<String> WORK_CENTER_TYPE_CODE
      Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
    • CAPACITY_CATEGORY_ALLOCATION

      public static final WorkCenterCapacityShiftField<String> CAPACITY_CATEGORY_ALLOCATION
      Use with available fluent helpers to apply the CapacityCategoryAllocation field to query operations.
    • CAPACITY_INTERNAL_ID

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

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

      public static final WorkCenterCapacityShiftField<LocalDateTime> INTERVAL_END_DATE
      Use with available fluent helpers to apply the IntervalEndDate field to query operations.
    • WEEK_DAY

      public static final WorkCenterCapacityShiftField<String> WEEK_DAY
      Use with available fluent helpers to apply the WeekDay field to query operations.
    • AVAILABLE_CAPACITY_SHIFT

      public static final WorkCenterCapacityShiftField<String> AVAILABLE_CAPACITY_SHIFT
      Use with available fluent helpers to apply the AvailableCapacityShift field to query operations.
    • WORK_CENTER

      public static final WorkCenterCapacityShiftField<String> WORK_CENTER
      Use with available fluent helpers to apply the WorkCenter field to query operations.
    • PLANT

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

      public static final WorkCenterCapacityShiftField<LocalDateTime> INTERVAL_START_DATE
      Use with available fluent helpers to apply the IntervalStartDate field to query operations.
    • SHIFT_NAME

      public static final WorkCenterCapacityShiftField<String> SHIFT_NAME
      Use with available fluent helpers to apply the ShiftName field to query operations.
    • SHIFT_DEF_VALIDITY_START

      public static final WorkCenterCapacityShiftField<LocalDateTime> SHIFT_DEF_VALIDITY_START
      Use with available fluent helpers to apply the ShiftDefValidityStart field to query operations.
    • SHIFT_DEF_VALIDITY_END

      public static final WorkCenterCapacityShiftField<LocalDateTime> SHIFT_DEF_VALIDITY_END
      Use with available fluent helpers to apply the ShiftDefValidityEnd field to query operations.
    • SHIFT_START_TIME

      public static final WorkCenterCapacityShiftField<LocalTime> SHIFT_START_TIME
      Use with available fluent helpers to apply the ShiftStartTime field to query operations.
    • SHIFT_END_TIME

      public static final WorkCenterCapacityShiftField<LocalTime> SHIFT_END_TIME
      Use with available fluent helpers to apply the ShiftEndTime field to query operations.
    • CAPACITY_BREAK_DURATION

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

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

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

      public static final WorkCenterCapacityShiftField<BigDecimal> TOT_OPERATING_DURATION_IN_HOURS
      Use with available fluent helpers to apply the TotOperatingDurationInHours field to query operations.
    • TOT_OPERATION_DURATION_UNIT

      public static final WorkCenterCapacityShiftField<String> TOT_OPERATION_DURATION_UNIT
      Use with available fluent helpers to apply the TotOperationDurationUnit field to query operations.
  • Constructor Details

    • WorkCenterCapacityShift

      public WorkCenterCapacityShift()
    • WorkCenterCapacityShift

      public WorkCenterCapacityShift(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String capacityCategoryAllocation, @Nullable String capacityInternalID, @Nullable String capacityActiveVersion, @Nullable LocalDateTime intervalEndDate, @Nullable String weekDay, @Nullable String availableCapacityShift, @Nullable String workCenter, @Nullable String plant, @Nullable LocalDateTime intervalStartDate, @Nullable String shiftName, @Nullable LocalDateTime shiftDefValidityStart, @Nullable LocalDateTime shiftDefValidityEnd, @Nullable LocalTime shiftStartTime, @Nullable LocalTime shiftEndTime, @Nullable Integer capacityBreakDuration, @Nullable String capacityPlanUtilizationPercent, @Nullable Short capacityNumberOfCapacities, @Nullable BigDecimal totOperatingDurationInHours, @Nullable String totOperationDurationUnit)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: WorkCenterInternalID

      Parameters:
      workCenterInternalID - Object ID of the resource
    • setWorkCenterTypeCode

      public void setWorkCenterTypeCode(@Nullable String workCenterTypeCode)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: WorkCenterTypeCode

      Parameters:
      workCenterTypeCode - Object types of the CIM resource
    • setCapacityCategoryAllocation

      public void setCapacityCategoryAllocation(@Nullable String capacityCategoryAllocation)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CapacityCategoryAllocation

      Parameters:
      capacityCategoryAllocation - Capacity allocation number
    • 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
    • setCapacityActiveVersion

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

      Original property name from the Odata EDM: CapacityActiveVersion

      Parameters:
      capacityActiveVersion - The capacityActiveVersion to set.
    • setIntervalEndDate

      public void setIntervalEndDate(@Nullable LocalDateTime intervalEndDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: IntervalEndDate

      Parameters:
      intervalEndDate - The intervalEndDate to set.
    • setWeekDay

      public void setWeekDay(@Nullable String weekDay)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WeekDay

      Parameters:
      weekDay - The weekDay to set.
    • setAvailableCapacityShift

      public void setAvailableCapacityShift(@Nullable String availableCapacityShift)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: AvailableCapacityShift

      Parameters:
      availableCapacityShift - The availableCapacityShift to set.
    • setWorkCenter

      public void setWorkCenter(@Nullable String workCenter)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenter

      Parameters:
      workCenter - Work Center
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setIntervalStartDate

      public void setIntervalStartDate(@Nullable LocalDateTime intervalStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: IntervalStartDate

      Parameters:
      intervalStartDate - The intervalStartDate to set.
    • setShiftName

      public void setShiftName(@Nullable String shiftName)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ShiftName

      Parameters:
      shiftName - The shiftName to set.
    • setShiftDefValidityStart

      public void setShiftDefValidityStart(@Nullable LocalDateTime shiftDefValidityStart)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftDefValidityStart

      Parameters:
      shiftDefValidityStart - The shiftDefValidityStart to set.
    • setShiftDefValidityEnd

      public void setShiftDefValidityEnd(@Nullable LocalDateTime shiftDefValidityEnd)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftDefValidityEnd

      Parameters:
      shiftDefValidityEnd - The shiftDefValidityEnd to set.
    • setShiftStartTime

      public void setShiftStartTime(@Nullable LocalTime shiftStartTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftStartTime

      Parameters:
      shiftStartTime - The shiftStartTime to set.
    • setShiftEndTime

      public void setShiftEndTime(@Nullable LocalTime shiftEndTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftEndTime

      Parameters:
      shiftEndTime - The shiftEndTime to set.
    • setCapacityBreakDuration

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

      Original property name from the Odata EDM: CapacityBreakDuration

      Parameters:
      capacityBreakDuration - The capacityBreakDuration to set.
    • setCapacityPlanUtilizationPercent

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

      Original property name from the Odata EDM: CapacityPlanUtilizationPercent

      Parameters:
      capacityPlanUtilizationPercent - The capacityPlanUtilizationPercent to set.
    • setCapacityNumberOfCapacities

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

      Original property name from the Odata EDM: CapacityNumberOfCapacities

      Parameters:
      capacityNumberOfCapacities - The capacityNumberOfCapacities to set.
    • setTotOperatingDurationInHours

      public void setTotOperatingDurationInHours(@Nullable BigDecimal totOperatingDurationInHours)
      Constraints: Not nullable, Precision: 17, Scale: 3

      Original property name from the Odata EDM: TotOperatingDurationInHours

      Parameters:
      totOperatingDurationInHours - Decimal 17_3
    • setTotOperationDurationUnit

      public void setTotOperationDurationUnit(@Nullable String totOperationDurationUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TotOperationDurationUnit

      Parameters:
      totOperationDurationUnit - Base Unit of Measure
    • getEntityCollection

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

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

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

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<WorkCenterCapacityShift>
    • field

      @Nonnull public static <T> WorkCenterCapacityShiftField<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> WorkCenterCapacityShiftField<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<WorkCenterCapacityShift>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<WorkCenterCapacityShift>
    • builder

    • getWorkCenterInternalID

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

      Original property name from the Odata EDM: WorkCenterInternalID

      Returns:
      Object ID of the resource
    • getWorkCenterTypeCode

      @Nullable public String getWorkCenterTypeCode()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: WorkCenterTypeCode

      Returns:
      Object types of the CIM resource
    • getCapacityCategoryAllocation

      @Nullable public String getCapacityCategoryAllocation()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CapacityCategoryAllocation

      Returns:
      Capacity allocation number
    • getCapacityInternalID

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

      Original property name from the Odata EDM: CapacityInternalID

      Returns:
      Capacity ID
    • getCapacityActiveVersion

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

      Original property name from the Odata EDM: CapacityActiveVersion

      Returns:
      The capacityActiveVersion contained in this entity.
    • getIntervalEndDate

      @Nullable public LocalDateTime getIntervalEndDate()
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: IntervalEndDate

      Returns:
      The intervalEndDate contained in this entity.
    • getWeekDay

      @Nullable public String getWeekDay()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WeekDay

      Returns:
      The weekDay contained in this entity.
    • getAvailableCapacityShift

      @Nullable public String getAvailableCapacityShift()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: AvailableCapacityShift

      Returns:
      The availableCapacityShift contained in this entity.
    • getWorkCenter

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

      Original property name from the Odata EDM: WorkCenter

      Returns:
      Work Center
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getIntervalStartDate

      @Nullable public LocalDateTime getIntervalStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: IntervalStartDate

      Returns:
      The intervalStartDate contained in this entity.
    • getShiftName

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

      Original property name from the Odata EDM: ShiftName

      Returns:
      The shiftName contained in this entity.
    • getShiftDefValidityStart

      @Nullable public LocalDateTime getShiftDefValidityStart()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftDefValidityStart

      Returns:
      The shiftDefValidityStart contained in this entity.
    • getShiftDefValidityEnd

      @Nullable public LocalDateTime getShiftDefValidityEnd()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftDefValidityEnd

      Returns:
      The shiftDefValidityEnd contained in this entity.
    • getShiftStartTime

      @Nullable public LocalTime getShiftStartTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftStartTime

      Returns:
      The shiftStartTime contained in this entity.
    • getShiftEndTime

      @Nullable public LocalTime getShiftEndTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftEndTime

      Returns:
      The shiftEndTime contained in this entity.
    • getCapacityBreakDuration

      @Nullable public Integer getCapacityBreakDuration()
      Constraints: none

      Original property name from the Odata EDM: CapacityBreakDuration

      Returns:
      The capacityBreakDuration contained in this entity.
    • getCapacityPlanUtilizationPercent

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

      Original property name from the Odata EDM: CapacityPlanUtilizationPercent

      Returns:
      The capacityPlanUtilizationPercent contained in this entity.
    • getCapacityNumberOfCapacities

      @Nullable public Short getCapacityNumberOfCapacities()
      Constraints: none

      Original property name from the Odata EDM: CapacityNumberOfCapacities

      Returns:
      The capacityNumberOfCapacities contained in this entity.
    • getTotOperatingDurationInHours

      @Nullable public BigDecimal getTotOperatingDurationInHours()
      Constraints: Not nullable, Precision: 17, Scale: 3

      Original property name from the Odata EDM: TotOperatingDurationInHours

      Returns:
      Decimal 17_3
    • getTotOperationDurationUnit

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

      Original property name from the Odata EDM: TotOperationDurationUnit

      Returns:
      Base Unit of Measure
    • toString

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

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

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

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