Skip to content

/AWS1/CL_DZNTEXTMATCHITEM

A structure indicating matched terms for an attribute.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_attribute TYPE /AWS1/DZNATTRIBUTE /AWS1/DZNATTRIBUTE

The name of the attribute.

iv_text TYPE /AWS1/DZNSTRING /AWS1/DZNSTRING

Snippet of attribute text containing highlighted content.

it_matchoffsets TYPE /AWS1/CL_DZNMATCHOFFSET=>TT_MATCHOFFSETS TT_MATCHOFFSETS

List of offsets indicating matching terms in the TextMatchItem text.


Queryable Attributes

attribute

The name of the attribute.

Accessible with the following methods

Method Description
GET_ATTRIBUTE() Getter for ATTRIBUTE, with configurable default
ASK_ATTRIBUTE() Getter for ATTRIBUTE w/ exceptions if field has no value
HAS_ATTRIBUTE() Determine if ATTRIBUTE has a value

text

Snippet of attribute text containing highlighted content.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

matchOffsets

List of offsets indicating matching terms in the TextMatchItem text.

Accessible with the following methods

Method Description
GET_MATCHOFFSETS() Getter for MATCHOFFSETS, with configurable default
ASK_MATCHOFFSETS() Getter for MATCHOFFSETS w/ exceptions if field has no value
HAS_MATCHOFFSETS() Determine if MATCHOFFSETS 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_TEXTMATCHES

TYPES TT_TEXTMATCHES TYPE STANDARD TABLE OF REF TO /AWS1/CL_DZNTEXTMATCHITEM WITH DEFAULT KEY
.