public class CostCenter extends VdmEntity<CostCenter>
Original entity name from the Odata EDM: A_CostCenterType
Modifier and Type | Class and Description |
---|---|
static class |
CostCenter.CostCenterBuilder
Helper class to allow for fluent creation of CostCenter instances.
|
Modifier and Type | Field and Description |
---|---|
static CostCenterSelectable |
ALL_FIELDS
Selector for all available fields of CostCenter.
|
static CostCenterField<String> |
BUSINESS_AREA
Use with available fluent helpers to apply the BusinessArea field to query operations.
|
static CostCenterField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static CostCenterField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CostCenterField<String> |
CONSUMPTION_QTY_IS_RECORDED
Use with available fluent helpers to apply the ConsumptionQtyIsRecorded field to query operations.
|
static CostCenterField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static CostCenterField<String> |
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations.
|
static CostCenterField<String> |
COST_CENTER_CATEGORY
Use with available fluent helpers to apply the CostCenterCategory field to query operations.
|
static CostCenterField<String> |
COST_CENTER_CREATED_BY_USER
Use with available fluent helpers to apply the CostCenterCreatedByUser field to query operations.
|
static CostCenterField<LocalDateTime> |
COST_CENTER_CREATION_DATE
Use with available fluent helpers to apply the CostCenterCreationDate field to query operations.
|
static CostCenterField<String> |
COST_CENTER_CURRENCY
Use with available fluent helpers to apply the CostCenterCurrency field to query operations.
|
static CostCenterField<String> |
COST_CENTER_STANDARD_HIER_AREA
Use with available fluent helpers to apply the CostCenterStandardHierArea field to query operations.
|
static CostCenterField<String> |
COST_CTR_RESPONSIBLE_PERSON_NAME
Use with available fluent helpers to apply the CostCtrResponsiblePersonName field to query operations.
|
static CostCenterField<String> |
COST_CTR_RESPONSIBLE_USER
Use with available fluent helpers to apply the CostCtrResponsibleUser field to query operations.
|
static CostCenterField<String> |
COSTING_SHEET
Use with available fluent helpers to apply the CostingSheet field to query operations.
|
static CostCenterField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static CostCenterField<String> |
DEPARTMENT
Use with available fluent helpers to apply the Department field to query operations.
|
static CostCenterField<String> |
FUNCTIONAL_AREA
Use with available fluent helpers to apply the FunctionalArea field to query operations.
|
static CostCenterField<String> |
IS_BLKD_FOR_PRIMARY_COSTS_POSTING
Use with available fluent helpers to apply the IsBlkdForPrimaryCostsPosting field to query operations.
|
static CostCenterField<String> |
IS_BLKD_FOR_SECONDARY_COSTS_POSTING
Use with available fluent helpers to apply the IsBlkdForSecondaryCostsPosting field to query operations.
|
static CostCenterField<String> |
IS_BLOCKED_FOR_COMMITMENT_POSTING
Use with available fluent helpers to apply the IsBlockedForCommitmentPosting field to query operations.
|
static CostCenterField<String> |
IS_BLOCKED_FOR_PLAN_PRIMARY_COSTS
Use with available fluent helpers to apply the IsBlockedForPlanPrimaryCosts field to query operations.
|
static CostCenterField<String> |
IS_BLOCKED_FOR_PLAN_REVENUES
Use with available fluent helpers to apply the IsBlockedForPlanRevenues field to query operations.
|
static CostCenterField<String> |
IS_BLOCKED_FOR_PLAN_SECONDARY_COSTS
Use with available fluent helpers to apply the IsBlockedForPlanSecondaryCosts field to query operations.
|
static CostCenterField<String> |
IS_BLOCKED_FOR_REVENUE_POSTING
Use with available fluent helpers to apply the IsBlockedForRevenuePosting field to query operations.
|
static CostCenterField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static CostCenterField<String> |
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations.
|
static CostCenterField<String> |
REGION
Use with available fluent helpers to apply the Region field to query operations.
|
static CostCenterLink<CostCenterText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
static CostCenterField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static CostCenterField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CostCenter() |
CostCenter(String controllingArea,
String costCenter,
LocalDateTime validityEndDate,
LocalDateTime validityStartDate,
String companyCode,
String businessArea,
String costCtrResponsiblePersonName,
String costCtrResponsibleUser,
String costCenterCurrency,
String profitCenter,
String department,
String costingSheet,
String functionalArea,
String country,
String region,
String cityName,
String costCenterStandardHierArea,
String costCenterCategory,
String isBlkdForPrimaryCostsPosting,
String isBlkdForSecondaryCostsPosting,
String isBlockedForRevenuePosting,
String isBlockedForCommitmentPosting,
String isBlockedForPlanPrimaryCosts,
String isBlockedForPlanSecondaryCosts,
String isBlockedForPlanRevenues,
String consumptionQtyIsRecorded,
String language,
String costCenterCreatedByUser,
LocalDateTime costCenterCreationDate,
List<CostCenterText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addText(CostCenterText... entity)
Adds elements to the list of associated CostCenterText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static CostCenter.CostCenterBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<CostCenterText> |
fetchText()
Fetches the CostCenterText entities (one to many) associated with this entity.
|
static <T> CostCenterField<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) |
String |
getBusinessArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 35
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getConsumptionQtyIsRecorded()
Constraints: Not nullable, Maximum length: 1
|
String |
getControllingArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCostCenter()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCostCenterCategory()
Constraints: Not nullable, Maximum length: 1
|
String |
getCostCenterCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCostCenterCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getCostCenterCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getCostCenterStandardHierArea()
Constraints: Not nullable, Maximum length: 12
|
String |
getCostCtrResponsiblePersonName()
Constraints: Not nullable, Maximum length: 20
|
String |
getCostCtrResponsibleUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getCostingSheet()
Constraints: Not nullable, Maximum length: 6
|
String |
getCountry()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getDepartment()
Constraints: Not nullable, Maximum length: 12
|
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.
|
String |
getFunctionalArea()
Constraints: Not nullable, Maximum length: 16
|
String |
getIsBlkdForPrimaryCostsPosting()
Constraints: Not nullable, Maximum length: 1
|
String |
getIsBlkdForSecondaryCostsPosting()
Constraints: Not nullable, Maximum length: 1
|
String |
getIsBlockedForCommitmentPosting()
Constraints: Not nullable, Maximum length: 1
|
String |
getIsBlockedForPlanPrimaryCosts()
Constraints: Not nullable, Maximum length: 1
|
String |
getIsBlockedForPlanRevenues()
Constraints: Not nullable, Maximum length: 1
|
String |
getIsBlockedForPlanSecondaryCosts()
Constraints: Not nullable, Maximum length: 1
|
String |
getIsBlockedForRevenuePosting()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getProfitCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
io.vavr.control.Option<List<CostCenterText>> |
getTextIfPresent()
Retrieval of associated CostCenterText entities (one to many).
|
List<CostCenterText> |
getTextOrFetch()
Retrieval of associated CostCenterText entities (one to many).
|
Class<CostCenter> |
getType() |
LocalDateTime |
getValidityEndDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setBusinessArea(String businessArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 35
|
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setConsumptionQtyIsRecorded(String consumptionQtyIsRecorded)
Constraints: Not nullable, Maximum length: 1
|
void |
setControllingArea(String controllingArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCostCenter(String costCenter)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCostCenterCategory(String costCenterCategory)
Constraints: Not nullable, Maximum length: 1
|
void |
setCostCenterCreatedByUser(String costCenterCreatedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCostCenterCreationDate(LocalDateTime costCenterCreationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCostCenterCurrency(String costCenterCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setCostCenterStandardHierArea(String costCenterStandardHierArea)
Constraints: Not nullable, Maximum length: 12
|
void |
setCostCtrResponsiblePersonName(String costCtrResponsiblePersonName)
Constraints: Not nullable, Maximum length: 20
|
void |
setCostCtrResponsibleUser(String costCtrResponsibleUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCostingSheet(String costingSheet)
Constraints: Not nullable, Maximum length: 6
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setDepartment(String department)
Constraints: Not nullable, Maximum length: 12
|
void |
setFunctionalArea(String functionalArea)
Constraints: Not nullable, Maximum length: 16
|
void |
setIsBlkdForPrimaryCostsPosting(String isBlkdForPrimaryCostsPosting)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsBlkdForSecondaryCostsPosting(String isBlkdForSecondaryCostsPosting)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsBlockedForCommitmentPosting(String isBlockedForCommitmentPosting)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsBlockedForPlanPrimaryCosts(String isBlockedForPlanPrimaryCosts)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsBlockedForPlanRevenues(String isBlockedForPlanRevenues)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsBlockedForPlanSecondaryCosts(String isBlockedForPlanSecondaryCosts)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsBlockedForRevenuePosting(String isBlockedForRevenuePosting)
Constraints: Not nullable, Maximum length: 1
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setProfitCenter(String profitCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setRegion(String region)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setText(List<CostCenterText> value)
Overwrites the list of associated CostCenterText entities for the loaded navigation property
to_Text.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final CostCenterSelectable ALL_FIELDS
public static final CostCenterField<String> CONTROLLING_AREA
public static final CostCenterField<String> COST_CENTER
public static final CostCenterField<LocalDateTime> VALIDITY_END_DATE
public static final CostCenterField<LocalDateTime> VALIDITY_START_DATE
public static final CostCenterField<String> COMPANY_CODE
public static final CostCenterField<String> BUSINESS_AREA
public static final CostCenterField<String> COST_CTR_RESPONSIBLE_PERSON_NAME
public static final CostCenterField<String> COST_CTR_RESPONSIBLE_USER
public static final CostCenterField<String> COST_CENTER_CURRENCY
public static final CostCenterField<String> PROFIT_CENTER
public static final CostCenterField<String> DEPARTMENT
public static final CostCenterField<String> COSTING_SHEET
public static final CostCenterField<String> FUNCTIONAL_AREA
public static final CostCenterField<String> COUNTRY
public static final CostCenterField<String> REGION
public static final CostCenterField<String> CITY_NAME
public static final CostCenterField<String> COST_CENTER_STANDARD_HIER_AREA
public static final CostCenterField<String> COST_CENTER_CATEGORY
public static final CostCenterField<String> IS_BLKD_FOR_PRIMARY_COSTS_POSTING
public static final CostCenterField<String> IS_BLKD_FOR_SECONDARY_COSTS_POSTING
public static final CostCenterField<String> IS_BLOCKED_FOR_REVENUE_POSTING
public static final CostCenterField<String> IS_BLOCKED_FOR_COMMITMENT_POSTING
public static final CostCenterField<String> IS_BLOCKED_FOR_PLAN_PRIMARY_COSTS
public static final CostCenterField<String> IS_BLOCKED_FOR_PLAN_SECONDARY_COSTS
public static final CostCenterField<String> IS_BLOCKED_FOR_PLAN_REVENUES
public static final CostCenterField<String> CONSUMPTION_QTY_IS_RECORDED
public static final CostCenterField<String> LANGUAGE
public static final CostCenterField<String> COST_CENTER_CREATED_BY_USER
public static final CostCenterField<LocalDateTime> COST_CENTER_CREATION_DATE
public static final CostCenterLink<CostCenterText> TO_TEXT
public CostCenter()
public CostCenter(@Nullable String controllingArea, @Nullable String costCenter, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime validityStartDate, @Nullable String companyCode, @Nullable String businessArea, @Nullable String costCtrResponsiblePersonName, @Nullable String costCtrResponsibleUser, @Nullable String costCenterCurrency, @Nullable String profitCenter, @Nullable String department, @Nullable String costingSheet, @Nullable String functionalArea, @Nullable String country, @Nullable String region, @Nullable String cityName, @Nullable String costCenterStandardHierArea, @Nullable String costCenterCategory, @Nullable String isBlkdForPrimaryCostsPosting, @Nullable String isBlkdForSecondaryCostsPosting, @Nullable String isBlockedForRevenuePosting, @Nullable String isBlockedForCommitmentPosting, @Nullable String isBlockedForPlanPrimaryCosts, @Nullable String isBlockedForPlanSecondaryCosts, @Nullable String isBlockedForPlanRevenues, @Nullable String consumptionQtyIsRecorded, @Nullable String language, @Nullable String costCenterCreatedByUser, @Nullable LocalDateTime costCenterCreationDate, List<CostCenterText> toText)
@Nonnull public Class<CostCenter> getType()
getType
in class VdmObject<CostCenter>
public void setControllingArea(@Nullable String controllingArea)
Original property name from the Odata EDM: ControllingArea
controllingArea
- Controlling Areapublic void setCostCenter(@Nullable String costCenter)
Original property name from the Odata EDM: CostCenter
costCenter
- Cost Centerpublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Valid To Datepublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Valid-From Datepublic void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setBusinessArea(@Nullable String businessArea)
Original property name from the Odata EDM: BusinessArea
businessArea
- Business Areapublic void setCostCtrResponsiblePersonName(@Nullable String costCtrResponsiblePersonName)
Original property name from the Odata EDM: CostCtrResponsiblePersonName
costCtrResponsiblePersonName
- Person Responsiblepublic void setCostCtrResponsibleUser(@Nullable String costCtrResponsibleUser)
Original property name from the Odata EDM: CostCtrResponsibleUser
costCtrResponsibleUser
- User Responsiblepublic void setCostCenterCurrency(@Nullable String costCenterCurrency)
Original property name from the Odata EDM: CostCenterCurrency
costCenterCurrency
- Currency Keypublic void setProfitCenter(@Nullable String profitCenter)
Original property name from the Odata EDM: ProfitCenter
profitCenter
- Profit Centerpublic void setDepartment(@Nullable String department)
Original property name from the Odata EDM: Department
department
- Departmentpublic void setCostingSheet(@Nullable String costingSheet)
Original property name from the Odata EDM: CostingSheet
costingSheet
- Costing Sheetpublic void setFunctionalArea(@Nullable String functionalArea)
Original property name from the Odata EDM: FunctionalArea
functionalArea
- Functional Areapublic void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
country
- Country Keypublic void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
region
- Region (State, Province, County)public void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
cityName
- Citypublic void setCostCenterStandardHierArea(@Nullable String costCenterStandardHierArea)
Original property name from the Odata EDM: CostCenterStandardHierArea
costCenterStandardHierArea
- Standard Hierarchy Areapublic void setCostCenterCategory(@Nullable String costCenterCategory)
Original property name from the Odata EDM: CostCenterCategory
costCenterCategory
- Cost Center Categorypublic void setIsBlkdForPrimaryCostsPosting(@Nullable String isBlkdForPrimaryCostsPosting)
Original property name from the Odata EDM: IsBlkdForPrimaryCostsPosting
isBlkdForPrimaryCostsPosting
- Lock Indicator for Actual Primary Postingspublic void setIsBlkdForSecondaryCostsPosting(@Nullable String isBlkdForSecondaryCostsPosting)
Original property name from the Odata EDM: IsBlkdForSecondaryCostsPosting
isBlkdForSecondaryCostsPosting
- Lock Indicator for Actual Secondary Costspublic void setIsBlockedForRevenuePosting(@Nullable String isBlockedForRevenuePosting)
Original property name from the Odata EDM: IsBlockedForRevenuePosting
isBlockedForRevenuePosting
- Lock Indicator for Actual Revenue Postingspublic void setIsBlockedForCommitmentPosting(@Nullable String isBlockedForCommitmentPosting)
Original property name from the Odata EDM: IsBlockedForCommitmentPosting
isBlockedForCommitmentPosting
- Lock Indicator for Commitment Updatepublic void setIsBlockedForPlanPrimaryCosts(@Nullable String isBlockedForPlanPrimaryCosts)
Original property name from the Odata EDM: IsBlockedForPlanPrimaryCosts
isBlockedForPlanPrimaryCosts
- Lock Indicator for Plan Primary Costspublic void setIsBlockedForPlanSecondaryCosts(@Nullable String isBlockedForPlanSecondaryCosts)
Original property name from the Odata EDM: IsBlockedForPlanSecondaryCosts
isBlockedForPlanSecondaryCosts
- Lock Indicator for Plan Secondary Costspublic void setIsBlockedForPlanRevenues(@Nullable String isBlockedForPlanRevenues)
Original property name from the Odata EDM: IsBlockedForPlanRevenues
isBlockedForPlanRevenues
- Lock Indicator for Planning Revenuespublic void setConsumptionQtyIsRecorded(@Nullable String consumptionQtyIsRecorded)
Original property name from the Odata EDM: ConsumptionQtyIsRecorded
consumptionQtyIsRecorded
- Indicator for Recording Consumption Quantitiespublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setCostCenterCreatedByUser(@Nullable String costCenterCreatedByUser)
Original property name from the Odata EDM: CostCenterCreatedByUser
costCenterCreatedByUser
- Entered bypublic void setCostCenterCreationDate(@Nullable LocalDateTime costCenterCreationDate)
Original property name from the Odata EDM: CostCenterCreationDate
costCenterCreationDate
- Entered Onprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CostCenter>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CostCenter>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CostCenter>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CostCenter>
@Nonnull public static <T> CostCenterField<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> CostCenterField<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<CostCenter>
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<CostCenter>
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<CostCenter>
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<CostCenter>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<CostCenter>
@Nonnull public List<CostCenterText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<CostCenterText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried CostCenter is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public io.vavr.control.Option<List<CostCenterText>> getTextIfPresent()
If the navigation property for an entity CostCenter has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setText(@Nonnull List<CostCenterText> value)
If the navigation property to_Text of a queried CostCenter is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of CostCenterText entities.public void addText(CostCenterText... entity)
If the navigation property to_Text of a queried CostCenter is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of CostCenterText entities.@Nonnull public static CostCenter.CostCenterBuilder builder()
@Nullable public String getControllingArea()
Original property name from the Odata EDM: ControllingArea
@Nullable public String getCostCenter()
Original property name from the Odata EDM: CostCenter
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getBusinessArea()
Original property name from the Odata EDM: BusinessArea
@Nullable public String getCostCtrResponsiblePersonName()
Original property name from the Odata EDM: CostCtrResponsiblePersonName
@Nullable public String getCostCtrResponsibleUser()
Original property name from the Odata EDM: CostCtrResponsibleUser
@Nullable public String getCostCenterCurrency()
Original property name from the Odata EDM: CostCenterCurrency
@Nullable public String getProfitCenter()
Original property name from the Odata EDM: ProfitCenter
@Nullable public String getDepartment()
Original property name from the Odata EDM: Department
@Nullable public String getCostingSheet()
Original property name from the Odata EDM: CostingSheet
@Nullable public String getFunctionalArea()
Original property name from the Odata EDM: FunctionalArea
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
@Nullable public String getRegion()
Original property name from the Odata EDM: Region
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
@Nullable public String getCostCenterStandardHierArea()
Original property name from the Odata EDM: CostCenterStandardHierArea
@Nullable public String getCostCenterCategory()
Original property name from the Odata EDM: CostCenterCategory
@Nullable public String getIsBlkdForPrimaryCostsPosting()
Original property name from the Odata EDM: IsBlkdForPrimaryCostsPosting
@Nullable public String getIsBlkdForSecondaryCostsPosting()
Original property name from the Odata EDM: IsBlkdForSecondaryCostsPosting
@Nullable public String getIsBlockedForRevenuePosting()
Original property name from the Odata EDM: IsBlockedForRevenuePosting
@Nullable public String getIsBlockedForCommitmentPosting()
Original property name from the Odata EDM: IsBlockedForCommitmentPosting
@Nullable public String getIsBlockedForPlanPrimaryCosts()
Original property name from the Odata EDM: IsBlockedForPlanPrimaryCosts
@Nullable public String getIsBlockedForPlanSecondaryCosts()
Original property name from the Odata EDM: IsBlockedForPlanSecondaryCosts
@Nullable public String getIsBlockedForPlanRevenues()
Original property name from the Odata EDM: IsBlockedForPlanRevenues
@Nullable public String getConsumptionQtyIsRecorded()
Original property name from the Odata EDM: ConsumptionQtyIsRecorded
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getCostCenterCreatedByUser()
Original property name from the Odata EDM: CostCenterCreatedByUser
@Nullable public LocalDateTime getCostCenterCreationDate()
Original property name from the Odata EDM: CostCenterCreationDate
@Nonnull public String toString()
toString
in class VdmObject<CostCenter>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CostCenter>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CostCenter>
public int hashCode()
hashCode
in class VdmObject<CostCenter>
Copyright © 2021 SAP SE. All rights reserved.