public class ConsolidationAllMDAttribute extends VdmEntity<ConsolidationAllMDAttribute>
Original entity name from the Odata EDM: ConsolidationAllMDAttributeType
Modifier and Type | Class and Description |
---|---|
static class |
ConsolidationAllMDAttribute.ConsolidationAllMDAttributeBuilder
Helper class to allow for fluent creation of ConsolidationAllMDAttribute instances.
|
Modifier and Type | Field and Description |
---|---|
static ConsolidationAllMDAttributeSelectable |
ALL_FIELDS
Selector for all available fields of ConsolidationAllMDAttribute.
|
static ConsolidationAllMDAttributeField<Boolean> |
CONSOLIDATION_ATTRIBUTE_MULTI_VAL
Use with available fluent helpers to apply the ConsolidationAttributeMultiVal field to query operations.
|
static ConsolidationAllMDAttributeField<String> |
CONSOLIDATION_ATTRIBUTE_NAME
Use with available fluent helpers to apply the ConsolidationAttributeName field to query operations.
|
static ConsolidationAllMDAttributeField<String> |
CONSOLIDATION_ATTRIBUTE_NAME_TEXT
Use with available fluent helpers to apply the ConsolidationAttributeName_Text field to query operations.
|
static ConsolidationAllMDAttributeField<String> |
CONSOLIDATION_ATTRIBUTE_SUPRORD
Use with available fluent helpers to apply the ConsolidationAttributeSuprord field to query operations.
|
static ConsolidationAllMDAttributeField<String> |
CONSOLIDATION_ATTRIBUTE_SUPRORD2
Use with available fluent helpers to apply the ConsolidationAttributeSuprord2 field to query operations.
|
static ConsolidationAllMDAttributeField<String> |
CONSOLIDATION_ATTRIBUTE_SUPRORD3
Use with available fluent helpers to apply the ConsolidationAttributeSuprord3 field to query operations.
|
static ConsolidationAllMDAttributeField<String> |
CONSOLIDATION_ATTRIBUTE_SUPRORD4
Use with available fluent helpers to apply the ConsolidationAttributeSuprord4 field to query operations.
|
static ConsolidationAllMDAttributeField<String> |
CONSOLIDATION_MD_CHARC_NAME
Use with available fluent helpers to apply the ConsolidationMDCharcName field to query operations.
|
static ConsolidationAllMDAttributeOneToOneLink<ConsolidationAllMasterData> |
TO_CNSLDTN_ALL_MD
Use with available fluent helpers to apply the to_CnsldtnAllMD navigation property to query operations.
|
static ConsolidationAllMDAttributeLink<ConsolidationAllMDAttribText> |
TO_CNSLDTN_ALL_MD_ATTRIB_T
Use with available fluent helpers to apply the to_CnsldtnAllMDAttribT navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
ConsolidationAllMDAttribute() |
ConsolidationAllMDAttribute(String consolidationAttributeName,
String consolidationAttributeName_Text,
String consolidationMDCharcName,
String consolidationAttributeSuprord,
String consolidationAttributeSuprord2,
String consolidationAttributeSuprord3,
String consolidationAttributeSuprord4,
Boolean consolidationAttributeMultiVal,
ConsolidationAllMasterData toCnsldtnAllMD,
List<ConsolidationAllMDAttribText> toCnsldtnAllMDAttribT) |
Modifier and Type | Method and Description |
---|---|
void |
addCnsldtnAllMDAttribT(ConsolidationAllMDAttribText... entity)
Adds elements to the list of associated ConsolidationAllMDAttribText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ConsolidationAllMDAttribute.ConsolidationAllMDAttributeBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ConsolidationAllMasterData |
fetchCnsldtnAllMD()
Fetches the ConsolidationAllMasterData entity (one to one) associated with this entity.
|
List<ConsolidationAllMDAttribText> |
fetchCnsldtnAllMDAttribT()
Fetches the ConsolidationAllMDAttribText entities (one to many) associated with this entity.
|
static <T> ConsolidationAllMDAttributeField<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) |
io.vavr.control.Option<List<ConsolidationAllMDAttribText>> |
getCnsldtnAllMDAttribTIfPresent()
Retrieval of associated ConsolidationAllMDAttribText entities (one to many).
|
List<ConsolidationAllMDAttribText> |
getCnsldtnAllMDAttribTOrFetch()
Retrieval of associated ConsolidationAllMDAttribText entities (one to many).
|
io.vavr.control.Option<ConsolidationAllMasterData> |
getCnsldtnAllMDIfPresent()
Retrieval of associated ConsolidationAllMasterData entity (one to one).
|
ConsolidationAllMasterData |
getCnsldtnAllMDOrFetch()
Retrieval of associated ConsolidationAllMasterData entity (one to one).
|
Boolean |
getConsolidationAttributeMultiVal()
Constraints: none
|
String |
getConsolidationAttributeName_Text()
Constraints: Not nullable, Maximum length: 20
|
String |
getConsolidationAttributeName()
(Key Field) Constraints: Not nullable, Maximum length: 36
|
String |
getConsolidationAttributeSuprord()
Constraints: Not nullable, Maximum length: 30
|
String |
getConsolidationAttributeSuprord2()
Constraints: Not nullable, Maximum length: 30
|
String |
getConsolidationAttributeSuprord3()
Constraints: Not nullable, Maximum length: 30
|
String |
getConsolidationAttributeSuprord4()
Constraints: Not nullable, Maximum length: 30
|
String |
getConsolidationMDCharcName()
(Key Field) 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<ConsolidationAllMDAttribute> |
getType() |
int |
hashCode() |
void |
setCnsldtnAllMD(ConsolidationAllMasterData value)
Overwrites the associated ConsolidationAllMasterData entity for the loaded navigation property
to_CnsldtnAllMD.
|
void |
setCnsldtnAllMDAttribT(List<ConsolidationAllMDAttribText> value)
Overwrites the list of associated ConsolidationAllMDAttribText entities for the loaded navigation property
to_CnsldtnAllMDAttribT.
|
void |
setConsolidationAttributeMultiVal(Boolean consolidationAttributeMultiVal)
Constraints: none
|
void |
setConsolidationAttributeName_Text(String consolidationAttributeName_Text)
Constraints: Not nullable, Maximum length: 20
|
void |
setConsolidationAttributeName(String consolidationAttributeName)
(Key Field) Constraints: Not nullable, Maximum length: 36
|
void |
setConsolidationAttributeSuprord(String consolidationAttributeSuprord)
Constraints: Not nullable, Maximum length: 30
|
void |
setConsolidationAttributeSuprord2(String consolidationAttributeSuprord2)
Constraints: Not nullable, Maximum length: 30
|
void |
setConsolidationAttributeSuprord3(String consolidationAttributeSuprord3)
Constraints: Not nullable, Maximum length: 30
|
void |
setConsolidationAttributeSuprord4(String consolidationAttributeSuprord4)
Constraints: Not nullable, Maximum length: 30
|
void |
setConsolidationMDCharcName(String consolidationMDCharcName)
(Key Field) 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 ConsolidationAllMDAttributeSelectable ALL_FIELDS
public static final ConsolidationAllMDAttributeField<String> CONSOLIDATION_ATTRIBUTE_NAME
public static final ConsolidationAllMDAttributeField<String> CONSOLIDATION_ATTRIBUTE_NAME_TEXT
public static final ConsolidationAllMDAttributeField<String> CONSOLIDATION_MD_CHARC_NAME
public static final ConsolidationAllMDAttributeField<String> CONSOLIDATION_ATTRIBUTE_SUPRORD
public static final ConsolidationAllMDAttributeField<String> CONSOLIDATION_ATTRIBUTE_SUPRORD2
public static final ConsolidationAllMDAttributeField<String> CONSOLIDATION_ATTRIBUTE_SUPRORD3
public static final ConsolidationAllMDAttributeField<String> CONSOLIDATION_ATTRIBUTE_SUPRORD4
public static final ConsolidationAllMDAttributeField<Boolean> CONSOLIDATION_ATTRIBUTE_MULTI_VAL
public static final ConsolidationAllMDAttributeOneToOneLink<ConsolidationAllMasterData> TO_CNSLDTN_ALL_MD
public static final ConsolidationAllMDAttributeLink<ConsolidationAllMDAttribText> TO_CNSLDTN_ALL_MD_ATTRIB_T
public ConsolidationAllMDAttribute()
public ConsolidationAllMDAttribute(@Nullable String consolidationAttributeName, @Nullable String consolidationAttributeName_Text, @Nullable String consolidationMDCharcName, @Nullable String consolidationAttributeSuprord, @Nullable String consolidationAttributeSuprord2, @Nullable String consolidationAttributeSuprord3, @Nullable String consolidationAttributeSuprord4, @Nullable Boolean consolidationAttributeMultiVal, @Nullable ConsolidationAllMasterData toCnsldtnAllMD, List<ConsolidationAllMDAttribText> toCnsldtnAllMDAttribT)
@Nonnull public Class<ConsolidationAllMDAttribute> getType()
getType
in class VdmObject<ConsolidationAllMDAttribute>
public void setConsolidationAttributeName(@Nullable String consolidationAttributeName)
Original property name from the Odata EDM: ConsolidationAttributeName
consolidationAttributeName
- Characteristic Attributepublic void setConsolidationAttributeName_Text(@Nullable String consolidationAttributeName_Text)
Original property name from the Odata EDM: ConsolidationAttributeName_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
consolidationAttributeName_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 setConsolidationMDCharcName(@Nullable String consolidationMDCharcName)
Original property name from the Odata EDM: ConsolidationMDCharcName
consolidationMDCharcName
- Characteristic Namepublic void setConsolidationAttributeSuprord(@Nullable String consolidationAttributeSuprord)
Original property name from the Odata EDM: ConsolidationAttributeSuprord
consolidationAttributeSuprord
- Superordinate Fieldpublic void setConsolidationAttributeSuprord2(@Nullable String consolidationAttributeSuprord2)
Original property name from the Odata EDM: ConsolidationAttributeSuprord2
consolidationAttributeSuprord2
- Superordinate Fieldpublic void setConsolidationAttributeSuprord3(@Nullable String consolidationAttributeSuprord3)
Original property name from the Odata EDM: ConsolidationAttributeSuprord3
consolidationAttributeSuprord3
- Superordinate Fieldpublic void setConsolidationAttributeSuprord4(@Nullable String consolidationAttributeSuprord4)
Original property name from the Odata EDM: ConsolidationAttributeSuprord4
consolidationAttributeSuprord4
- Superordinate Fieldpublic void setConsolidationAttributeMultiVal(@Nullable Boolean consolidationAttributeMultiVal)
Original property name from the Odata EDM: ConsolidationAttributeMultiVal
consolidationAttributeMultiVal
- Multiple Values for Consolidation Characteristic Attributeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ConsolidationAllMDAttribute>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ConsolidationAllMDAttribute>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ConsolidationAllMDAttribute>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ConsolidationAllMDAttribute>
@Nonnull public static <T> ConsolidationAllMDAttributeField<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> ConsolidationAllMDAttributeField<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<ConsolidationAllMDAttribute>
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<ConsolidationAllMDAttribute>
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<ConsolidationAllMDAttribute>
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<ConsolidationAllMDAttribute>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ConsolidationAllMDAttribute>
@Nullable public ConsolidationAllMasterData fetchCnsldtnAllMD() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.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.@Nullable public ConsolidationAllMasterData getCnsldtnAllMDOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CnsldtnAllMD of a queried ConsolidationAllMDAttribute 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<ConsolidationAllMasterData> getCnsldtnAllMDIfPresent()
If the navigation property for an entity ConsolidationAllMDAttribute 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 setCnsldtnAllMD(ConsolidationAllMasterData value)
value
- New ConsolidationAllMasterData entity.@Nonnull public List<ConsolidationAllMDAttribText> fetchCnsldtnAllMDAttribT() 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<ConsolidationAllMDAttribText> getCnsldtnAllMDAttribTOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_CnsldtnAllMDAttribT of a queried ConsolidationAllMDAttribute 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<ConsolidationAllMDAttribText>> getCnsldtnAllMDAttribTIfPresent()
If the navigation property for an entity ConsolidationAllMDAttribute 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 setCnsldtnAllMDAttribT(@Nonnull List<ConsolidationAllMDAttribText> value)
If the navigation property to_CnsldtnAllMDAttribT of a queried ConsolidationAllMDAttribute 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 ConsolidationAllMDAttribText entities.public void addCnsldtnAllMDAttribT(ConsolidationAllMDAttribText... entity)
If the navigation property to_CnsldtnAllMDAttribT of a queried ConsolidationAllMDAttribute 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 ConsolidationAllMDAttribText entities.public static ConsolidationAllMDAttribute.ConsolidationAllMDAttributeBuilder builder()
@Nullable public String getConsolidationAttributeName()
Original property name from the Odata EDM: ConsolidationAttributeName
@Nullable public String getConsolidationAttributeName_Text()
Original property name from the Odata EDM: ConsolidationAttributeName_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 String getConsolidationMDCharcName()
Original property name from the Odata EDM: ConsolidationMDCharcName
@Nullable public String getConsolidationAttributeSuprord()
Original property name from the Odata EDM: ConsolidationAttributeSuprord
@Nullable public String getConsolidationAttributeSuprord2()
Original property name from the Odata EDM: ConsolidationAttributeSuprord2
@Nullable public String getConsolidationAttributeSuprord3()
Original property name from the Odata EDM: ConsolidationAttributeSuprord3
@Nullable public String getConsolidationAttributeSuprord4()
Original property name from the Odata EDM: ConsolidationAttributeSuprord4
@Nullable public Boolean getConsolidationAttributeMultiVal()
Original property name from the Odata EDM: ConsolidationAttributeMultiVal
public String toString()
toString
in class VdmObject<ConsolidationAllMDAttribute>
public boolean equals(Object o)
equals
in class VdmObject<ConsolidationAllMDAttribute>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ConsolidationAllMDAttribute>
public int hashCode()
hashCode
in class VdmObject<ConsolidationAllMDAttribute>
Copyright © 2020 SAP SE. All rights reserved.