Skip to main content

MGCLatticeDmfMappingRefreshResultContract

The result of refreshing the field mappings of a data project's entities.

Methods​

construct​

Creates a result: successful and without changes until something changes.

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

No parameters.

changeAdded​

The change name for a mapping row added for a staging field that had none.

  • Visibility: public
  • Returns: str The change name.

No parameters.

changeRemoved​

The change name for a mapping row removed because its staging field no longer exists.

  • Visibility: public
  • Returns: str The change name.

No parameters.

changeTargetRegenerated​

The change name for an entity whose staging-to-target mapping was regenerated.

  • Visibility: public
  • Returns: str The change name.

No parameters.

changeFailed​

The change name for a change that could not be made.

  • Visibility: public
  • Returns: str The change name.

No parameters.

add​

Records a change and counts it.

  • Visibility: public
  • Returns: void
NameTypeOptionalDescription
_changeMGCLatticeDmfMappingChangeContractNoThe change.

changed​

The number of changes this run made, or would make in a preview.

  • Visibility: public
  • Returns: int The count.

No parameters.

parmSuccess​

Gets or sets whether every change was made.

  • Visibility: public
  • Returns: boolean Whether the run succeeded.
NameTypeOptionalDescription
_successbooleanYesWhether the run succeeded.

parmValidateOnly​

Gets or sets whether this run was a preview that changed nothing.

  • Visibility: public
  • Returns: boolean Whether the run was a preview.
NameTypeOptionalDescription
_validateOnlybooleanYesWhether the run was a preview.

parmMessage​

Gets or sets the summary sentence, or the reason the request was refused.

  • Visibility: public
  • Returns: str The message.
NameTypeOptionalDescription
_messagestrYesThe message.

parmAdded​

Gets or sets how many mapping rows were added.

  • Visibility: public
  • Returns: int The count.
NameTypeOptionalDescription
_addedintYesThe count.

parmRemoved​

Gets or sets how many mapping rows were removed.

  • Visibility: public
  • Returns: int The count.
NameTypeOptionalDescription
_removedintYesThe count.

parmKept​

Gets or sets how many existing mapping rows were kept as they were.

  • Visibility: public
  • Returns: int The count.
NameTypeOptionalDescription
_keptintYesThe count.

parmTargetRegenerated​

Gets or sets how many entities had their staging-to-target mapping regenerated.

  • Visibility: public
  • Returns: int The count.
NameTypeOptionalDescription
_targetRegeneratedintYesThe count.

parmFailed​

Gets or sets how many changes could not be made.

  • Visibility: public
  • Returns: int The count.
NameTypeOptionalDescription
_failedintYesThe count.

parmChanges​

Gets or sets the changes.

  • Visibility: public
  • Returns: List The changes.
NameTypeOptionalDescription
_changesListYesThe changes.