public class PlanCostRate extends VdmEntity<PlanCostRate>
Original entity name from the Odata EDM: A_PlanCostRateType
Modifier and Type | Class and Description |
---|---|
static class |
PlanCostRate.PlanCostRateBuilder |
Modifier and Type | Field and Description |
---|---|
static PlanCostRateField<UUID> |
ACCOUNTING_COST_RATE_UUID
Use with available fluent helpers to apply the AccountingCostRateUUID field to query operations.
|
static PlanCostRateField<String> |
ACTIVITY_TYPE
Use with available fluent helpers to apply the ActivityType field to query operations.
|
static PlanCostRateSelectable |
ALL_FIELDS
Selector for all available fields of PlanCostRate.
|
static PlanCostRateField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static PlanCostRateField<String> |
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations.
|
static PlanCostRateField<String> |
COST_CTR_ACTIVITY_TYPE_QTY_UNIT
Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations.
|
static PlanCostRateField<BigDecimal> |
COST_RATE_FIXED_AMOUNT
Use with available fluent helpers to apply the CostRateFixedAmount field to query operations.
|
static PlanCostRateField<Boolean> |
COST_RATE_IS_OVERWRITE_MODE
Use with available fluent helpers to apply the CostRateIsOverwriteMode field to query operations.
|
static PlanCostRateField<BigDecimal> |
COST_RATE_SCALE_FACTOR
Use with available fluent helpers to apply the CostRateScaleFactor field to query operations.
|
static PlanCostRateField<BigDecimal> |
COST_RATE_VARBL_AMOUNT
Use with available fluent helpers to apply the CostRateVarblAmount field to query operations.
|
static PlanCostRateField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static PlanCostRateField<String> |
VALIDITY_END_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the ValidityEndFiscalYearPeriod field to query operations.
|
static PlanCostRateField<String> |
VALIDITY_START_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the ValidityStartFiscalYearPeriod field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PlanCostRate() |
PlanCostRate(UUID accountingCostRateUUID,
String companyCode,
String costCenter,
String activityType,
String validityStartFiscalYearPeriod,
String validityEndFiscalYearPeriod,
String currency,
BigDecimal costRateFixedAmount,
BigDecimal costRateVarblAmount,
BigDecimal costRateScaleFactor,
String costCtrActivityTypeQtyUnit,
Boolean costRateIsOverwriteMode) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static PlanCostRate.PlanCostRateBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> PlanCostRateField<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
|
BigDecimal |
getCostRateFixedAmount()
Constraints: Not nullable, Precision: 24, Scale: 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()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
Class<PlanCostRate> |
getType() |
String |
getValidityEndFiscalYearPeriod()
Constraints: Not nullable, Maximum length: 7
|
String |
getValidityStartFiscalYearPeriod()
Constraints: Not nullable, Maximum length: 7
|
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 |
setCostRateFixedAmount(BigDecimal costRateFixedAmount)
Constraints: Not nullable, Precision: 24, Scale: 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
|
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
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final PlanCostRateSelectable ALL_FIELDS
public static final PlanCostRateField<UUID> ACCOUNTING_COST_RATE_UUID
public static final PlanCostRateField<String> COMPANY_CODE
public static final PlanCostRateField<String> COST_CENTER
public static final PlanCostRateField<String> ACTIVITY_TYPE
public static final PlanCostRateField<String> VALIDITY_START_FISCAL_YEAR_PERIOD
public static final PlanCostRateField<String> VALIDITY_END_FISCAL_YEAR_PERIOD
public static final PlanCostRateField<String> CURRENCY
public static final PlanCostRateField<BigDecimal> COST_RATE_FIXED_AMOUNT
public static final PlanCostRateField<BigDecimal> COST_RATE_VARBL_AMOUNT
public static final PlanCostRateField<BigDecimal> COST_RATE_SCALE_FACTOR
public static final PlanCostRateField<String> COST_CTR_ACTIVITY_TYPE_QTY_UNIT
public static final PlanCostRateField<Boolean> COST_RATE_IS_OVERWRITE_MODE
public PlanCostRate()
public PlanCostRate(@Nullable UUID accountingCostRateUUID, @Nullable String companyCode, @Nullable String costCenter, @Nullable String activityType, @Nullable String validityStartFiscalYearPeriod, @Nullable String validityEndFiscalYearPeriod, @Nullable String currency, @Nullable BigDecimal costRateFixedAmount, @Nullable BigDecimal costRateVarblAmount, @Nullable BigDecimal costRateScaleFactor, @Nullable String costCtrActivityTypeQtyUnit, @Nullable Boolean costRateIsOverwriteMode)
@Nonnull public Class<PlanCostRate> getType()
getType
in class VdmObject<PlanCostRate>
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 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 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 setCostRateFixedAmount(@Nullable BigDecimal costRateFixedAmount)
Original property name from the Odata EDM: CostRateFixedAmount
costRateFixedAmount
- Fixed Ratepublic 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()
VdmEntity
getEntityCollection
in class VdmEntity<PlanCostRate>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PlanCostRate>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PlanCostRate>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PlanCostRate>
@Nonnull public static <T> PlanCostRateField<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> PlanCostRateField<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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<PlanCostRate>
protected 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<PlanCostRate>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
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<PlanCostRate>
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<PlanCostRate>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static PlanCostRate.PlanCostRateBuilder 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 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 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 getCostRateFixedAmount()
Original property name from the Odata EDM: CostRateFixedAmount
@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<PlanCostRate>
public boolean equals(Object o)
equals
in class VdmObject<PlanCostRate>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PlanCostRate>
public int hashCode()
hashCode
in class VdmObject<PlanCostRate>
Copyright © 2020 SAP SE. All rights reserved.