Class TimeSheetEntry
Original entity name from the Odata EDM: TimeSheetEntry
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimeSheetEntrySelectableSelector for all available fields of TimeSheetEntry.static final TimeSheetEntryField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final TimeSheetEntryField<String>Use with available fluent helpers to apply the PersonWorkAgreement field to query operations.static final TimeSheetEntryField<String>Use with available fluent helpers to apply the PersonWorkAgreementExternalID field to query operations.static final TimeSheetEntryField<LocalDateTime>Use with available fluent helpers to apply the TimeSheetDate field to query operations.static final TimeSheetEntryField<Boolean>Use with available fluent helpers to apply the TimeSheetIsExecutedInTestRun field to query operations.static final TimeSheetEntryField<Boolean>Use with available fluent helpers to apply the TimeSheetIsReleasedOnSave field to query operations.static final TimeSheetEntryField<String>Use with available fluent helpers to apply the TimeSheetOperation field to query operations.static final TimeSheetEntryField<String>Use with available fluent helpers to apply the TimeSheetPredecessorRecord field to query operations.static final TimeSheetEntryField<String>Use with available fluent helpers to apply the TimeSheetRecord field to query operations.static final TimeSheetEntryField<String>Use with available fluent helpers to apply the TimeSheetStatus field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionTimeSheetEntry(TimeSheetDataFields timeSheetDataFields, String personWorkAgreementExternalID, String companyCode, String timeSheetRecord, String personWorkAgreement, LocalDateTime timeSheetDate, Boolean timeSheetIsReleasedOnSave, String timeSheetPredecessorRecord, String timeSheetStatus, Boolean timeSheetIsExecutedInTestRun, String timeSheetOperation) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
TimeSheetEntryField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> TimeSheetEntryField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 4protected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: Not nullableConstraints: Not nullable, Precision: 0Constraints: noneConstraints: noneConstraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetPersonWorkAgreement(String personWorkAgreement) Constraints: Not nullable, Maximum length: 8voidsetPersonWorkAgreementExternalID(String personWorkAgreementExternalID) (Key Field) Constraints: Not nullable, Maximum length: 20protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTimeSheetDataFields(TimeSheetDataFields timeSheetDataFields) Constraints: Not nullablevoidsetTimeSheetDate(LocalDateTime timeSheetDate) Constraints: Not nullable, Precision: 0voidsetTimeSheetIsExecutedInTestRun(Boolean timeSheetIsExecutedInTestRun) Constraints: nonevoidsetTimeSheetIsReleasedOnSave(Boolean timeSheetIsReleasedOnSave) Constraints: nonevoidsetTimeSheetOperation(String timeSheetOperation) Constraints: Not nullable, Maximum length: 1voidsetTimeSheetPredecessorRecord(String timeSheetPredecessorRecord) Constraints: Not nullable, Maximum length: 12voidsetTimeSheetRecord(String timeSheetRecord) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetTimeSheetStatus(String timeSheetStatus) Constraints: Not nullable, Maximum length: 2toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of TimeSheetEntry. -
PERSON_WORK_AGREEMENT_EXTERNAL_ID
Use with available fluent helpers to apply the PersonWorkAgreementExternalID field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
TIME_SHEET_RECORD
Use with available fluent helpers to apply the TimeSheetRecord field to query operations. -
PERSON_WORK_AGREEMENT
Use with available fluent helpers to apply the PersonWorkAgreement field to query operations. -
TIME_SHEET_DATE
Use with available fluent helpers to apply the TimeSheetDate field to query operations. -
TIME_SHEET_IS_RELEASED_ON_SAVE
Use with available fluent helpers to apply the TimeSheetIsReleasedOnSave field to query operations. -
TIME_SHEET_PREDECESSOR_RECORD
Use with available fluent helpers to apply the TimeSheetPredecessorRecord field to query operations. -
TIME_SHEET_STATUS
Use with available fluent helpers to apply the TimeSheetStatus field to query operations. -
TIME_SHEET_IS_EXECUTED_IN_TEST_RUN
Use with available fluent helpers to apply the TimeSheetIsExecutedInTestRun field to query operations. -
TIME_SHEET_OPERATION
Use with available fluent helpers to apply the TimeSheetOperation field to query operations.
-
-
Constructor Details
-
TimeSheetEntry
public TimeSheetEntry() -
TimeSheetEntry
public TimeSheetEntry(@Nullable TimeSheetDataFields timeSheetDataFields, @Nullable String personWorkAgreementExternalID, @Nullable String companyCode, @Nullable String timeSheetRecord, @Nullable String personWorkAgreement, @Nullable LocalDateTime timeSheetDate, @Nullable Boolean timeSheetIsReleasedOnSave, @Nullable String timeSheetPredecessorRecord, @Nullable String timeSheetStatus, @Nullable Boolean timeSheetIsExecutedInTestRun, @Nullable String timeSheetOperation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TimeSheetEntry>
-
setTimeSheetDataFields
Constraints: Not nullableOriginal property name from the Odata EDM: TimeSheetDataFields
- Parameters:
timeSheetDataFields- The timeSheetDataFields to set.
-
setPersonWorkAgreementExternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: PersonWorkAgreementExternalID
- Parameters:
personWorkAgreementExternalID- Person Work Agreement External ID
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setTimeSheetRecord
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TimeSheetRecord
- Parameters:
timeSheetRecord- Time Sheet Record
-
setPersonWorkAgreement
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonWorkAgreement
- Parameters:
personWorkAgreement- Person Work Agreement
-
setTimeSheetDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: TimeSheetDate
- Parameters:
timeSheetDate- Time Sheet Date
-
setTimeSheetIsReleasedOnSave
Constraints: noneOriginal property name from the Odata EDM: TimeSheetIsReleasedOnSave
- Parameters:
timeSheetIsReleasedOnSave- Time sheet Is Released On Save
-
setTimeSheetPredecessorRecord
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TimeSheetPredecessorRecord
- Parameters:
timeSheetPredecessorRecord- Time Sheet Predecessor Record
-
setTimeSheetStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TimeSheetStatus
- Parameters:
timeSheetStatus- Time Sheet Status
-
setTimeSheetIsExecutedInTestRun
Constraints: noneOriginal property name from the Odata EDM: TimeSheetIsExecutedInTestRun
- Parameters:
timeSheetIsExecutedInTestRun- Times Sheet Is Executed In Test Run
-
setTimeSheetOperation
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TimeSheetOperation
- Parameters:
timeSheetOperation- Time Sheet Operation
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TimeSheetEntry>
-
getKey
- Overrides:
getKeyin classVdmObject<TimeSheetEntry>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TimeSheetEntry>
-
fromMap
- Overrides:
fromMapin classVdmObject<TimeSheetEntry>
-
field
@Nonnull public static <T> TimeSheetEntryField<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> TimeSheetEntryField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<TimeSheetEntry>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<TimeSheetEntry>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<TimeSheetEntry>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TimeSheetEntry>
-
builder
-
getTimeSheetDataFields
Constraints: Not nullableOriginal property name from the Odata EDM: TimeSheetDataFields
- Returns:
- The timeSheetDataFields contained in this entity.
-
getPersonWorkAgreementExternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: PersonWorkAgreementExternalID
- Returns:
- Person Work Agreement External ID
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getTimeSheetRecord
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TimeSheetRecord
- Returns:
- Time Sheet Record
-
getPersonWorkAgreement
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonWorkAgreement
- Returns:
- Person Work Agreement
-
getTimeSheetDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: TimeSheetDate
- Returns:
- Time Sheet Date
-
getTimeSheetIsReleasedOnSave
Constraints: noneOriginal property name from the Odata EDM: TimeSheetIsReleasedOnSave
- Returns:
- Time sheet Is Released On Save
-
getTimeSheetPredecessorRecord
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: TimeSheetPredecessorRecord
- Returns:
- Time Sheet Predecessor Record
-
getTimeSheetStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TimeSheetStatus
- Returns:
- Time Sheet Status
-
getTimeSheetIsExecutedInTestRun
Constraints: noneOriginal property name from the Odata EDM: TimeSheetIsExecutedInTestRun
- Returns:
- Times Sheet Is Executed In Test Run
-
getTimeSheetOperation
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: TimeSheetOperation
- Returns:
- Time Sheet Operation
-
toString
- Overrides:
toStringin classVdmObject<TimeSheetEntry>
-
equals
- Overrides:
equalsin classVdmEntity<TimeSheetEntry>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TimeSheetEntry>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TimeSheetEntry>
-