public class StatisticalKeyFigure extends VdmEntity<StatisticalKeyFigure>
Original entity name from the Odata EDM: A_StatisticalKeyFigureType
Modifier and Type | Class and Description |
---|---|
static class |
StatisticalKeyFigure.StatisticalKeyFigureBuilder |
Modifier and Type | Field and Description |
---|---|
static StatisticalKeyFigureSelectable |
ALL_FIELDS
Selector for all available fields of StatisticalKeyFigure.
|
static StatisticalKeyFigureField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static StatisticalKeyFigureField<String> |
STATISTICAL_KEY_FIGURE
Use with available fluent helpers to apply the StatisticalKeyFigure field to query operations.
|
static StatisticalKeyFigureField<String> |
STSTC_KEY_FIG_CATEGORY
Use with available fluent helpers to apply the StstcKeyFigCategory field to query operations.
|
static StatisticalKeyFigureField<String> |
STSTC_KEY_FIG_QUANTITY_UNIT
Use with available fluent helpers to apply the StstcKeyFigQuantityUnit field to query operations.
|
static StatisticalKeyFigureLink<StatisticalKeyFigureText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
StatisticalKeyFigure() |
StatisticalKeyFigure(String statisticalKeyFigure,
String controllingArea,
String ststcKeyFigQuantityUnit,
String ststcKeyFigCategory,
ErpConfigContext erpConfigContext,
List<StatisticalKeyFigureText> toText) |
Modifier and Type | Method and Description |
---|---|
void |
addText(StatisticalKeyFigureText... entity)
Adds elements to the list of associated StatisticalKeyFigureText entities.
|
static StatisticalKeyFigure.StatisticalKeyFigureBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<StatisticalKeyFigureText> |
fetchText()
Fetches the StatisticalKeyFigureText entities (one to many) associated with this entity.
|
static <T> StatisticalKeyFigureField<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 |
getControllingArea()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: ControllingArea
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
protected Map<String,Object> |
getKey() |
String |
getStatisticalKeyFigure()
(Key Field) Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: StatisticalKeyFigure
|
String |
getStstcKeyFigCategory()
Constraints: Not nullable, Maximum length: 1 Original property name from the Odata EDM: StstcKeyFigCategory
|
String |
getStstcKeyFigQuantityUnit()
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: StstcKeyFigQuantityUnit
|
Optional<List<StatisticalKeyFigureText>> |
getTextIfPresent()
Retrieval of associated StatisticalKeyFigureText entities (one to many).
|
List<StatisticalKeyFigureText> |
getTextOrFetch()
Retrieval of associated StatisticalKeyFigureText entities (one to many).
|
Class<StatisticalKeyFigure> |
getType() |
int |
hashCode() |
void |
setControllingArea(String controllingArea)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: ControllingArea
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setStatisticalKeyFigure(String statisticalKeyFigure)
(Key Field) Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: StatisticalKeyFigure
|
void |
setStstcKeyFigCategory(String ststcKeyFigCategory)
Constraints: Not nullable, Maximum length: 1 Original property name from the Odata EDM: StstcKeyFigCategory
|
void |
setStstcKeyFigQuantityUnit(String ststcKeyFigQuantityUnit)
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: StstcKeyFigQuantityUnit
|
void |
setText(List<StatisticalKeyFigureText> value)
Overwrites the list of associated StatisticalKeyFigureText entities for the loaded navigation property to_Text.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final StatisticalKeyFigureSelectable ALL_FIELDS
public static final StatisticalKeyFigureField<String> STATISTICAL_KEY_FIGURE
public static final StatisticalKeyFigureField<String> CONTROLLING_AREA
public static final StatisticalKeyFigureField<String> STSTC_KEY_FIG_QUANTITY_UNIT
public static final StatisticalKeyFigureField<String> STSTC_KEY_FIG_CATEGORY
public static final StatisticalKeyFigureLink<StatisticalKeyFigureText> TO_TEXT
@Nonnull public Class<StatisticalKeyFigure> getType()
getType
in class VdmObject<StatisticalKeyFigure>
public void setStatisticalKeyFigure(@Nullable String statisticalKeyFigure)
Original property name from the Odata EDM: StatisticalKeyFigure
statisticalKeyFigure
- Statistical Key Figurepublic void setControllingArea(@Nullable String controllingArea)
Original property name from the Odata EDM: ControllingArea
controllingArea
- Controlling Areapublic void setStstcKeyFigQuantityUnit(@Nullable String ststcKeyFigQuantityUnit)
Original property name from the Odata EDM: StstcKeyFigQuantityUnit
ststcKeyFigQuantityUnit
- Unit for Statistical Key Figurepublic void setStstcKeyFigCategory(@Nullable String ststcKeyFigCategory)
Original property name from the Odata EDM: StstcKeyFigCategory
ststcKeyFigCategory
- Statistical Key Figure Categoryprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<StatisticalKeyFigure>
protected Map<String,Object> getKey()
getKey
in class VdmObject<StatisticalKeyFigure>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<StatisticalKeyFigure>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<StatisticalKeyFigure>
@Nonnull public static <T> StatisticalKeyFigureField<T> field(@Nonnull String fieldName, @Nonnull 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.@Nonnull public static <T,DomainT> StatisticalKeyFigureField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<StatisticalKeyFigure>
@Nonnull public List<StatisticalKeyFigureText> 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<StatisticalKeyFigureText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Text of a queried StatisticalKeyFigure 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 Optional<List<StatisticalKeyFigureText>> getTextIfPresent()
If the navigation property for an entity StatisticalKeyFigure has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setText(@Nonnull List<StatisticalKeyFigureText> value)
If the navigation property to_Text of a queried StatisticalKeyFigure 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 StatisticalKeyFigureText entities.public void addText(StatisticalKeyFigureText... entity)
If the navigation property to_Text of a queried StatisticalKeyFigure 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 StatisticalKeyFigureText entities.public static StatisticalKeyFigure.StatisticalKeyFigureBuilder builder()
@Nullable public String getStatisticalKeyFigure()
Original property name from the Odata EDM: StatisticalKeyFigure
@Nullable public String getControllingArea()
Original property name from the Odata EDM: ControllingArea
@Nullable public String getStstcKeyFigQuantityUnit()
Original property name from the Odata EDM: StstcKeyFigQuantityUnit
@Nullable public String getStstcKeyFigCategory()
Original property name from the Odata EDM: StstcKeyFigCategory
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<StatisticalKeyFigure>
erpConfigContext
- public String toString()
toString
in class VdmObject<StatisticalKeyFigure>
public boolean equals(Object o)
equals
in class VdmObject<StatisticalKeyFigure>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<StatisticalKeyFigure>
public int hashCode()
hashCode
in class VdmObject<StatisticalKeyFigure>
Copyright © 2018 SAP SE. All rights reserved.