public class ServiceCostRate extends VdmEntity<ServiceCostRate>
Original entity name from the Odata EDM: A_ServiceCostRateType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceCostRate.ServiceCostRateBuilder |
Modifier and Type | Field and Description |
---|---|
static ServiceCostRateField<UUID> |
ACCOUNTING_COST_RATE_UUID
Use with available fluent helpers to apply the AccountingCostRateUUID field to query operations.
|
static ServiceCostRateField<String> |
ACTIVITY_TYPE
Use with available fluent helpers to apply the ActivityType field to query operations.
|
static ServiceCostRateSelectable |
ALL_FIELDS
Selector for all available fields of ServiceCostRate.
|
static ServiceCostRateField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static ServiceCostRateField<String> |
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations.
|
static ServiceCostRateField<String> |
COST_CTR_ACTIVITY_TYPE_QTY_UNIT
Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations.
|
static ServiceCostRateField<Boolean> |
COST_RATE_IS_OVERWRITE_MODE
Use with available fluent helpers to apply the CostRateIsOverwriteMode field to query operations.
|
static ServiceCostRateField<BigDecimal> |
COST_RATE_SCALE_FACTOR
Use with available fluent helpers to apply the CostRateScaleFactor field to query operations.
|
static ServiceCostRateField<BigDecimal> |
COST_RATE_VARBL_AMOUNT
Use with available fluent helpers to apply the CostRateVarblAmount field to query operations.
|
static ServiceCostRateField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ServiceCostRateField<Boolean> |
IS_INTERCOMPANY_RATE
Use with available fluent helpers to apply the IsIntercompanyRate field to query operations.
|
static ServiceCostRateField<String> |
PERSONNEL_NUMBER
Use with available fluent helpers to apply the PersonnelNumber field to query operations.
|
static ServiceCostRateField<String> |
RECEIVING_COMPANY_CODE
Use with available fluent helpers to apply the ReceivingCompanyCode field to query operations.
|
static ServiceCostRateField<String> |
SERVICE_COST_LEVEL
Use with available fluent helpers to apply the ServiceCostLevel field to query operations.
|
static ServiceCostRateField<String> |
VALIDITY_END_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the ValidityEndFiscalYearPeriod field to query operations.
|
static ServiceCostRateField<String> |
VALIDITY_START_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the ValidityStartFiscalYearPeriod field to query operations.
|
static ServiceCostRateField<String> |
WBS_ELEMENT_EXTERNAL_ID
Use with available fluent helpers to apply the WBSElementExternalID field to query operations.
|
static ServiceCostRateField<String> |
WORK_ITEM
Use with available fluent helpers to apply the WorkItem field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceCostRate() |
ServiceCostRate(UUID accountingCostRateUUID,
String companyCode,
String receivingCompanyCode,
Boolean isIntercompanyRate,
String costCenter,
String activityType,
String serviceCostLevel,
String personnelNumber,
String workItem,
String wBSElementExternalID,
String validityStartFiscalYearPeriod,
String validityEndFiscalYearPeriod,
String currency,
BigDecimal costRateVarblAmount,
BigDecimal costRateScaleFactor,
String costCtrActivityTypeQtyUnit,
Boolean costRateIsOverwriteMode) |
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 ServiceCostRate.ServiceCostRateBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ServiceCostRateField<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) |
UUID |
getAccountingCostRateUUID()
(Key Field) Constraints: Not nullable
|
String |
getActivityType()
Constraints: Not nullable, Maximum length: 6
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getCostCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getCostCtrActivityTypeQtyUnit()
Constraints: Not nullable, Maximum length: 3
|
Boolean |
getCostRateIsOverwriteMode()
Constraints: none
|
BigDecimal |
getCostRateScaleFactor()
Constraints: Not nullable, Precision: 5, Scale: 0
|
BigDecimal |
getCostRateVarblAmount()
Constraints: Not nullable, Precision: 24, Scale: 3
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Boolean |
getIsIntercompanyRate()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getPersonnelNumber()
Constraints: Not nullable, Maximum length: 8
|
String |
getReceivingCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceCostLevel()
Constraints: Not nullable, Maximum length: 4
|
Class<ServiceCostRate> |
getType() |
String |
getValidityEndFiscalYearPeriod()
Constraints: Not nullable, Maximum length: 7
|
String |
getValidityStartFiscalYearPeriod()
Constraints: Not nullable, Maximum length: 7
|
String |
getWBSElementExternalID()
Constraints: Not nullable, Maximum length: 24
|
String |
getWorkItem()
Constraints: Not nullable, Maximum length: 10
|
int |
hashCode() |
void |
setAccountingCostRateUUID(UUID accountingCostRateUUID)
(Key Field) Constraints: Not nullable
|
void |
setActivityType(String activityType)
Constraints: Not nullable, Maximum length: 6
|
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setCostCenter(String costCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setCostCtrActivityTypeQtyUnit(String costCtrActivityTypeQtyUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCostRateIsOverwriteMode(Boolean costRateIsOverwriteMode)
Constraints: none
|
void |
setCostRateScaleFactor(BigDecimal costRateScaleFactor)
Constraints: Not nullable, Precision: 5, Scale: 0
|
void |
setCostRateVarblAmount(BigDecimal costRateVarblAmount)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setIsIntercompanyRate(Boolean isIntercompanyRate)
Constraints: none
|
void |
setPersonnelNumber(String personnelNumber)
Constraints: Not nullable, Maximum length: 8
|
void |
setReceivingCompanyCode(String receivingCompanyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceCostLevel(String serviceCostLevel)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndFiscalYearPeriod(String validityEndFiscalYearPeriod)
Constraints: Not nullable, Maximum length: 7
|
void |
setValidityStartFiscalYearPeriod(String validityStartFiscalYearPeriod)
Constraints: Not nullable, Maximum length: 7
|
void |
setWBSElementExternalID(String wBSElementExternalID)
Constraints: Not nullable, Maximum length: 24
|
void |
setWorkItem(String workItem)
Constraints: Not nullable, Maximum length: 10
|
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 ServiceCostRateSelectable ALL_FIELDS
public static final ServiceCostRateField<UUID> ACCOUNTING_COST_RATE_UUID
public static final ServiceCostRateField<String> COMPANY_CODE
public static final ServiceCostRateField<String> RECEIVING_COMPANY_CODE
public static final ServiceCostRateField<Boolean> IS_INTERCOMPANY_RATE
public static final ServiceCostRateField<String> COST_CENTER
public static final ServiceCostRateField<String> ACTIVITY_TYPE
public static final ServiceCostRateField<String> SERVICE_COST_LEVEL
public static final ServiceCostRateField<String> PERSONNEL_NUMBER
public static final ServiceCostRateField<String> WORK_ITEM
public static final ServiceCostRateField<String> WBS_ELEMENT_EXTERNAL_ID
public static final ServiceCostRateField<String> VALIDITY_START_FISCAL_YEAR_PERIOD
public static final ServiceCostRateField<String> VALIDITY_END_FISCAL_YEAR_PERIOD
public static final ServiceCostRateField<String> CURRENCY
public static final ServiceCostRateField<BigDecimal> COST_RATE_VARBL_AMOUNT
public static final ServiceCostRateField<BigDecimal> COST_RATE_SCALE_FACTOR
public static final ServiceCostRateField<String> COST_CTR_ACTIVITY_TYPE_QTY_UNIT
public static final ServiceCostRateField<Boolean> COST_RATE_IS_OVERWRITE_MODE
public ServiceCostRate()
public ServiceCostRate(@Nullable UUID accountingCostRateUUID, @Nullable String companyCode, @Nullable String receivingCompanyCode, @Nullable Boolean isIntercompanyRate, @Nullable String costCenter, @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 Boolean costRateIsOverwriteMode)
@Nonnull public Class<ServiceCostRate> getType()
getType
in class VdmObject<ServiceCostRate>
public void setAccountingCostRateUUID(@Nullable UUID accountingCostRateUUID)
Original property name from the Odata EDM: AccountingCostRateUUID
accountingCostRateUUID
- Cost Rate UUIDpublic 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 setReceivingCompanyCode(@Nullable String receivingCompanyCode)
Original property name from the Odata EDM: ReceivingCompanyCode
receivingCompanyCode
- Receiving Company Codepublic void setIsIntercompanyRate(@Nullable Boolean isIntercompanyRate)
Original property name from the Odata EDM: IsIntercompanyRate
isIntercompanyRate
- Intercompany Cost Rate Indicatorpublic void setCostCenter(@Nullable String costCenter)
Original property name from the Odata EDM: CostCenter
costCenter
- A key that uniquely identifies a cost center.public void setActivityType(@Nullable String activityType)
Original property name from the Odata EDM: ActivityType
Activity types describe the activity produced by a cost center and are measured in units of time or quantity.In activity type planning, control data determines whether the activity price for evaluation of the activity type is manually set or is derived iteratively through activity price calculation.
activityType
- Key uniquely identifying .public void setServiceCostLevel(@Nullable String serviceCostLevel)
Original property name from the Odata EDM: ServiceCostLevel
A senior consultant has a higher service cost level than a junior consultant.
serviceCostLevel
- Determines the cost rate for services performed by employees.public void setPersonnelNumber(@Nullable String personnelNumber)
Original property name from the Odata EDM: PersonnelNumber
personnelNumber
- The personnel number is the only feature within a client which is unique to an employee. You have to
enter a personnel number before you can display and maintain an employee's master data and time data.public void setWorkItem(@Nullable String workItem)
Original property name from the Odata EDM: WorkItem
workItem
- Work Item IDpublic void setWBSElementExternalID(@Nullable String wBSElementExternalID)
Original property name from the Odata EDM: WBSElementExternalID
wBSElementExternalID
- Key identifying a WBS element.public void setValidityStartFiscalYearPeriod(@Nullable String validityStartFiscalYearPeriod)
Original property name from the Odata EDM: ValidityStartFiscalYearPeriod
validityStartFiscalYearPeriod
- Fiscal Year + Fiscal Periodpublic void setValidityEndFiscalYearPeriod(@Nullable String validityEndFiscalYearPeriod)
Original property name from the Odata EDM: ValidityEndFiscalYearPeriod
validityEndFiscalYearPeriod
- Fiscal Year + Fiscal Periodpublic void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Currency key for amounts in the system.public void setCostRateVarblAmount(@Nullable BigDecimal costRateVarblAmount)
Original property name from the Odata EDM: CostRateVarblAmount
costRateVarblAmount
- Variable Ratepublic void setCostRateScaleFactor(@Nullable BigDecimal costRateScaleFactor)
Original property name from the Odata EDM: CostRateScaleFactor
costRateScaleFactor
- perpublic void setCostCtrActivityTypeQtyUnit(@Nullable String costCtrActivityTypeQtyUnit)
Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
In the databases, the activity type is always managed with the activity unit that is defined in activity type master record.The activity unit can no longer be changed in the activity type master record when dependent data already exists.Later plan or actual postings can result in varying activity units if these are convertable to a specified unit.
costCtrActivityTypeQtyUnit
- The activity unit is either the time or quantity unit of an activity type used to post the activity
quantity.public void setCostRateIsOverwriteMode(@Nullable Boolean costRateIsOverwriteMode)
Original property name from the Odata EDM: CostRateIsOverwriteMode
costRateIsOverwriteMode
- Truth Value: True/Falseprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ServiceCostRate>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceCostRate>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceCostRate>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceCostRate>
@Nonnull public static <T> ServiceCostRateField<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> ServiceCostRateField<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<ServiceCostRate>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<ServiceCostRate>
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<ServiceCostRate>
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<ServiceCostRate>
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<ServiceCostRate>
public static ServiceCostRate.ServiceCostRateBuilder builder()
@Nullable public UUID getAccountingCostRateUUID()
Original property name from the Odata EDM: AccountingCostRateUUID
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getReceivingCompanyCode()
Original property name from the Odata EDM: ReceivingCompanyCode
@Nullable public Boolean getIsIntercompanyRate()
Original property name from the Odata EDM: IsIntercompanyRate
@Nullable public String getCostCenter()
Original property name from the Odata EDM: CostCenter
@Nullable public String getActivityType()
Original property name from the Odata EDM: ActivityType
Activity types describe the activity produced by a cost center and are measured in units of time or quantity.In activity type planning, control data determines whether the activity price for evaluation of the activity type is manually set or is derived iteratively through activity price calculation.
@Nullable public String getServiceCostLevel()
Original property name from the Odata EDM: ServiceCostLevel
A senior consultant has a higher service cost level than a junior consultant.
@Nullable public String getPersonnelNumber()
Original property name from the Odata EDM: PersonnelNumber
@Nullable public String getWorkItem()
Original property name from the Odata EDM: WorkItem
@Nullable public String getWBSElementExternalID()
Original property name from the Odata EDM: WBSElementExternalID
@Nullable public String getValidityStartFiscalYearPeriod()
Original property name from the Odata EDM: ValidityStartFiscalYearPeriod
@Nullable public String getValidityEndFiscalYearPeriod()
Original property name from the Odata EDM: ValidityEndFiscalYearPeriod
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
@Nullable public BigDecimal getCostRateVarblAmount()
Original property name from the Odata EDM: CostRateVarblAmount
@Nullable public BigDecimal getCostRateScaleFactor()
Original property name from the Odata EDM: CostRateScaleFactor
@Nullable public String getCostCtrActivityTypeQtyUnit()
Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
In the databases, the activity type is always managed with the activity unit that is defined in activity type master record.The activity unit can no longer be changed in the activity type master record when dependent data already exists.Later plan or actual postings can result in varying activity units if these are convertable to a specified unit.
@Nullable public Boolean getCostRateIsOverwriteMode()
Original property name from the Odata EDM: CostRateIsOverwriteMode
public String toString()
toString
in class VdmObject<ServiceCostRate>
public boolean equals(Object o)
equals
in class VdmObject<ServiceCostRate>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ServiceCostRate>
public int hashCode()
hashCode
in class VdmObject<ServiceCostRate>
Copyright © 2019 SAP SE. All rights reserved.