public class ControllingArea extends VdmEntity<ControllingArea>
Original entity name from the Odata EDM: A_ControllingAreaType
Modifier and Type | Class and Description |
---|---|
static class |
ControllingArea.ControllingAreaBuilder |
Modifier and Type | Field and Description |
---|---|
static ControllingAreaSelectable |
ALL_FIELDS
Selector for all available fields of ControllingArea.
|
static ControllingAreaField<String> |
CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the ChartOfAccounts field to query operations.
|
static ControllingAreaField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static ControllingAreaField<String> |
CONTROLLING_AREA_CURRENCY
Use with available fluent helpers to apply the ControllingAreaCurrency field to query operations.
|
static ControllingAreaField<String> |
CONTROLLING_AREA_CURRENCY_ROLE
Use with available fluent helpers to apply the ControllingAreaCurrencyRole field to query operations.
|
static ControllingAreaField<String> |
CONTROLLING_AREA_NAME
Use with available fluent helpers to apply the ControllingAreaName field to query operations.
|
static ControllingAreaField<String> |
COST_CENTER_STANDARD_HIERARCHY
Use with available fluent helpers to apply the CostCenterStandardHierarchy field to query operations.
|
static ControllingAreaField<String> |
FINANCIAL_MANAGEMENT_AREA
Use with available fluent helpers to apply the FinancialManagementArea field to query operations.
|
static ControllingAreaField<String> |
FISCAL_YEAR_VARIANT
Use with available fluent helpers to apply the FiscalYearVariant field to query operations.
|
static ControllingAreaField<String> |
PROFIT_CENTER_ACCOUNTING_CURRENCY
Use with available fluent helpers to apply the ProfitCenterAccountingCurrency field to query operations.
|
static ControllingAreaField<String> |
PROFIT_CENTER_STANDARD_HIERARCHY
Use with available fluent helpers to apply the ProfitCenterStandardHierarchy field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ControllingArea() |
ControllingArea(String controllingArea,
String fiscalYearVariant,
String controllingAreaName,
String controllingAreaCurrency,
String chartOfAccounts,
String costCenterStandardHierarchy,
String profitCenterStandardHierarchy,
String financialManagementArea,
String controllingAreaCurrencyRole,
String profitCenterAccountingCurrency) |
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 ControllingArea.ControllingAreaBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ControllingAreaField<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 |
getChartOfAccounts()
Constraints: Not nullable, Maximum length: 4
|
String |
getControllingArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getControllingAreaCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getControllingAreaCurrencyRole()
Constraints: Not nullable, Maximum length: 2
|
String |
getControllingAreaName()
Constraints: Not nullable, Maximum length: 25
|
String |
getCostCenterStandardHierarchy()
Constraints: Not nullable, Maximum length: 12
|
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.
|
String |
getFinancialManagementArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getFiscalYearVariant()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
String |
getProfitCenterAccountingCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getProfitCenterStandardHierarchy()
Constraints: Not nullable, Maximum length: 12
|
Class<ControllingArea> |
getType() |
int |
hashCode() |
void |
setChartOfAccounts(String chartOfAccounts)
Constraints: Not nullable, Maximum length: 4
|
void |
setControllingArea(String controllingArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setControllingAreaCurrency(String controllingAreaCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setControllingAreaCurrencyRole(String controllingAreaCurrencyRole)
Constraints: Not nullable, Maximum length: 2
|
void |
setControllingAreaName(String controllingAreaName)
Constraints: Not nullable, Maximum length: 25
|
void |
setCostCenterStandardHierarchy(String costCenterStandardHierarchy)
Constraints: Not nullable, Maximum length: 12
|
void |
setFinancialManagementArea(String financialManagementArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setFiscalYearVariant(String fiscalYearVariant)
Constraints: Not nullable, Maximum length: 2
|
void |
setProfitCenterAccountingCurrency(String profitCenterAccountingCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setProfitCenterStandardHierarchy(String profitCenterStandardHierarchy)
Constraints: Not nullable, Maximum length: 12
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 ControllingAreaSelectable ALL_FIELDS
public static final ControllingAreaField<String> CONTROLLING_AREA
public static final ControllingAreaField<String> FISCAL_YEAR_VARIANT
public static final ControllingAreaField<String> CONTROLLING_AREA_NAME
public static final ControllingAreaField<String> CONTROLLING_AREA_CURRENCY
public static final ControllingAreaField<String> CHART_OF_ACCOUNTS
public static final ControllingAreaField<String> COST_CENTER_STANDARD_HIERARCHY
public static final ControllingAreaField<String> PROFIT_CENTER_STANDARD_HIERARCHY
public static final ControllingAreaField<String> FINANCIAL_MANAGEMENT_AREA
public static final ControllingAreaField<String> CONTROLLING_AREA_CURRENCY_ROLE
public static final ControllingAreaField<String> PROFIT_CENTER_ACCOUNTING_CURRENCY
public ControllingArea()
public ControllingArea(@Nullable String controllingArea, @Nullable String fiscalYearVariant, @Nullable String controllingAreaName, @Nullable String controllingAreaCurrency, @Nullable String chartOfAccounts, @Nullable String costCenterStandardHierarchy, @Nullable String profitCenterStandardHierarchy, @Nullable String financialManagementArea, @Nullable String controllingAreaCurrencyRole, @Nullable String profitCenterAccountingCurrency)
@Nonnull public Class<ControllingArea> getType()
getType
in class VdmObject<ControllingArea>
public void setControllingArea(@Nullable String controllingArea)
Original property name from the Odata EDM: ControllingArea
controllingArea
- Controlling Areapublic void setFiscalYearVariant(@Nullable String fiscalYearVariant)
Original property name from the Odata EDM: FiscalYearVariant
fiscalYearVariant
- Fiscal Year Variantpublic void setControllingAreaName(@Nullable String controllingAreaName)
Original property name from the Odata EDM: ControllingAreaName
controllingAreaName
- Controlling Area Namepublic void setControllingAreaCurrency(@Nullable String controllingAreaCurrency)
Original property name from the Odata EDM: ControllingAreaCurrency
controllingAreaCurrency
- Currency Keypublic void setChartOfAccounts(@Nullable String chartOfAccounts)
Original property name from the Odata EDM: ChartOfAccounts
chartOfAccounts
- Chart of Accountspublic void setCostCenterStandardHierarchy(@Nullable String costCenterStandardHierarchy)
Original property name from the Odata EDM: CostCenterStandardHierarchy
costCenterStandardHierarchy
- Standard Hierarchy for Cost Centerspublic void setProfitCenterStandardHierarchy(@Nullable String profitCenterStandardHierarchy)
Original property name from the Odata EDM: ProfitCenterStandardHierarchy
profitCenterStandardHierarchy
- Profit center areapublic void setFinancialManagementArea(@Nullable String financialManagementArea)
Original property name from the Odata EDM: FinancialManagementArea
financialManagementArea
- Financial Management Areapublic void setControllingAreaCurrencyRole(@Nullable String controllingAreaCurrencyRole)
Original property name from the Odata EDM: ControllingAreaCurrencyRole
controllingAreaCurrencyRole
- Currency Type for Controlling Areapublic void setProfitCenterAccountingCurrency(@Nullable String profitCenterAccountingCurrency)
Original property name from the Odata EDM: ProfitCenterAccountingCurrency
profitCenterAccountingCurrency
- Local Currency for Profit Center Accountingprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ControllingArea>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ControllingArea>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ControllingArea>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ControllingArea>
@Nonnull public static <T> ControllingAreaField<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> ControllingAreaField<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<ControllingArea>
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<ControllingArea>
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<ControllingArea>
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<ControllingArea>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ControllingArea.ControllingAreaBuilder builder()
@Nullable public String getControllingArea()
Original property name from the Odata EDM: ControllingArea
@Nullable public String getFiscalYearVariant()
Original property name from the Odata EDM: FiscalYearVariant
@Nullable public String getControllingAreaName()
Original property name from the Odata EDM: ControllingAreaName
@Nullable public String getControllingAreaCurrency()
Original property name from the Odata EDM: ControllingAreaCurrency
@Nullable public String getChartOfAccounts()
Original property name from the Odata EDM: ChartOfAccounts
@Nullable public String getCostCenterStandardHierarchy()
Original property name from the Odata EDM: CostCenterStandardHierarchy
@Nullable public String getProfitCenterStandardHierarchy()
Original property name from the Odata EDM: ProfitCenterStandardHierarchy
@Nullable public String getFinancialManagementArea()
Original property name from the Odata EDM: FinancialManagementArea
@Nullable public String getControllingAreaCurrencyRole()
Original property name from the Odata EDM: ControllingAreaCurrencyRole
@Nullable public String getProfitCenterAccountingCurrency()
Original property name from the Odata EDM: ProfitCenterAccountingCurrency
@Nonnull public String toString()
toString
in class VdmObject<ControllingArea>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ControllingArea>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ControllingArea>
public int hashCode()
hashCode
in class VdmObject<ControllingArea>
Copyright © 2021 SAP SE. All rights reserved.