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

public class ServiceCostRate extends VdmEntity<ServiceCostRate>
Service Cost Rate

Original entity name from the Odata EDM: A_ServiceCostRateType

  • Field Details

    • ALL_FIELDS

      public static final ServiceCostRateSelectable ALL_FIELDS
      Selector for all available fields of ServiceCostRate.
    • ACCOUNTING_COST_RATE_UUID

      public static final ServiceCostRateField<UUID> ACCOUNTING_COST_RATE_UUID
      Use with available fluent helpers to apply the AccountingCostRateUUID field to query operations.
    • COMPANY_CODE

      public static final ServiceCostRateField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • RECEIVING_COMPANY_CODE

      public static final ServiceCostRateField<String> RECEIVING_COMPANY_CODE
      Use with available fluent helpers to apply the ReceivingCompanyCode field to query operations.
    • IS_INTERCOMPANY_RATE

      public static final ServiceCostRateField<Boolean> IS_INTERCOMPANY_RATE
      Use with available fluent helpers to apply the IsIntercompanyRate field to query operations.
    • COST_CENTER

      public static final ServiceCostRateField<String> COST_CENTER
      Use with available fluent helpers to apply the CostCenter field to query operations.
    • TIME_SHEET_OVERTIME_CATEGORY

      public static final ServiceCostRateField<String> TIME_SHEET_OVERTIME_CATEGORY
      Use with available fluent helpers to apply the TimeSheetOvertimeCategory field to query operations.
    • ACTIVITY_TYPE

      public static final ServiceCostRateField<String> ACTIVITY_TYPE
      Use with available fluent helpers to apply the ActivityType field to query operations.
    • SERVICE_COST_LEVEL

      public static final ServiceCostRateField<String> SERVICE_COST_LEVEL
      Use with available fluent helpers to apply the ServiceCostLevel field to query operations.
    • PERSONNEL_NUMBER

      public static final ServiceCostRateField<String> PERSONNEL_NUMBER
      Use with available fluent helpers to apply the PersonnelNumber field to query operations.
    • WORK_ITEM

      public static final ServiceCostRateField<String> WORK_ITEM
      Use with available fluent helpers to apply the WorkItem field to query operations.
    • WBS_ELEMENT_EXTERNAL_ID

      public static final ServiceCostRateField<String> WBS_ELEMENT_EXTERNAL_ID
      Use with available fluent helpers to apply the WBSElementExternalID field to query operations.
    • VALIDITY_START_FISCAL_YEAR_PERIOD

      public static final ServiceCostRateField<String> VALIDITY_START_FISCAL_YEAR_PERIOD
      Use with available fluent helpers to apply the ValidityStartFiscalYearPeriod field to query operations.
    • VALIDITY_END_FISCAL_YEAR_PERIOD

      public static final ServiceCostRateField<String> VALIDITY_END_FISCAL_YEAR_PERIOD
      Use with available fluent helpers to apply the ValidityEndFiscalYearPeriod field to query operations.
    • CURRENCY

      public static final ServiceCostRateField<String> CURRENCY
      Use with available fluent helpers to apply the Currency field to query operations.
    • COST_RATE_VARBL_AMOUNT

      public static final ServiceCostRateField<BigDecimal> COST_RATE_VARBL_AMOUNT
      Use with available fluent helpers to apply the CostRateVarblAmount field to query operations.
    • COST_RATE_SCALE_FACTOR

      public static final ServiceCostRateField<BigDecimal> COST_RATE_SCALE_FACTOR
      Use with available fluent helpers to apply the CostRateScaleFactor field to query operations.
    • COST_CTR_ACTIVITY_TYPE_QTY_UNIT

      public static final ServiceCostRateField<String> COST_CTR_ACTIVITY_TYPE_QTY_UNIT
      Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations.
    • LEDGER

      public static final ServiceCostRateField<String> LEDGER
      Use with available fluent helpers to apply the Ledger field to query operations.
    • COST_RATE_IS_OVERWRITE_MODE

      public static final ServiceCostRateField<Boolean> 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

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

      public void setAccountingCostRateUUID(@Nullable UUID accountingCostRateUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: AccountingCostRateUUID

      Parameters:
      accountingCostRateUUID - Cost Rate UUID
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setReceivingCompanyCode

      public void setReceivingCompanyCode(@Nullable String receivingCompanyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReceivingCompanyCode

      Parameters:
      receivingCompanyCode - Receiving Company Code
    • setIsIntercompanyRate

      public void setIsIntercompanyRate(@Nullable Boolean isIntercompanyRate)
      Constraints: none

      Original property name from the Odata EDM: IsIntercompanyRate

      Parameters:
      isIntercompanyRate - Intercompany Cost Rate Indicator
    • setCostCenter

      public void setCostCenter(@Nullable String costCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Parameters:
      costCenter - Cost Center
    • setTimeSheetOvertimeCategory

      public void setTimeSheetOvertimeCategory(@Nullable String timeSheetOvertimeCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TimeSheetOvertimeCategory

      Parameters:
      timeSheetOvertimeCategory - Overtime Category
    • setActivityType

      public void setActivityType(@Nullable String activityType)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ActivityType

      Parameters:
      activityType - Activity Type
    • setServiceCostLevel

      public void setServiceCostLevel(@Nullable String serviceCostLevel)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceCostLevel

      Parameters:
      serviceCostLevel - Service Cost Level
    • setPersonnelNumber

      public void setPersonnelNumber(@Nullable String personnelNumber)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PersonnelNumber

      Parameters:
      personnelNumber - Personnel Number
    • setWorkItem

      public void setWorkItem(@Nullable String workItem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: WorkItem

      Parameters:
      workItem - Work Item ID
    • setWBSElementExternalID

      public void setWBSElementExternalID(@Nullable String wBSElementExternalID)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElementExternalID

      Parameters:
      wBSElementExternalID - Work Breakdown Structure Element (WBS Element)
    • setValidityStartFiscalYearPeriod

      public void setValidityStartFiscalYearPeriod(@Nullable String validityStartFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityStartFiscalYearPeriod

      Parameters:
      validityStartFiscalYearPeriod - Fiscal Year + Fiscal Period
    • setValidityEndFiscalYearPeriod

      public void setValidityEndFiscalYearPeriod(@Nullable String validityEndFiscalYearPeriod)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityEndFiscalYearPeriod

      Parameters:
      validityEndFiscalYearPeriod - Fiscal Year + Fiscal Period
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setCostRateVarblAmount

      public void setCostRateVarblAmount(@Nullable BigDecimal costRateVarblAmount)
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CostRateVarblAmount

      Parameters:
      costRateVarblAmount - Variable Rate
    • setCostRateScaleFactor

      public void setCostRateScaleFactor(@Nullable BigDecimal costRateScaleFactor)
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: CostRateScaleFactor

      Parameters:
      costRateScaleFactor - Per
    • setCostCtrActivityTypeQtyUnit

      public void setCostCtrActivityTypeQtyUnit(@Nullable String costCtrActivityTypeQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit

      Parameters:
      costCtrActivityTypeQtyUnit - Activity Unit
    • setLedger

      public void setLedger(@Nullable String ledger)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Ledger

      Parameters:
      ledger - Ledger in General Ledger Accounting
    • setCostRateIsOverwriteMode

      public void setCostRateIsOverwriteMode(@Nullable Boolean costRateIsOverwriteMode)
      Constraints: none

      Original property name from the Odata EDM: CostRateIsOverwriteMode

      Parameters:
      costRateIsOverwriteMode - Truth Value: True/False
    • getEntityCollection

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

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

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

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 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<ServiceCostRate>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ServiceCostRate.ServiceCostRateBuilder builder()
    • getAccountingCostRateUUID

      @Nullable public UUID getAccountingCostRateUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: AccountingCostRateUUID

      Returns:
      Cost Rate UUID
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getReceivingCompanyCode

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

      Original property name from the Odata EDM: ReceivingCompanyCode

      Returns:
      Receiving Company Code
    • getIsIntercompanyRate

      @Nullable public Boolean getIsIntercompanyRate()
      Constraints: none

      Original property name from the Odata EDM: IsIntercompanyRate

      Returns:
      Intercompany Cost Rate Indicator
    • getCostCenter

      @Nullable public String getCostCenter()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Returns:
      Cost Center
    • getTimeSheetOvertimeCategory

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

      Original property name from the Odata EDM: TimeSheetOvertimeCategory

      Returns:
      Overtime Category
    • getActivityType

      @Nullable public String getActivityType()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ActivityType

      Returns:
      Activity Type
    • getServiceCostLevel

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

      Original property name from the Odata EDM: ServiceCostLevel

      Returns:
      Service Cost Level
    • getPersonnelNumber

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

      Original property name from the Odata EDM: PersonnelNumber

      Returns:
      Personnel Number
    • getWorkItem

      @Nullable public String getWorkItem()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: WorkItem

      Returns:
      Work Item ID
    • getWBSElementExternalID

      @Nullable public String getWBSElementExternalID()
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElementExternalID

      Returns:
      Work Breakdown Structure Element (WBS Element)
    • getValidityStartFiscalYearPeriod

      @Nullable public String getValidityStartFiscalYearPeriod()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityStartFiscalYearPeriod

      Returns:
      Fiscal Year + Fiscal Period
    • getValidityEndFiscalYearPeriod

      @Nullable public String getValidityEndFiscalYearPeriod()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: ValidityEndFiscalYearPeriod

      Returns:
      Fiscal Year + Fiscal Period
    • getCurrency

      @Nullable public String getCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getCostRateVarblAmount

      @Nullable public BigDecimal getCostRateVarblAmount()
      Constraints: Not nullable, Precision: 24, Scale: 3

      Original property name from the Odata EDM: CostRateVarblAmount

      Returns:
      Variable Rate
    • getCostRateScaleFactor

      @Nullable public BigDecimal getCostRateScaleFactor()
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: CostRateScaleFactor

      Returns:
      Per
    • getCostCtrActivityTypeQtyUnit

      @Nullable public String getCostCtrActivityTypeQtyUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit

      Returns:
      Activity Unit
    • getLedger

      @Nullable public String getLedger()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Ledger

      Returns:
      Ledger in General Ledger Accounting
    • getCostRateIsOverwriteMode

      @Nullable public Boolean getCostRateIsOverwriteMode()
      Constraints: none

      Original property name from the Odata EDM: CostRateIsOverwriteMode

      Returns:
      Truth Value: True/False
    • toString

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

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

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

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