/AWS1/CL_GLUFIELDDEFINITION¶
Defines a field in an entity schema for REST connector data sources, specifying the field name and data type.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/GLUSTRING /AWS1/GLUSTRING¶
The name of the field in the entity schema.
iv_fielddatatype TYPE /AWS1/GLUFIELDDATATYPE /AWS1/GLUFIELDDATATYPE¶
The data type of the field.
Queryable Attributes¶
Name¶
The name of the field in the entity schema.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
FieldDataType¶
The data type of the field.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FIELDDATATYPE() |
Getter for FIELDDATATYPE, with configurable default |
ASK_FIELDDATATYPE() |
Getter for FIELDDATATYPE w/ exceptions if field has no value |
HAS_FIELDDATATYPE() |
Determine if FIELDDATATYPE has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TS_FIELDDEFINITIONMAP_MAPROW¶
TYPES: BEGIN OF TS_FIELDDEFINITIONMAP_MAPROW,
key TYPE /AWS1/GLUFIELDDEFNMAPKEYSTRING,
value TYPE REF TO /AWS1/CL_GLUFIELDDEFINITION,
END OF TS_FIELDDEFINITIONMAP_MAPROW.
TT_FIELDDEFINITIONMAP¶
TYPES TT_FIELDDEFINITIONMAP TYPE HASHED TABLE OF /AWS1/CL_GLUFIELDDEFINITION=>TS_FIELDDEFINITIONMAP_MAPROW WITH UNIQUE KEY key
.