Contents
class solace.SDTMapContainer
Defines a Structured Data Type (SDT) map container.
Constructor Top
SDTMapContainer ( ) |
Methods Top
void | addField ( String key, solace.SDTField | solace.SDTFieldType typeOrField, * value ) | |
void | deleteField ( String key ) | |
solace.SDTField | getField ( String key ) | |
[ 'Array' ].<String> | getKeys ( ) |
Constructor details
Top
SDTMapContainer
( )
Defines a Structured Data Type (SDT) map container.
SDTMapContainer
( )
Defines a Structured Data Type (SDT) map container.
Methods Detail Top
Adds a field to this map. If a key:value mapping already exists for this key, it is replaced.
Deprecated If typeOrField
is a solace.SDTField instance,
it is added to the map.
The preferred usage is to pass a solace.SDTFieldType, then the API will create a
SDTField of this type using value
before adding it to the map.
public
void
deleteField
( String key )
Delete an SDTField with the given key.
Return the SDTField with the given key.
public
[ 'Array' ].<String>
getKeys
( )
Get the list of keys in this map, in unspecified order.