public class FunctionalArea extends Entity<FunctionalArea>
Modifier and Type | Class and Description |
---|---|
static class |
FunctionalArea.FunctionalAreaBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<FunctionalArea,String> |
FUNCTIONAL_AREA
Use with available fluent helpers to apply the FunctionalArea field to query operations.
|
Constructor and Description |
---|
FunctionalArea() |
FunctionalArea(String functionalArea,
ErpConfigContext erpConfigContext,
List<FunctionalAreaText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addText(FunctionalAreaText... entity)
Adds elements to the list of associated FunctionalAreaText entities.
|
static FunctionalArea.FunctionalAreaBuilder |
builder() |
boolean |
equals(Object o) |
List<FunctionalAreaText> |
fetchText()
Fetches the FunctionalAreaText entities (one to many) associated with this entity.
|
static <T> EntityField<FunctionalArea,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getFunctionalArea()
(Key Field) Constraints: Not nullable, Maximum length: 16
|
List<FunctionalAreaText> |
getTextOrFetch()
Retrieval of associated FunctionalAreaText entities (one to many).
|
com.google.common.base.Optional<List<FunctionalAreaText>> |
getTextOrNull()
Retrieval of associated FunctionalAreaText entities (one to many).
|
Class<FunctionalArea> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setFunctionalArea(String functionalArea)
(Key Field) Constraints: Not nullable, Maximum length: 16
|
void |
setText(List<FunctionalAreaText> value)
Overwrites the list of associated FunctionalAreaText entities for the loaded navigation property to_Text.
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField
public static final EntityField<FunctionalArea,String> FUNCTIONAL_AREA
@Generated(value="lombok") public FunctionalArea()
@ConstructorProperties(value={"functionalArea","erpConfigContext","toText"}) @Generated(value="lombok") public FunctionalArea(@Nullable String functionalArea, @Nullable ErpConfigContext erpConfigContext, List<FunctionalAreaText> toText)
public Class<FunctionalArea> getType()
getType
in class Entity<FunctionalArea>
public static <T> EntityField<FunctionalArea,T> field(String fieldName, Class<T> fieldType)
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.public List<FunctionalAreaText> 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
public List<FunctionalAreaText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried FunctionalArea 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
public com.google.common.base.Optional<List<FunctionalAreaText>> getTextOrNull()
If the navigation property to_Text for an entity FunctionalArea has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setText(@NonNull List<FunctionalAreaText> value) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried FunctionalArea 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 FunctionalAreaText entities.com.sap.cloud.sdk.odatav2.connectivity.ODataException
public void addText(FunctionalAreaText... entity) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried FunctionalArea 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 FunctionalAreaText entities.com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static FunctionalArea.FunctionalAreaBuilder builder()
@Nullable @Generated(value="lombok") public String getFunctionalArea()
Use for Cost-of-Sales Accounting The functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria: Manufacturing Administration Sales Research and development Use for Government The functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization. Use in cost-of-sales accounting See the documentation on Filling the Functional Area Field. For comprehensive information on cost-of-sales accounting and on the functional area, see the SAP Library under Accounting -> Financial Accounting -> General Ledger -> Cost-of-Sales Accounting. Use in government For more information on the functional area, see the implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setFunctionalArea(@Nullable String functionalArea)
Use for Cost-of-Sales Accounting The functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria: Manufacturing Administration Sales Research and development Use for Government The functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization. Use in cost-of-sales accounting See the documentation on Filling the Functional Area Field. For comprehensive information on cost-of-sales accounting and on the functional area, see the SAP Library under Accounting -> Financial Accounting -> General Ledger -> Cost-of-Sales Accounting. Use in government For more information on the functional area, see the implementation Guide for Funds Management Government in the section Activate Account Assignment Elements.
functionalArea
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<FunctionalArea>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<FunctionalArea>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<FunctionalArea>
Copyright © 2017 SAP SE. All rights reserved.