Skip to main content

MGCLatticeDmfMappingValidationResultContract

The result of checking the field mappings of data projects.

Methods​

construct​

Creates a result: successful and without findings until something is found.

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

No parameters.

severityError​

The severity of a finding that stops the entity importing or exporting correctly.

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

No parameters.

severityWarning​

The severity of a finding that means the mapping has drifted from the entity.

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

No parameters.

add​

Records a finding and counts it.

  • Visibility: public
  • Returns: void
NameTypeOptionalDescription
_findingMGCLatticeDmfMappingFindingContractNoThe finding.

parmSuccess​

Gets or sets whether the check ran and found no errors.

  • Visibility: public
  • Returns: boolean Whether the check found no errors.
NameTypeOptionalDescription
_successbooleanYesWhether the check found no errors.

parmMessage​

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

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

parmProjectsChecked​

Gets or sets how many data projects were checked.

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

parmEntitiesChecked​

Gets or sets how many entity lines were checked.

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

parmErrors​

Gets or sets how many findings are errors.

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

parmWarnings​

Gets or sets how many findings are warnings.

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

parmFindings​

Gets or sets the findings, per data project, entity and field.

  • Visibility: public
  • Returns: List The findings.
NameTypeOptionalDescription
_findingsListYesThe findings.