/AWS1/CL_IOTTHINGPRINCOBJECT¶
An object that represents the principal and the type of relation it has with the thing.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_principal
TYPE /AWS1/IOTPRINCIPAL
/AWS1/IOTPRINCIPAL
¶
The principal of the thing principal object.
Optional arguments:¶
iv_thingprincipaltype
TYPE /AWS1/IOTTHINGPRINCIPALTYPE
/AWS1/IOTTHINGPRINCIPALTYPE
¶
The type of the relation you want to specify when you attach a principal to a thing. The value defaults to
NON_EXCLUSIVE_THING
.
EXCLUSIVE_THING
- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
NON_EXCLUSIVE_THING
- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
Queryable Attributes¶
principal¶
The principal of the thing principal object.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PRINCIPAL() |
Getter for PRINCIPAL, with configurable default |
ASK_PRINCIPAL() |
Getter for PRINCIPAL w/ exceptions if field has no value |
HAS_PRINCIPAL() |
Determine if PRINCIPAL has a value |
thingPrincipalType¶
The type of the relation you want to specify when you attach a principal to a thing. The value defaults to
NON_EXCLUSIVE_THING
.
EXCLUSIVE_THING
- Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
NON_EXCLUSIVE_THING
- Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
Accessible with the following methods¶
Method | Description |
---|---|
GET_THINGPRINCIPALTYPE() |
Getter for THINGPRINCIPALTYPE, with configurable default |
ASK_THINGPRINCIPALTYPE() |
Getter for THINGPRINCIPALTYPE w/ exceptions if field has no |
HAS_THINGPRINCIPALTYPE() |
Determine if THINGPRINCIPALTYPE 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_THINGPRINCIPALOBJECTS
¶
TYPES TT_THINGPRINCIPALOBJECTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_IOTTHINGPRINCOBJECT WITH DEFAULT KEY
.