public class ConsolidationAllMasterData extends VdmEntity<ConsolidationAllMasterData>
Original entity name from the Odata EDM: ConsolidationAllMasterDataType
Modifier and Type | Class and Description |
---|---|
static class |
ConsolidationAllMasterData.ConsolidationAllMasterDataBuilder
Helper class to allow for fluent creation of ConsolidationAllMasterData instances.
|
Modifier and Type | Field and Description |
---|---|
static ConsolidationAllMasterDataField<String> |
ADDITIONAL_CHARC_FIELD_NAME
Use with available fluent helpers to apply the AdditionalCharcFieldName field to query operations.
|
static ConsolidationAllMasterDataField<String> |
ADDITIONAL_CHARC_FIELD_NAME_TEXT
Use with available fluent helpers to apply the AdditionalCharcFieldName_Text field to query operations.
|
static ConsolidationAllMasterDataField<Boolean> |
ADDITIONAL_CHARC_IS_IN_USE
Use with available fluent helpers to apply the AdditionalCharcIsInUse field to query operations.
|
static ConsolidationAllMasterDataField<Boolean> |
ADDITIONAL_MASTER_DATA_IS_IN_USE
Use with available fluent helpers to apply the AdditionalMasterDataIsInUse field to query operations.
|
static ConsolidationAllMasterDataField<Boolean> |
ADDITIONAL_MD_HIERARCHY_IS_IN_USE
Use with available fluent helpers to apply the AdditionalMDHierarchyIsInUse field to query operations.
|
static ConsolidationAllMasterDataSelectable |
ALL_FIELDS
Selector for all available fields of ConsolidationAllMasterData.
|
static ConsolidationAllMasterDataField<String> |
CONSOLIDATION_MD_PAIRED_FLD_NAME
Use with available fluent helpers to apply the ConsolidationMDPairedFldName field to query operations.
|
static ConsolidationAllMasterDataField<String> |
CONSOLIDATION_MD_SUPRORD_FLD_NAME
Use with available fluent helpers to apply the ConsolidationMDSuprordFldName field to query operations.
|
static ConsolidationAllMasterDataLink<ConsolidationAllMDAttribute> |
TO_CNSLDTN_ALL_CHARCS_ATTRIBUTE
Use with available fluent helpers to apply the to_CnsldtnAllCharcsAttribute navigation property to query
operations.
|
static ConsolidationAllMasterDataLink<ConsolidationAllMDText> |
TO_CNSLDTN_ALL_MDT
Use with available fluent helpers to apply the to_CnsldtnAllMDT navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ConsolidationAllMasterData() |
ConsolidationAllMasterData(String additionalCharcFieldName,
String additionalCharcFieldName_Text,
Boolean additionalCharcIsInUse,
Boolean additionalMasterDataIsInUse,
Boolean additionalMDHierarchyIsInUse,
String consolidationMDPairedFldName,
String consolidationMDSuprordFldName,
List<ConsolidationAllMDAttribute> toCnsldtnAllCharcsAttribute,
List<ConsolidationAllMDText> toCnsldtnAllMDT) |
Modifier and Type | Method and Description |
---|---|
void |
addCnsldtnAllCharcsAttribute(ConsolidationAllMDAttribute... entity)
Adds elements to the list of associated ConsolidationAllMDAttribute entities.
|
void |
addCnsldtnAllMDT(ConsolidationAllMDText... entity)
Adds elements to the list of associated ConsolidationAllMDText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ConsolidationAllMasterData.ConsolidationAllMasterDataBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ConsolidationAllMDAttribute> |
fetchCnsldtnAllCharcsAttribute()
Fetches the ConsolidationAllMDAttribute entities (one to many) associated with this entity.
|
List<ConsolidationAllMDText> |
fetchCnsldtnAllMDT()
Fetches the ConsolidationAllMDText entities (one to many) associated with this entity.
|
static <T> ConsolidationAllMasterDataField<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 |
getAdditionalCharcFieldName_Text()
Constraints: Not nullable, Maximum length: 20
|
String |
getAdditionalCharcFieldName()
(Key Field) Constraints: Not nullable, Maximum length: 30
|
Boolean |
getAdditionalCharcIsInUse()
Constraints: none
|
Boolean |
getAdditionalMasterDataIsInUse()
Constraints: none
|
Boolean |
getAdditionalMDHierarchyIsInUse()
Constraints: none
|
io.vavr.control.Option<List<ConsolidationAllMDAttribute>> |
getCnsldtnAllCharcsAttributeIfPresent()
Retrieval of associated ConsolidationAllMDAttribute entities (one to many).
|
List<ConsolidationAllMDAttribute> |
getCnsldtnAllCharcsAttributeOrFetch()
Retrieval of associated ConsolidationAllMDAttribute entities (one to many).
|
io.vavr.control.Option<List<ConsolidationAllMDText>> |
getCnsldtnAllMDTIfPresent()
Retrieval of associated ConsolidationAllMDText entities (one to many).
|
List<ConsolidationAllMDText> |
getCnsldtnAllMDTOrFetch()
Retrieval of associated ConsolidationAllMDText entities (one to many).
|
String |
getConsolidationMDPairedFldName()
Constraints: Not nullable, Maximum length: 30
|
String |
getConsolidationMDSuprordFldName()
Constraints: Not nullable, Maximum length: 30
|
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.
|
protected Map<String,Object> |
getKey() |
Class<ConsolidationAllMasterData> |
getType() |
int |
hashCode() |
void |
setAdditionalCharcFieldName_Text(String additionalCharcFieldName_Text)
Constraints: Not nullable, Maximum length: 20
|
void |
setAdditionalCharcFieldName(String additionalCharcFieldName)
(Key Field) Constraints: Not nullable, Maximum length: 30
|
void |
setAdditionalCharcIsInUse(Boolean additionalCharcIsInUse)
Constraints: none
|
void |
setAdditionalMasterDataIsInUse(Boolean additionalMasterDataIsInUse)
Constraints: none
|
void |
setAdditionalMDHierarchyIsInUse(Boolean additionalMDHierarchyIsInUse)
Constraints: none
|
void |
setCnsldtnAllCharcsAttribute(List<ConsolidationAllMDAttribute> value)
Overwrites the list of associated ConsolidationAllMDAttribute entities for the loaded navigation property
to_CnsldtnAllCharcsAttribute.
|
void |
setCnsldtnAllMDT(List<ConsolidationAllMDText> value)
Overwrites the list of associated ConsolidationAllMDText entities for the loaded navigation property
to_CnsldtnAllMDT.
|
void |
setConsolidationMDPairedFldName(String consolidationMDPairedFldName)
Constraints: Not nullable, Maximum length: 30
|
void |
setConsolidationMDSuprordFldName(String consolidationMDSuprordFldName)
Constraints: Not nullable, Maximum length: 30
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 ConsolidationAllMasterDataSelectable ALL_FIELDS
public static final ConsolidationAllMasterDataField<String> ADDITIONAL_CHARC_FIELD_NAME
public static final ConsolidationAllMasterDataField<String> ADDITIONAL_CHARC_FIELD_NAME_TEXT
public static final ConsolidationAllMasterDataField<Boolean> ADDITIONAL_CHARC_IS_IN_USE
public static final ConsolidationAllMasterDataField<Boolean> ADDITIONAL_MASTER_DATA_IS_IN_USE
public static final ConsolidationAllMasterDataField<Boolean> ADDITIONAL_MD_HIERARCHY_IS_IN_USE
public static final ConsolidationAllMasterDataField<String> CONSOLIDATION_MD_PAIRED_FLD_NAME
public static final ConsolidationAllMasterDataField<String> CONSOLIDATION_MD_SUPRORD_FLD_NAME
public static final ConsolidationAllMasterDataLink<ConsolidationAllMDAttribute> TO_CNSLDTN_ALL_CHARCS_ATTRIBUTE
public static final ConsolidationAllMasterDataLink<ConsolidationAllMDText> TO_CNSLDTN_ALL_MDT
public ConsolidationAllMasterData()
public ConsolidationAllMasterData(@Nullable String additionalCharcFieldName, @Nullable String additionalCharcFieldName_Text, @Nullable Boolean additionalCharcIsInUse, @Nullable Boolean additionalMasterDataIsInUse, @Nullable Boolean additionalMDHierarchyIsInUse, @Nullable String consolidationMDPairedFldName, @Nullable String consolidationMDSuprordFldName, List<ConsolidationAllMDAttribute> toCnsldtnAllCharcsAttribute, List<ConsolidationAllMDText> toCnsldtnAllMDT)
@Nonnull public Class<ConsolidationAllMasterData> getType()
getType
in class VdmObject<ConsolidationAllMasterData>
public void setAdditionalCharcFieldName(@Nullable String additionalCharcFieldName)
Original property name from the Odata EDM: AdditionalCharcFieldName
additionalCharcFieldName
- Characteristic Namepublic void setAdditionalCharcFieldName_Text(@Nullable String additionalCharcFieldName_Text)
Original property name from the Odata EDM: AdditionalCharcFieldName_Text
- Short field label- Medium-length field label- Long field label. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).A heading can be defined to output the field values in lists. This heading is automatically included in the list header row in the logon language.NoteFor more information, see Semantic Properties of Data Elements
additionalCharcFieldName_Text
- One of the following descriptions can be assigned as a front text to a screen field with reference to
the ABAP Dictionary:public void setAdditionalCharcIsInUse(@Nullable Boolean additionalCharcIsInUse)
Original property name from the Odata EDM: AdditionalCharcIsInUse
additionalCharcIsInUse
- Select to enable the items as input fields that can be edited or displayed in the relevant
consolidation context.public void setAdditionalMasterDataIsInUse(@Nullable Boolean additionalMasterDataIsInUse)
Original property name from the Odata EDM: AdditionalMasterDataIsInUse
additionalMasterDataIsInUse
- Select to enable the items as master data fields in consolidation, so that they have controlled inputs
and can be used as report dimensions, for example.public void setAdditionalMDHierarchyIsInUse(@Nullable Boolean additionalMDHierarchyIsInUse)
Original property name from the Odata EDM: AdditionalMDHierarchyIsInUse
additionalMDHierarchyIsInUse
- Select to enable the master data hierarchy so that its hierarchical relationships can be maintained in
the relevant apps and reflected in analytical reports.public void setConsolidationMDPairedFldName(@Nullable String consolidationMDPairedFldName)
Original property name from the Odata EDM: ConsolidationMDPairedFldName
consolidationMDPairedFldName
- Characteristic Namepublic void setConsolidationMDSuprordFldName(@Nullable String consolidationMDSuprordFldName)
Original property name from the Odata EDM: ConsolidationMDSuprordFldName
consolidationMDSuprordFldName
- Characteristic Nameprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ConsolidationAllMasterData>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ConsolidationAllMasterData>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ConsolidationAllMasterData>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ConsolidationAllMasterData>
@Nonnull public static <T> ConsolidationAllMasterDataField<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> ConsolidationAllMasterDataField<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<ConsolidationAllMasterData>
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<ConsolidationAllMasterData>
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<ConsolidationAllMasterData>
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<ConsolidationAllMasterData>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ConsolidationAllMasterData>
@Nonnull public List<ConsolidationAllMDAttribute> fetchCnsldtnAllCharcsAttribute() 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<ConsolidationAllMDAttribute> getCnsldtnAllCharcsAttributeOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CnsldtnAllCharcsAttribute of a queried ConsolidationAllMasterData 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<ConsolidationAllMDAttribute>> getCnsldtnAllCharcsAttributeIfPresent()
If the navigation property for an entity ConsolidationAllMasterData 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 setCnsldtnAllCharcsAttribute(@Nonnull List<ConsolidationAllMDAttribute> value)
If the navigation property to_CnsldtnAllCharcsAttribute of a queried ConsolidationAllMasterData 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 ConsolidationAllMDAttribute entities.public void addCnsldtnAllCharcsAttribute(ConsolidationAllMDAttribute... entity)
If the navigation property to_CnsldtnAllCharcsAttribute of a queried ConsolidationAllMasterData 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 ConsolidationAllMDAttribute entities.@Nonnull public List<ConsolidationAllMDText> fetchCnsldtnAllMDT() 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<ConsolidationAllMDText> getCnsldtnAllMDTOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CnsldtnAllMDT of a queried ConsolidationAllMasterData 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<ConsolidationAllMDText>> getCnsldtnAllMDTIfPresent()
If the navigation property for an entity ConsolidationAllMasterData 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 setCnsldtnAllMDT(@Nonnull List<ConsolidationAllMDText> value)
If the navigation property to_CnsldtnAllMDT of a queried ConsolidationAllMasterData 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 ConsolidationAllMDText entities.public void addCnsldtnAllMDT(ConsolidationAllMDText... entity)
If the navigation property to_CnsldtnAllMDT of a queried ConsolidationAllMasterData 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 ConsolidationAllMDText entities.public static ConsolidationAllMasterData.ConsolidationAllMasterDataBuilder builder()
@Nullable public String getAdditionalCharcFieldName()
Original property name from the Odata EDM: AdditionalCharcFieldName
@Nullable public String getAdditionalCharcFieldName_Text()
Original property name from the Odata EDM: AdditionalCharcFieldName_Text
- Short field label- Medium-length field label- Long field label. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).A heading can be defined to output the field values in lists. This heading is automatically included in the list header row in the logon language.NoteFor more information, see Semantic Properties of Data Elements
@Nullable public Boolean getAdditionalCharcIsInUse()
Original property name from the Odata EDM: AdditionalCharcIsInUse
@Nullable public Boolean getAdditionalMasterDataIsInUse()
Original property name from the Odata EDM: AdditionalMasterDataIsInUse
@Nullable public Boolean getAdditionalMDHierarchyIsInUse()
Original property name from the Odata EDM: AdditionalMDHierarchyIsInUse
@Nullable public String getConsolidationMDPairedFldName()
Original property name from the Odata EDM: ConsolidationMDPairedFldName
@Nullable public String getConsolidationMDSuprordFldName()
Original property name from the Odata EDM: ConsolidationMDSuprordFldName
public String toString()
toString
in class VdmObject<ConsolidationAllMasterData>
public boolean equals(Object o)
equals
in class VdmObject<ConsolidationAllMasterData>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ConsolidationAllMasterData>
public int hashCode()
hashCode
in class VdmObject<ConsolidationAllMasterData>
Copyright © 2020 SAP SE. All rights reserved.