public class TimeOverview extends VdmEntity<TimeOverview>
Original entity name from the Odata EDM: TimeOverview
Modifier and Type | Class and Description |
---|---|
static class |
TimeOverview.TimeOverviewBuilder |
Modifier and Type | Field and Description |
---|---|
static TimeOverviewField<BigDecimal> |
ABSENCEHOURS
Use with available fluent helpers to apply the Absencehours field to query operations.
|
static TimeOverviewSelectable |
ALL_FIELDS
Selector for all available fields of TimeOverview.
|
static TimeOverviewField<BigDecimal> |
ATTENDANCEHOURS
Use with available fluent helpers to apply the Attendancehours field to query operations.
|
static TimeOverviewField<LocalDateTime> |
CALENDARDATE
Use with available fluent helpers to apply the Calendardate field to query operations.
|
static TimeOverviewField<String> |
COMPANYCODE
Use with available fluent helpers to apply the Companycode field to query operations.
|
static TimeOverviewField<Boolean> |
ISNONWORKINGDAY
Use with available fluent helpers to apply the Isnonworkingday field to query operations.
|
static TimeOverviewField<BigDecimal> |
OVERTIMEHOURS
Use with available fluent helpers to apply the Overtimehours field to query operations.
|
static TimeOverviewField<String> |
PERSONWORKAGREEMENT
Use with available fluent helpers to apply the Personworkagreement field to query operations.
|
static TimeOverviewField<String> |
PERSONWORKAGREEMENTEXTERNALID
Use with available fluent helpers to apply the Personworkagreementexternalid field to query operations.
|
static TimeOverviewField<LocalTime> |
PLANNEDENDTIME
Use with available fluent helpers to apply the Plannedendtime field to query operations.
|
static TimeOverviewField<LocalTime> |
PLANNEDSTARTTIME
Use with available fluent helpers to apply the Plannedstarttime field to query operations.
|
static TimeOverviewField<BigDecimal> |
PLANNEDWORKINGHOURS
Use with available fluent helpers to apply the Plannedworkinghours field to query operations.
|
static TimeOverviewField<String> |
PUBLICHOLIDAYCLASS
Use with available fluent helpers to apply the Publicholidayclass field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
TimeOverview() |
TimeOverview(String personworkagreementexternalid,
String companycode,
String personworkagreement,
LocalDateTime calendardate,
BigDecimal plannedworkinghours,
LocalTime plannedstarttime,
LocalTime plannedendtime,
String publicholidayclass,
Boolean isnonworkingday,
BigDecimal absencehours,
BigDecimal attendancehours,
BigDecimal overtimehours) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static TimeOverview.TimeOverviewBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> TimeOverviewField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
BigDecimal |
getAbsencehours()
Constraints: Not nullable, Precision: 5, Scale: 2
|
BigDecimal |
getAttendancehours()
Constraints: Not nullable, Precision: 5, Scale: 2
|
LocalDateTime |
getCalendardate()
(Key Field) Constraints: Not nullable, Precision: 7
|
String |
getCompanycode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Boolean |
getIsnonworkingday()
Constraints: none
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getOvertimehours()
Constraints: Not nullable, Precision: 5, Scale: 2
|
String |
getPersonworkagreement()
Constraints: Not nullable, Maximum length: 8
|
String |
getPersonworkagreementexternalid()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
LocalTime |
getPlannedendtime()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getPlannedstarttime()
Constraints: Not nullable, Precision: 0
|
BigDecimal |
getPlannedworkinghours()
Constraints: Not nullable, Precision: 5, Scale: 2
|
String |
getPublicholidayclass()
Constraints: Not nullable, Maximum length: 1
|
Class<TimeOverview> |
getType() |
int |
hashCode() |
void |
setAbsencehours(BigDecimal absencehours)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setAttendancehours(BigDecimal attendancehours)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setCalendardate(LocalDateTime calendardate)
(Key Field) Constraints: Not nullable, Precision: 7
|
void |
setCompanycode(String companycode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setIsnonworkingday(Boolean isnonworkingday)
Constraints: none
|
void |
setOvertimehours(BigDecimal overtimehours)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setPersonworkagreement(String personworkagreement)
Constraints: Not nullable, Maximum length: 8
|
void |
setPersonworkagreementexternalid(String personworkagreementexternalid)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setPlannedendtime(LocalTime plannedendtime)
Constraints: Not nullable, Precision: 0
|
void |
setPlannedstarttime(LocalTime plannedstarttime)
Constraints: Not nullable, Precision: 0
|
void |
setPlannedworkinghours(BigDecimal plannedworkinghours)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setPublicholidayclass(String publicholidayclass)
Constraints: Not nullable, Maximum length: 1
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final TimeOverviewSelectable ALL_FIELDS
public static final TimeOverviewField<String> PERSONWORKAGREEMENTEXTERNALID
public static final TimeOverviewField<String> COMPANYCODE
public static final TimeOverviewField<String> PERSONWORKAGREEMENT
public static final TimeOverviewField<LocalDateTime> CALENDARDATE
public static final TimeOverviewField<BigDecimal> PLANNEDWORKINGHOURS
public static final TimeOverviewField<LocalTime> PLANNEDSTARTTIME
public static final TimeOverviewField<LocalTime> PLANNEDENDTIME
public static final TimeOverviewField<String> PUBLICHOLIDAYCLASS
public static final TimeOverviewField<Boolean> ISNONWORKINGDAY
public static final TimeOverviewField<BigDecimal> ABSENCEHOURS
public static final TimeOverviewField<BigDecimal> ATTENDANCEHOURS
public static final TimeOverviewField<BigDecimal> OVERTIMEHOURS
public 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)
@Nonnull public Class<TimeOverview> getType()
getType
in class VdmObject<TimeOverview>
public void setPersonworkagreementexternalid(@Nullable String personworkagreementexternalid)
Original property name from the Odata EDM: Personworkagreementexternalid
personworkagreementexternalid
- Work Agreement External IDpublic void setCompanycode(@Nullable String companycode)
Original property name from the Odata EDM: Companycode
companycode
- The company code is an organizational unit within financial accounting.public void setPersonworkagreement(@Nullable String personworkagreement)
Original property name from the Odata EDM: Personworkagreement
When you work with infotype records, this field allows you to use the Fast entry feature. Fast entry enables you to create numerous infotype records without having to exit and re-enter the infotype window.To select the object that the infotype record should belong to, either:Enter the object's eight-digit codeUse the matchcode feature to search for the object
personworkagreement
- Contains a unique eight-digit numerical code, that represents a specific object (for example, an
organizational unit, qualification or business event).public void setCalendardate(@Nullable LocalDateTime calendardate)
Original property name from the Odata EDM: Calendardate
calendardate
- This field contains the date on which the corresponding data record is valid.public void setPlannedworkinghours(@Nullable BigDecimal plannedworkinghours)
Original property name from the Odata EDM: Plannedworkinghours
plannedworkinghours
- The entire number of an employee's working hours on a given calendar day. The number of actual hours
worked can differ from the hours entered here, however.public void setPlannedstarttime(@Nullable LocalTime plannedstarttime)
Original property name from the Odata EDM: Plannedstarttime
plannedstarttime
- The starting time of an employee's regular working time on a given calendar day. The actual starting
time can differ from the time entered here, however.public void setPlannedendtime(@Nullable LocalTime plannedendtime)
Original property name from the Odata EDM: Plannedendtime
plannedendtime
- The end time of an employee's regular working time on any given calendar day. The actual end of
working time can differ from the time entered here, however.public void setPublicholidayclass(@Nullable String publicholidayclass)
Original property name from the Odata EDM: Publicholidayclass
Holiday classes are only used in Human Resources Management. They can be used to determine the time wage type selection, the daily work schedule variants, the absence counting, etc. for groups of holidays and normal days.The entry of a holiday class is optional.You can enter a holiday class according to the rules defined in HR.
publicholidayclass
- The holiday class specifies the holiday type (optional).public void setIsnonworkingday(@Nullable Boolean isnonworkingday)
Original property name from the Odata EDM: Isnonworkingday
Calendar day is a weekend day,Calendar day is a public holiday,Calendar day is defined in the employee's shift plan as a non-working shift (day off).
isnonworkingday
- This indicator is activated if an employee does not have to work on a given calendar day, for one of
the following reasons:public void setAbsencehours(@Nullable BigDecimal absencehours)
Original property name from the Odata EDM: Absencehours
absencehours
- The total of all employee absence hours on a given calendar day. If an external application is
entered, then only the absence hours that do not come from this external application are totalled.public void setAttendancehours(@Nullable BigDecimal attendancehours)
Original property name from the Odata EDM: Attendancehours
attendancehours
- The total of all employee attendance hours on a given calendar day. If an external application is
entered, then only the attendance hours that do not come from this external application are totalled.public void setOvertimehours(@Nullable BigDecimal overtimehours)
Original property name from the Odata EDM: Overtimehours
overtimehours
- An employee's total hours on a given calendar day that have be entered as special overtime.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<TimeOverview>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<TimeOverview>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<TimeOverview>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<TimeOverview>
@Nonnull public static <T> TimeOverviewField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> TimeOverviewField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<TimeOverview>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<TimeOverview>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<TimeOverview>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<TimeOverview>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<TimeOverview>
public static TimeOverview.TimeOverviewBuilder builder()
@Nullable public String getPersonworkagreementexternalid()
Original property name from the Odata EDM: Personworkagreementexternalid
@Nullable public String getCompanycode()
Original property name from the Odata EDM: Companycode
@Nullable public String getPersonworkagreement()
Original property name from the Odata EDM: Personworkagreement
When you work with infotype records, this field allows you to use the Fast entry feature. Fast entry enables you to create numerous infotype records without having to exit and re-enter the infotype window.To select the object that the infotype record should belong to, either:Enter the object's eight-digit codeUse the matchcode feature to search for the object
@Nullable public LocalDateTime getCalendardate()
Original property name from the Odata EDM: Calendardate
@Nullable public BigDecimal getPlannedworkinghours()
Original property name from the Odata EDM: Plannedworkinghours
@Nullable public LocalTime getPlannedstarttime()
Original property name from the Odata EDM: Plannedstarttime
@Nullable public LocalTime getPlannedendtime()
Original property name from the Odata EDM: Plannedendtime
@Nullable public String getPublicholidayclass()
Original property name from the Odata EDM: Publicholidayclass
Holiday classes are only used in Human Resources Management. They can be used to determine the time wage type selection, the daily work schedule variants, the absence counting, etc. for groups of holidays and normal days.The entry of a holiday class is optional.You can enter a holiday class according to the rules defined in HR.
@Nullable public Boolean getIsnonworkingday()
Original property name from the Odata EDM: Isnonworkingday
Calendar day is a weekend day,Calendar day is a public holiday,Calendar day is defined in the employee's shift plan as a non-working shift (day off).
@Nullable public BigDecimal getAbsencehours()
Original property name from the Odata EDM: Absencehours
@Nullable public BigDecimal getAttendancehours()
Original property name from the Odata EDM: Attendancehours
@Nullable public BigDecimal getOvertimehours()
Original property name from the Odata EDM: Overtimehours
public String toString()
toString
in class VdmObject<TimeOverview>
public boolean equals(Object o)
equals
in class VdmObject<TimeOverview>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<TimeOverview>
public int hashCode()
hashCode
in class VdmObject<TimeOverview>
Copyright © 2019 SAP SE. All rights reserved.