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

public class WorkCenterCapacityShift_2 extends VdmEntity<WorkCenterCapacityShift_2>
Capacity Shift Version 2

Original entity name from the Odata EDM: A_WorkCenterCapacityShift_2Type

  • Field Details

    • ALL_FIELDS

      public static final WorkCenterCapacityShift_2Selectable ALL_FIELDS
      Selector for all available fields of WorkCenterCapacityShift_2.
    • CAPACITY_INTERNAL_ID

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

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

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

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

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

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

      public static final WorkCenterCapacityShift_2Field<String> WORK_DAY_RULE
      Use with available fluent helpers to apply the WorkDayRule field to query operations.
    • SHIFT_DEFINITION

      public static final WorkCenterCapacityShift_2Field<String> SHIFT_DEFINITION
      Use with available fluent helpers to apply the ShiftDefinition field to query operations.
    • SHIFT_START_TIME

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

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

      public static final WorkCenterCapacityShift_2Field<LocalDateTime> SHIFT_DEF_VALIDITY_START_DATE
      Use with available fluent helpers to apply the ShiftDefValidityStartDate field to query operations.
    • SHIFT_DEF_VALIDITY_END_DATE

      public static final WorkCenterCapacityShift_2Field<LocalDateTime> SHIFT_DEF_VALIDITY_END_DATE
      Use with available fluent helpers to apply the ShiftDefValidityEndDate field to query operations.
    • CAPACITY_NUMBER_OF_CAPACITIES

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

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

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

      public static final WorkCenterCapacityShift_2Field<Integer> OPERATING_DURATION_IN_SECONDS
      Use with available fluent helpers to apply the OperatingDurationInSeconds field to query operations.
    • TOT_OPERATING_DURATION_IN_SECONDS

      public static final WorkCenterCapacityShift_2Field<Integer> TOT_OPERATING_DURATION_IN_SECONDS
      Use with available fluent helpers to apply the TotOperatingDurationInSeconds field to query operations.
    • CAPACITY_LAST_CHANGE_DATE_TIME

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

    • WorkCenterCapacityShift_2

      public WorkCenterCapacityShift_2()
    • WorkCenterCapacityShift_2

      public WorkCenterCapacityShift_2(@Nullable String capacityInternalID, @Nullable String capacityActiveVersion, @Nullable LocalDateTime intervalEndDate, @Nullable String weekDay, @Nullable String availableCapacityShift, @Nullable LocalDateTime intervalStartDate, @Nullable String workDayRule, @Nullable String shiftDefinition, @Nullable LocalTime shiftStartTime, @Nullable LocalTime shiftEndTime, @Nullable LocalDateTime shiftDefValidityStartDate, @Nullable LocalDateTime shiftDefValidityEndDate, @Nullable Short capacityNumberOfCapacities, @Nullable String capacityPlanUtilizationPercent, @Nullable Integer capacityBreakDuration, @Nullable Integer operatingDurationInSeconds, @Nullable Integer totOperatingDurationInSeconds, @Nullable ZonedDateTime capacityLastChangeDateTime)
  • Method Details

    • getType

      @Nonnull public Class<WorkCenterCapacityShift_2> getType()
      Specified by:
      getType in class VdmObject<WorkCenterCapacityShift_2>
    • 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 - Valid-to date
    • 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 - Week Day
    • 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 - Shift Number of an Available Capacity
    • setIntervalStartDate

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

      Original property name from the Odata EDM: IntervalStartDate

      Parameters:
      intervalStartDate - Valid-From Date
    • setWorkDayRule

      public void setWorkDayRule(@Nullable String workDayRule)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WorkDayRule

      Parameters:
      workDayRule - Workday Rule Code
    • setShiftDefinition

      public void setShiftDefinition(@Nullable String shiftDefinition)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ShiftDefinition

      Parameters:
      shiftDefinition - Shift Definition
    • setShiftStartTime

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

      Original property name from the Odata EDM: ShiftStartTime

      Parameters:
      shiftStartTime - Start Time
    • setShiftEndTime

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

      Original property name from the Odata EDM: ShiftEndTime

      Parameters:
      shiftEndTime - End Time
    • setShiftDefValidityStartDate

      public void setShiftDefValidityStartDate(@Nullable LocalDateTime shiftDefValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftDefValidityStartDate

      Parameters:
      shiftDefValidityStartDate - Start Date
    • setShiftDefValidityEndDate

      public void setShiftDefValidityEndDate(@Nullable LocalDateTime shiftDefValidityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ShiftDefValidityEndDate

      Parameters:
      shiftDefValidityEndDate - End Date
    • setCapacityNumberOfCapacities

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

      Original property name from the Odata EDM: CapacityNumberOfCapacities

      Parameters:
      capacityNumberOfCapacities - Number of Individual Capacities
    • 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)
    • setOperatingDurationInSeconds

      public void setOperatingDurationInSeconds(@Nullable Integer operatingDurationInSeconds)
      Constraints: none

      Original property name from the Odata EDM: OperatingDurationInSeconds

      Parameters:
      operatingDurationInSeconds - Operating Duration in Seconds
    • setTotOperatingDurationInSeconds

      public void setTotOperatingDurationInSeconds(@Nullable Integer totOperatingDurationInSeconds)
      Constraints: none

      Original property name from the Odata EDM: TotOperatingDurationInSeconds

      Parameters:
      totOperatingDurationInSeconds - Total Operating Duration In Seconds
    • 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<WorkCenterCapacityShift_2>
    • getKey

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

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

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

      @Nonnull public static <T> WorkCenterCapacityShift_2Field<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> WorkCenterCapacityShift_2Field<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_2>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<WorkCenterCapacityShift_2>
    • 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
    • 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:
      Valid-to date
    • getWeekDay

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

      Original property name from the Odata EDM: WeekDay

      Returns:
      Week Day
    • getAvailableCapacityShift

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

      Original property name from the Odata EDM: AvailableCapacityShift

      Returns:
      Shift Number of an Available Capacity
    • getIntervalStartDate

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

      Original property name from the Odata EDM: IntervalStartDate

      Returns:
      Valid-From Date
    • getWorkDayRule

      @Nullable public String getWorkDayRule()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WorkDayRule

      Returns:
      Workday Rule Code
    • getShiftDefinition

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

      Original property name from the Odata EDM: ShiftDefinition

      Returns:
      Shift Definition
    • getShiftStartTime

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

      Original property name from the Odata EDM: ShiftStartTime

      Returns:
      Start Time
    • getShiftEndTime

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

      Original property name from the Odata EDM: ShiftEndTime

      Returns:
      End Time
    • getShiftDefValidityStartDate

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

      Original property name from the Odata EDM: ShiftDefValidityStartDate

      Returns:
      Start Date
    • getShiftDefValidityEndDate

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

      Original property name from the Odata EDM: ShiftDefValidityEndDate

      Returns:
      End Date
    • getCapacityNumberOfCapacities

      @Nullable public Short getCapacityNumberOfCapacities()
      Constraints: none

      Original property name from the Odata EDM: CapacityNumberOfCapacities

      Returns:
      Number of Individual Capacities
    • 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)
    • getOperatingDurationInSeconds

      @Nullable public Integer getOperatingDurationInSeconds()
      Constraints: none

      Original property name from the Odata EDM: OperatingDurationInSeconds

      Returns:
      Operating Duration in Seconds
    • getTotOperatingDurationInSeconds

      @Nullable public Integer getTotOperatingDurationInSeconds()
      Constraints: none

      Original property name from the Odata EDM: TotOperatingDurationInSeconds

      Returns:
      Total Operating Duration In Seconds
    • 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<WorkCenterCapacityShift_2>
    • equals

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

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

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