Skip to main content

MGCLatticeDmfMappingOverrideContract

One source-to-staging mapping row of a data project's entity line, as a specification carries it.

Methods​

construct​

Creates a new instance of the MGCLatticeDmfMappingOverrideContract class.

  • Visibility: public
  • Returns: MGCLatticeDmfMappingOverrideContract A new instance.

No parameters.

parmSourceField​

Gets or sets the source file field the staging field is read from.

  • Visibility: public
  • Returns: str The source field.
NameTypeOptionalDescription
_sourceFieldstrYesThe source field.

parmStagingField​

Gets or sets the staging table field this row fills.

  • Visibility: public
  • Returns: str The staging field.
NameTypeOptionalDescription
_stagingFieldstrYesThe staging field.

parmAutoDefault​

Gets or sets whether the staging field takes a default value instead of a source field.

  • Visibility: public
  • Returns: boolean Whether the row is auto-default.
NameTypeOptionalDescription
_autoDefaultbooleanYesWhether the row is auto-default.

parmDefaultValue​

Gets or sets the value an auto-default row puts in the staging field, as text.

  • Visibility: public
  • Returns: str The default value.
NameTypeOptionalDescription
_defaultValuestrYesThe default value.

parmUseEnumLabel​

Gets or sets whether an enumeration field is read and written by its label rather than its name.

  • Visibility: public
  • Returns: boolean Whether the label is used.
NameTypeOptionalDescription
_useEnumLabelbooleanYesWhether the label is used.

parmIsAutoGenerated​

Gets or sets whether the staging field is generated, for example from a number sequence.

  • Visibility: public
  • Returns: boolean Whether the row is auto-generated.
NameTypeOptionalDescription
_isAutoGeneratedbooleanYesWhether the row is auto-generated.

parmTextQualifier​

Gets or sets whether the field's value is enclosed in the source format's text qualifier.

  • Visibility: public
  • Returns: boolean Whether the text qualifier is used.
NameTypeOptionalDescription
_textQualifierbooleanYesWhether the text qualifier is used.

parmDefaultValueEqualsNull​

Gets or sets whether a blank source value is treated as no value (Ignore blank values).

  • Visibility: public
  • Returns: boolean Whether blank values are ignored.
NameTypeOptionalDescription
_defaultValueEqualsNullbooleanYesWhether blank values are ignored.

parmArrayIndex​

Gets or sets the array element of an array staging field this row fills.

  • Visibility: public
  • Returns: int The array index.
NameTypeOptionalDescription
_arrayIndexintYesThe array index.

copy​

Creates a copy of this row.

  • Visibility: public
  • Returns: MGCLatticeDmfMappingOverrideContract The copy.

No parameters.

describe​

Describes this row in one line, for a difference report.

  • Visibility: public
  • Returns: str The description.

No parameters.