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

public class TimeOverview extends VdmEntity<TimeOverview>
Daily Availability

Original entity name from the Odata EDM: TimeOverview

  • Field Details

    • ALL_FIELDS

      public static final TimeOverviewSelectable ALL_FIELDS
      Selector for all available fields of TimeOverview.
    • PERSONWORKAGREEMENTEXTERNALID

      public static final TimeOverviewField<String> PERSONWORKAGREEMENTEXTERNALID
      Use with available fluent helpers to apply the Personworkagreementexternalid field to query operations.
    • COMPANYCODE

      public static final TimeOverviewField<String> COMPANYCODE
      Use with available fluent helpers to apply the Companycode field to query operations.
    • PERSONWORKAGREEMENT

      public static final TimeOverviewField<String> PERSONWORKAGREEMENT
      Use with available fluent helpers to apply the Personworkagreement field to query operations.
    • CALENDARDATE

      public static final TimeOverviewField<LocalDateTime> CALENDARDATE
      Use with available fluent helpers to apply the Calendardate field to query operations.
    • PLANNEDWORKINGHOURS

      public static final TimeOverviewField<BigDecimal> PLANNEDWORKINGHOURS
      Use with available fluent helpers to apply the Plannedworkinghours field to query operations.
    • PLANNEDSTARTTIME

      public static final TimeOverviewField<LocalTime> PLANNEDSTARTTIME
      Use with available fluent helpers to apply the Plannedstarttime field to query operations.
    • PLANNEDENDTIME

      public static final TimeOverviewField<LocalTime> PLANNEDENDTIME
      Use with available fluent helpers to apply the Plannedendtime field to query operations.
    • PUBLICHOLIDAYCLASS

      public static final TimeOverviewField<String> PUBLICHOLIDAYCLASS
      Use with available fluent helpers to apply the Publicholidayclass field to query operations.
    • ISNONWORKINGDAY

      public static final TimeOverviewField<Boolean> ISNONWORKINGDAY
      Use with available fluent helpers to apply the Isnonworkingday field to query operations.
    • ABSENCEHOURS

      public static final TimeOverviewField<BigDecimal> ABSENCEHOURS
      Use with available fluent helpers to apply the Absencehours field to query operations.
    • ATTENDANCEHOURS

      public static final TimeOverviewField<BigDecimal> ATTENDANCEHOURS
      Use with available fluent helpers to apply the Attendancehours field to query operations.
    • OVERTIMEHOURS

      public static final TimeOverviewField<BigDecimal> OVERTIMEHOURS
      Use with available fluent helpers to apply the Overtimehours field to query operations.
  • Constructor Details

    • TimeOverview

      public TimeOverview()
    • TimeOverview

      public TimeOverview(@Nullable String personworkagreementexternalid, @Nullable String companycode, @Nullable String personworkagreement, @Nullable LocalDateTime calendardate, @Nullable BigDecimal plannedworkinghours, @Nullable LocalTime plannedstarttime, @Nullable LocalTime plannedendtime, @Nullable String publicholidayclass, @Nullable Boolean isnonworkingday, @Nullable BigDecimal absencehours, @Nullable BigDecimal attendancehours, @Nullable BigDecimal overtimehours)
  • Method Details

    • getType

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

      public void setPersonworkagreementexternalid(@Nullable String personworkagreementexternalid)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: Personworkagreementexternalid

      Parameters:
      personworkagreementexternalid - Work Agreement Ext ID
    • setCompanycode

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

      Original property name from the Odata EDM: Companycode

      Parameters:
      companycode - Company Code
    • setPersonworkagreement

      public void setPersonworkagreement(@Nullable String personworkagreement)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: Personworkagreement

      Parameters:
      personworkagreement - Person Work Agreement
    • setCalendardate

      public void setCalendardate(@Nullable LocalDateTime calendardate)
      (Key Field) Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: Calendardate

      Parameters:
      calendardate - Calendar Date
    • setPlannedworkinghours

      public void setPlannedworkinghours(@Nullable BigDecimal plannedworkinghours)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Plannedworkinghours

      Parameters:
      plannedworkinghours - Working hours
    • setPlannedstarttime

      public void setPlannedstarttime(@Nullable LocalTime plannedstarttime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: Plannedstarttime

      Parameters:
      plannedstarttime - Work Start
    • setPlannedendtime

      public void setPlannedendtime(@Nullable LocalTime plannedendtime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: Plannedendtime

      Parameters:
      plannedendtime - End of Work
    • setPublicholidayclass

      public void setPublicholidayclass(@Nullable String publicholidayclass)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: Publicholidayclass

      Parameters:
      publicholidayclass - Holiday class
    • setIsnonworkingday

      public void setIsnonworkingday(@Nullable Boolean isnonworkingday)
      Constraints: none

      Original property name from the Odata EDM: Isnonworkingday

      Parameters:
      isnonworkingday - Non working day
    • setAbsencehours

      public void setAbsencehours(@Nullable BigDecimal absencehours)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Absencehours

      Parameters:
      absencehours - Absence hours
    • setAttendancehours

      public void setAttendancehours(@Nullable BigDecimal attendancehours)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Attendancehours

      Parameters:
      attendancehours - Attendance hours
    • setOvertimehours

      public void setOvertimehours(@Nullable BigDecimal overtimehours)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Overtimehours

      Parameters:
      overtimehours - Overtime hours
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> TimeOverviewField<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> TimeOverviewField<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<TimeOverview>
    • setServicePathForFetch

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

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

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

      @Nonnull public static TimeOverview.TimeOverviewBuilder builder()
    • getPersonworkagreementexternalid

      @Nullable public String getPersonworkagreementexternalid()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: Personworkagreementexternalid

      Returns:
      Work Agreement Ext ID
    • getCompanycode

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

      Original property name from the Odata EDM: Companycode

      Returns:
      Company Code
    • getPersonworkagreement

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

      Original property name from the Odata EDM: Personworkagreement

      Returns:
      Person Work Agreement
    • getCalendardate

      @Nullable public LocalDateTime getCalendardate()
      (Key Field) Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: Calendardate

      Returns:
      Calendar Date
    • getPlannedworkinghours

      @Nullable public BigDecimal getPlannedworkinghours()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Plannedworkinghours

      Returns:
      Working hours
    • getPlannedstarttime

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

      Original property name from the Odata EDM: Plannedstarttime

      Returns:
      Work Start
    • getPlannedendtime

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

      Original property name from the Odata EDM: Plannedendtime

      Returns:
      End of Work
    • getPublicholidayclass

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

      Original property name from the Odata EDM: Publicholidayclass

      Returns:
      Holiday class
    • getIsnonworkingday

      @Nullable public Boolean getIsnonworkingday()
      Constraints: none

      Original property name from the Odata EDM: Isnonworkingday

      Returns:
      Non working day
    • getAbsencehours

      @Nullable public BigDecimal getAbsencehours()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Absencehours

      Returns:
      Absence hours
    • getAttendancehours

      @Nullable public BigDecimal getAttendancehours()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Attendancehours

      Returns:
      Attendance hours
    • getOvertimehours

      @Nullable public BigDecimal getOvertimehours()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: Overtimehours

      Returns:
      Overtime hours
    • toString

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

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

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

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