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:
MGCLatticeDmfMappingValidationResultContractA new instance.
No parameters.
severityError
The severity of a finding that stops the entity importing or exporting correctly.
- Visibility:
public - Returns:
strThe severity name.
No parameters.
severityWarning
The severity of a finding that means the mapping has drifted from the entity.
- Visibility:
public - Returns:
strThe severity name.
No parameters.
add
Records a finding and counts it.
- Visibility:
public - Returns:
void
| Name | Type | Optional | Description |
|---|---|---|---|
_finding | MGCLatticeDmfMappingFindingContract | No | The finding. |
parmSuccess
Gets or sets whether the check ran and found no errors.
- Visibility:
public - Returns:
booleanWhether the check found no errors.
| Name | Type | Optional | Description |
|---|---|---|---|
_success | boolean | Yes | Whether the check found no errors. |
parmMessage
Gets or sets the summary sentence, or the reason the request was refused.
- Visibility:
public - Returns:
strThe message.
| Name | Type | Optional | Description |
|---|---|---|---|
_message | str | Yes | The message. |
parmProjectsChecked
Gets or sets how many data projects were checked.
- Visibility:
public - Returns:
intThe count.
| Name | Type | Optional | Description |
|---|---|---|---|
_projectsChecked | int | Yes | The count. |
parmEntitiesChecked
Gets or sets how many entity lines were checked.
- Visibility:
public - Returns:
intThe count.
| Name | Type | Optional | Description |
|---|---|---|---|
_entitiesChecked | int | Yes | The count. |
parmErrors
Gets or sets how many findings are errors.
- Visibility:
public - Returns:
intThe count.
| Name | Type | Optional | Description |
|---|---|---|---|
_errors | int | Yes | The count. |
parmWarnings
Gets or sets how many findings are warnings.
- Visibility:
public - Returns:
intThe count.
| Name | Type | Optional | Description |
|---|---|---|---|
_warnings | int | Yes | The count. |
parmFindings
Gets or sets the findings, per data project, entity and field.
- Visibility:
public - Returns:
ListThe findings.
| Name | Type | Optional | Description |
|---|---|---|---|
_findings | List | Yes | The findings. |