/AWS1/CL_CWLRENAMEKEYENTRY¶
This object defines one key that will be renamed with the renameKey processor.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_key TYPE /AWS1/CWLKEY /AWS1/CWLKEY¶
The key to rename
iv_renameto TYPE /AWS1/CWLRENAMETO /AWS1/CWLRENAMETO¶
The string to use for the new key name
Optional arguments:¶
iv_overwriteifexists TYPE /AWS1/CWLOVERWRITEIFEXISTS /AWS1/CWLOVERWRITEIFEXISTS¶
Specifies whether to overwrite the existing value if the destination key already exists. The default is
false
Queryable Attributes¶
key¶
The key to rename
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_KEY() |
Getter for KEY, with configurable default |
ASK_KEY() |
Getter for KEY w/ exceptions if field has no value |
HAS_KEY() |
Determine if KEY has a value |
renameTo¶
The string to use for the new key name
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RENAMETO() |
Getter for RENAMETO, with configurable default |
ASK_RENAMETO() |
Getter for RENAMETO w/ exceptions if field has no value |
HAS_RENAMETO() |
Determine if RENAMETO has a value |
overwriteIfExists¶
Specifies whether to overwrite the existing value if the destination key already exists. The default is
false
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OVERWRITEIFEXISTS() |
Getter for OVERWRITEIFEXISTS |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_RENAMEKEYENTRIES¶
TYPES TT_RENAMEKEYENTRIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWLRENAMEKEYENTRY WITH DEFAULT KEY
.