/AWS1/CL_AANPATHELEMENT¶
A single element in a path through the JSON representation of a policy.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_index TYPE /AWS1/AANINTEGER /AWS1/AANINTEGER¶
Refers to an index in a JSON array.
iv_key TYPE /AWS1/AANSTRING /AWS1/AANSTRING¶
Refers to a key in a JSON object.
io_substring TYPE REF TO /AWS1/CL_AANSUBSTRING /AWS1/CL_AANSUBSTRING¶
Refers to a substring of a literal string in a JSON object.
iv_value TYPE /AWS1/AANSTRING /AWS1/AANSTRING¶
Refers to the value associated with a given key in a JSON object.
Queryable Attributes¶
index¶
Refers to an index in a JSON array.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INDEX() |
Getter for INDEX, with configurable default |
ASK_INDEX() |
Getter for INDEX w/ exceptions if field has no value |
HAS_INDEX() |
Determine if INDEX has a value |
key¶
Refers to a key in a JSON object.
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 |
substring¶
Refers to a substring of a literal string in a JSON object.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUBSTRING() |
Getter for SUBSTRING |
value¶
Refers to the value associated with a given key in a JSON object.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VALUE() |
Getter for VALUE, with configurable default |
ASK_VALUE() |
Getter for VALUE w/ exceptions if field has no value |
HAS_VALUE() |
Determine if VALUE has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_PATHELEMENTLIST¶
TYPES TT_PATHELEMENTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_AANPATHELEMENT WITH DEFAULT KEY
.