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:
MGCLatticeDmfMappingOverrideContractA new instance.
No parameters.
parmSourceField
Gets or sets the source file field the staging field is read from.
- Visibility:
public - Returns:
strThe source field.
| Name | Type | Optional | Description |
|---|---|---|---|
_sourceField | str | Yes | The source field. |
parmStagingField
Gets or sets the staging table field this row fills.
- Visibility:
public - Returns:
strThe staging field.
| Name | Type | Optional | Description |
|---|---|---|---|
_stagingField | str | Yes | The staging field. |
parmAutoDefault
Gets or sets whether the staging field takes a default value instead of a source field.
- Visibility:
public - Returns:
booleanWhether the row is auto-default.
| Name | Type | Optional | Description |
|---|---|---|---|
_autoDefault | boolean | Yes | Whether 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:
strThe default value.
| Name | Type | Optional | Description |
|---|---|---|---|
_defaultValue | str | Yes | The default value. |
parmUseEnumLabel
Gets or sets whether an enumeration field is read and written by its label rather than its name.
- Visibility:
public - Returns:
booleanWhether the label is used.
| Name | Type | Optional | Description |
|---|---|---|---|
_useEnumLabel | boolean | Yes | Whether the label is used. |
parmIsAutoGenerated
Gets or sets whether the staging field is generated, for example from a number sequence.
- Visibility:
public - Returns:
booleanWhether the row is auto-generated.
| Name | Type | Optional | Description |
|---|---|---|---|
_isAutoGenerated | boolean | Yes | Whether 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:
booleanWhether the text qualifier is used.
| Name | Type | Optional | Description |
|---|---|---|---|
_textQualifier | boolean | Yes | Whether 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:
booleanWhether blank values are ignored.
| Name | Type | Optional | Description |
|---|---|---|---|
_defaultValueEqualsNull | boolean | Yes | Whether blank values are ignored. |
parmArrayIndex
Gets or sets the array element of an array staging field this row fills.
- Visibility:
public - Returns:
intThe array index.
| Name | Type | Optional | Description |
|---|---|---|---|
_arrayIndex | int | Yes | The array index. |
copy
Creates a copy of this row.
- Visibility:
public - Returns:
MGCLatticeDmfMappingOverrideContractThe copy.
No parameters.
describe
Describes this row in one line, for a difference report.
- Visibility:
public - Returns:
strThe description.
No parameters.