Class ServiceCostRate
Original entity name from the Odata EDM: A_ServiceCostRateType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceCostRateField<UUID>Use with available fluent helpers to apply the AccountingCostRateUUID field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the ActivityType field to query operations.static final ServiceCostRateSelectableSelector for all available fields of ServiceCostRate.static final ServiceCostRateField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the CostCenter field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations.static final ServiceCostRateField<Boolean>Use with available fluent helpers to apply the CostRateIsOverwriteMode field to query operations.static final ServiceCostRateField<BigDecimal>Use with available fluent helpers to apply the CostRateScaleFactor field to query operations.static final ServiceCostRateField<BigDecimal>Use with available fluent helpers to apply the CostRateVarblAmount field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the Currency field to query operations.static final ServiceCostRateField<Boolean>Use with available fluent helpers to apply the IsIntercompanyRate field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the Ledger field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the PersonnelNumber field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the ReceivingCompanyCode field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the ServiceCostLevel field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the TimeSheetOvertimeCategory field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the ValidityEndFiscalYearPeriod field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the ValidityStartFiscalYearPeriod field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the WBSElementExternalID field to query operations.static final ServiceCostRateField<String>Use with available fluent helpers to apply the WorkItem field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionServiceCostRate(UUID accountingCostRateUUID, String companyCode, String receivingCompanyCode, Boolean isIntercompanyRate, String costCenter, String timeSheetOvertimeCategory, String activityType, String serviceCostLevel, String personnelNumber, String workItem, String wBSElementExternalID, String validityStartFiscalYearPeriod, String validityEndFiscalYearPeriod, String currency, BigDecimal costRateVarblAmount, BigDecimal costRateScaleFactor, String costCtrActivityTypeQtyUnit, String ledger, Boolean costRateIsOverwriteMode) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ServiceCostRateField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ServiceCostRateField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 3Constraints: noneConstraints: Not nullable, Precision: 5, Scale: 0Constraints: Not nullable, Precision: 24, Scale: 3Constraints: Not nullable, Maximum length: 5protected Stringprotected StringConstraints: nonegetKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Maximum length: 7Constraints: Not nullable, Maximum length: 7Constraints: Not nullable, Maximum length: 24Constraints: Not nullable, Maximum length: 10inthashCode()voidsetAccountingCostRateUUID(UUID accountingCostRateUUID) (Key Field) Constraints: Not nullablevoidsetActivityType(String activityType) Constraints: Not nullable, Maximum length: 6voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetCostCenter(String costCenter) Constraints: Not nullable, Maximum length: 10voidsetCostCtrActivityTypeQtyUnit(String costCtrActivityTypeQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetCostRateIsOverwriteMode(Boolean costRateIsOverwriteMode) Constraints: nonevoidsetCostRateScaleFactor(BigDecimal costRateScaleFactor) Constraints: Not nullable, Precision: 5, Scale: 0voidsetCostRateVarblAmount(BigDecimal costRateVarblAmount) Constraints: Not nullable, Precision: 24, Scale: 3voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetIsIntercompanyRate(Boolean isIntercompanyRate) Constraints: nonevoidConstraints: Not nullable, Maximum length: 2voidsetPersonnelNumber(String personnelNumber) Constraints: Not nullable, Maximum length: 8voidsetReceivingCompanyCode(String receivingCompanyCode) Constraints: Not nullable, Maximum length: 4voidsetServiceCostLevel(String serviceCostLevel) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTimeSheetOvertimeCategory(String timeSheetOvertimeCategory) Constraints: Not nullable, Maximum length: 4voidsetValidityEndFiscalYearPeriod(String validityEndFiscalYearPeriod) Constraints: Not nullable, Maximum length: 7voidsetValidityStartFiscalYearPeriod(String validityStartFiscalYearPeriod) Constraints: Not nullable, Maximum length: 7voidsetWBSElementExternalID(String wBSElementExternalID) Constraints: Not nullable, Maximum length: 24voidsetWorkItem(String workItem) Constraints: Not nullable, Maximum length: 10toString()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 ServiceCostRate. -
ACCOUNTING_COST_RATE_UUID
Use with available fluent helpers to apply the AccountingCostRateUUID field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
RECEIVING_COMPANY_CODE
Use with available fluent helpers to apply the ReceivingCompanyCode field to query operations. -
IS_INTERCOMPANY_RATE
Use with available fluent helpers to apply the IsIntercompanyRate field to query operations. -
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations. -
TIME_SHEET_OVERTIME_CATEGORY
Use with available fluent helpers to apply the TimeSheetOvertimeCategory field to query operations. -
ACTIVITY_TYPE
Use with available fluent helpers to apply the ActivityType field to query operations. -
SERVICE_COST_LEVEL
Use with available fluent helpers to apply the ServiceCostLevel field to query operations. -
PERSONNEL_NUMBER
Use with available fluent helpers to apply the PersonnelNumber field to query operations. -
WORK_ITEM
Use with available fluent helpers to apply the WorkItem field to query operations. -
WBS_ELEMENT_EXTERNAL_ID
Use with available fluent helpers to apply the WBSElementExternalID field to query operations. -
VALIDITY_START_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the ValidityStartFiscalYearPeriod field to query operations. -
VALIDITY_END_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the ValidityEndFiscalYearPeriod field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
COST_RATE_VARBL_AMOUNT
Use with available fluent helpers to apply the CostRateVarblAmount field to query operations. -
COST_RATE_SCALE_FACTOR
Use with available fluent helpers to apply the CostRateScaleFactor field to query operations. -
COST_CTR_ACTIVITY_TYPE_QTY_UNIT
Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations. -
LEDGER
Use with available fluent helpers to apply the Ledger field to query operations. -
COST_RATE_IS_OVERWRITE_MODE
Use with available fluent helpers to apply the CostRateIsOverwriteMode field to query operations.
-
-
Constructor Details
-
ServiceCostRate
public ServiceCostRate() -
ServiceCostRate
public ServiceCostRate(@Nullable UUID accountingCostRateUUID, @Nullable String companyCode, @Nullable String receivingCompanyCode, @Nullable Boolean isIntercompanyRate, @Nullable String costCenter, @Nullable String timeSheetOvertimeCategory, @Nullable String activityType, @Nullable String serviceCostLevel, @Nullable String personnelNumber, @Nullable String workItem, @Nullable String wBSElementExternalID, @Nullable String validityStartFiscalYearPeriod, @Nullable String validityEndFiscalYearPeriod, @Nullable String currency, @Nullable BigDecimal costRateVarblAmount, @Nullable BigDecimal costRateScaleFactor, @Nullable String costCtrActivityTypeQtyUnit, @Nullable String ledger, @Nullable Boolean costRateIsOverwriteMode)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceCostRate>
-
setAccountingCostRateUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AccountingCostRateUUID
- Parameters:
accountingCostRateUUID- Cost Rate UUID
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setReceivingCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReceivingCompanyCode
- Parameters:
receivingCompanyCode- Receiving Company Code
-
setIsIntercompanyRate
Constraints: noneOriginal property name from the Odata EDM: IsIntercompanyRate
- Parameters:
isIntercompanyRate- Intercompany Cost Rate Indicator
-
setCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Parameters:
costCenter- Cost Center
-
setTimeSheetOvertimeCategory
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TimeSheetOvertimeCategory
- Parameters:
timeSheetOvertimeCategory- Overtime Category
-
setActivityType
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ActivityType
- Parameters:
activityType- Activity Type
-
setServiceCostLevel
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceCostLevel
- Parameters:
serviceCostLevel- Service Cost Level
-
setPersonnelNumber
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonnelNumber
- Parameters:
personnelNumber- Personnel Number
-
setWorkItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WorkItem
- Parameters:
workItem- Work Item ID
-
setWBSElementExternalID
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: WBSElementExternalID
- Parameters:
wBSElementExternalID- Work Breakdown Structure Element (WBS Element)
-
setValidityStartFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ValidityStartFiscalYearPeriod
- Parameters:
validityStartFiscalYearPeriod- Fiscal Year + Fiscal Period
-
setValidityEndFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ValidityEndFiscalYearPeriod
- Parameters:
validityEndFiscalYearPeriod- Fiscal Year + Fiscal Period
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
setCostRateVarblAmount
Constraints: Not nullable, Precision: 24, Scale: 3Original property name from the Odata EDM: CostRateVarblAmount
- Parameters:
costRateVarblAmount- Variable Rate
-
setCostRateScaleFactor
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: CostRateScaleFactor
- Parameters:
costRateScaleFactor- Per
-
setCostCtrActivityTypeQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
- Parameters:
costCtrActivityTypeQtyUnit- Activity Unit
-
setLedger
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Parameters:
ledger- Ledger in General Ledger Accounting
-
setCostRateIsOverwriteMode
Constraints: noneOriginal property name from the Odata EDM: CostRateIsOverwriteMode
- Parameters:
costRateIsOverwriteMode- Truth Value: True/False
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceCostRate>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceCostRate>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceCostRate>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceCostRate>
-
field
@Nonnull public static <T> ServiceCostRateField<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> ServiceCostRateField<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<ServiceCostRate>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ServiceCostRate>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ServiceCostRate>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceCostRate>
-
builder
-
getAccountingCostRateUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: AccountingCostRateUUID
- Returns:
- Cost Rate UUID
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getReceivingCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReceivingCompanyCode
- Returns:
- Receiving Company Code
-
getIsIntercompanyRate
Constraints: noneOriginal property name from the Odata EDM: IsIntercompanyRate
- Returns:
- Intercompany Cost Rate Indicator
-
getCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Returns:
- Cost Center
-
getTimeSheetOvertimeCategory
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TimeSheetOvertimeCategory
- Returns:
- Overtime Category
-
getActivityType
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ActivityType
- Returns:
- Activity Type
-
getServiceCostLevel
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceCostLevel
- Returns:
- Service Cost Level
-
getPersonnelNumber
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonnelNumber
- Returns:
- Personnel Number
-
getWorkItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WorkItem
- Returns:
- Work Item ID
-
getWBSElementExternalID
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: WBSElementExternalID
- Returns:
- Work Breakdown Structure Element (WBS Element)
-
getValidityStartFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ValidityStartFiscalYearPeriod
- Returns:
- Fiscal Year + Fiscal Period
-
getValidityEndFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ValidityEndFiscalYearPeriod
- Returns:
- Fiscal Year + Fiscal Period
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
getCostRateVarblAmount
Constraints: Not nullable, Precision: 24, Scale: 3Original property name from the Odata EDM: CostRateVarblAmount
- Returns:
- Variable Rate
-
getCostRateScaleFactor
Constraints: Not nullable, Precision: 5, Scale: 0Original property name from the Odata EDM: CostRateScaleFactor
- Returns:
- Per
-
getCostCtrActivityTypeQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
- Returns:
- Activity Unit
-
getLedger
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Returns:
- Ledger in General Ledger Accounting
-
getCostRateIsOverwriteMode
Constraints: noneOriginal property name from the Odata EDM: CostRateIsOverwriteMode
- Returns:
- Truth Value: True/False
-
toString
- Overrides:
toStringin classVdmObject<ServiceCostRate>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceCostRate>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceCostRate>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceCostRate>
-