ContentAdapterConfiguration::FieldΒΆ

class kanzi::connect::ContentAdapterConfiguration::Field

Describes a single column in database.

Public Functions

Field(const string &column, DataObject::Type type, const string &name)

Constructor.

Parameters
  • column: Name of the column in table.

  • type: Datatype of the column.

  • name: Name of the data object that holds the output value.

Field(const Field &other) = default

Copy constructor.

Parameters
  • other: Other field to copy

Field(Field &&other)

Move constructor.

Parameters
  • other: Other field to move from

bool fillOverrideValues(const Field &overriderField)

Override this fields data with data from another field.

Parameters
  • overriderField: Instance whose data is used

Field &operator=(Field &&other)

Move assignment.

Parameters
  • other: Other field to move from

Field &operator=(const Field &other) = default

Copy assignment operator.

Parameters
  • other: Other field to assign to this

Public Members

string m_column

The name of the database column.

string m_dynamicSourceName

Name of a external object.

string m_lookupColumn

The column that can be used to filter out certain results from the items.

string m_name

The name of the data field.

string m_preloadUrl

If resource, a placeholder resource to be shown while preloading.

DataObject::Type m_type

The type of the data field.