public class StatisticalKeyFigureText extends VdmEntity<StatisticalKeyFigureText>
Modifier and Type | Class and Description |
---|---|
static class |
StatisticalKeyFigureText.StatisticalKeyFigureTextBuilder |
Modifier and Type | Field and Description |
---|---|
static StatisticalKeyFigureTextSelectable |
ALL_FIELDS
Selector for all available fields of StatisticalKeyFigureText.
|
static StatisticalKeyFigureTextField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static StatisticalKeyFigureTextField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static StatisticalKeyFigureTextField<String> |
STATISTICAL_KEY_FIGURE
Use with available fluent helpers to apply the StatisticalKeyFigure field to query operations.
|
static StatisticalKeyFigureTextField<String> |
STATISTICAL_KEY_FIGURE_NAME
Use with available fluent helpers to apply the StatisticalKeyFigureName field to query operations.
|
static StatisticalKeyFigureTextLink<StatisticalKeyFigure> |
TO_STATISTICAL_KEY_FIGURE
Use with available fluent helpers to apply the to_StatisticalKeyFigure navigation property to query operations.
|
Constructor and Description |
---|
StatisticalKeyFigureText() |
StatisticalKeyFigureText(String language,
String controllingArea,
String statisticalKeyFigure,
String statisticalKeyFigureName,
ErpConfigContext erpConfigContext,
StatisticalKeyFigure toStatisticalKeyFigure) |
Modifier and Type | Method and Description |
---|---|
static StatisticalKeyFigureText.StatisticalKeyFigureTextBuilder |
builder() |
boolean |
equals(Object o) |
StatisticalKeyFigure |
fetchStatisticalKeyFigure()
Fetches the StatisticalKeyFigure entity (one to one) associated with this entity.
|
static <T> StatisticalKeyFigureTextField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getControllingArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2 - the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
|
String |
getStatisticalKeyFigure()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getStatisticalKeyFigureName()
Constraints: Not nullable, Maximum length: 40
|
StatisticalKeyFigure |
getStatisticalKeyFigureOrFetch()
Retrieval of associated StatisticalKeyFigure entity (one to one).
|
com.google.common.base.Optional<StatisticalKeyFigure> |
getStatisticalKeyFigureOrNull()
Retrieval of associated StatisticalKeyFigure entity (one to one).
|
Class<StatisticalKeyFigureText> |
getType() |
int |
hashCode() |
void |
setControllingArea(String controllingArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2 - the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
|
void |
setStatisticalKeyFigure(StatisticalKeyFigure value)
Overwrites the associated StatisticalKeyFigure entity for the loaded navigation property to_StatisticalKeyFigure.
|
void |
setStatisticalKeyFigure(String value)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setStatisticalKeyFigureName(String statisticalKeyFigureName)
Constraints: Not nullable, Maximum length: 40
|
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final StatisticalKeyFigureTextSelectable ALL_FIELDS
public static final StatisticalKeyFigureTextField<String> LANGUAGE
public static final StatisticalKeyFigureTextField<String> CONTROLLING_AREA
public static final StatisticalKeyFigureTextField<String> STATISTICAL_KEY_FIGURE
public static final StatisticalKeyFigureTextField<String> STATISTICAL_KEY_FIGURE_NAME
public static final StatisticalKeyFigureTextLink<StatisticalKeyFigure> TO_STATISTICAL_KEY_FIGURE
public Class<StatisticalKeyFigureText> getType()
getType
in class VdmObject<StatisticalKeyFigureText>
public static <T> StatisticalKeyFigureTextField<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 StatisticalKeyFigure fetchStatisticalKeyFigure() 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.public StatisticalKeyFigure getStatisticalKeyFigureOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_StatisticalKeyFigure of a queried StatisticalKeyFigureText 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.public com.google.common.base.Optional<StatisticalKeyFigure> getStatisticalKeyFigureOrNull()
If the navigation property to_StatisticalKeyFigure for an entity StatisticalKeyFigureText has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setStatisticalKeyFigure(StatisticalKeyFigure value)
value
- New StatisticalKeyFigure entity.public void setStatisticalKeyFigure(String value)
value
- statisticalKeyFigurepublic static StatisticalKeyFigureText.StatisticalKeyFigureTextBuilder builder()
@Nullable public String getLanguage()
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
@Nullable public String getControllingArea()
@Nullable public String getStatisticalKeyFigure()
@Nullable public String getStatisticalKeyFigureName()
@Nullable public ErpConfigContext getErpConfigContext()
public void setLanguage(@Nullable String language)
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
language
- public void setControllingArea(@Nullable String controllingArea)
controllingArea
- public void setStatisticalKeyFigureName(@Nullable String statisticalKeyFigureName)
statisticalKeyFigureName
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<StatisticalKeyFigureText>
public boolean equals(Object o)
equals
in class VdmObject<StatisticalKeyFigureText>
public int hashCode()
hashCode
in class VdmObject<StatisticalKeyFigureText>
Copyright © 2018 SAP SE. All rights reserved.