Skip to main content

MGCLatticeDmfSpecDiffResultContract

The differences between a data management configuration specification and an environment.

Methods​

construct​

Creates a new instance of the MGCLatticeDmfSpecDiffResultContract class.

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

No parameters.

add​

Records one difference and counts it.

  • Visibility: public
  • Returns: void
NameTypeOptionalDescription
_kindstrNoWhat the item is.
_namestrNoThe item's name.
_memberstrNoWhat differs; blank when the item itself is missing or surplus.
_environmentValuestrNoWhat the environment has.
_specificationValuestrNoWhat the specification asks for.
_canApplybooleanYesWhether applying the specification can make them match.
_notestrYesWhy it cannot, when it cannot.

parmSuccess​

Gets or sets whether the comparison could be made.

  • Visibility: public
  • Returns: boolean Whether it could.
NameTypeOptionalDescription
_successbooleanYesWhether it could.

parmMessage​

Gets or sets the summary sentence.

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

parmDifferences​

Gets or sets how many differences were found.

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

parmNotApplicable​

Gets or sets how many of the differences applying the specification could not remove.

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

parmItems​

Gets or sets the differences.

  • Visibility: public
  • Returns: List The differences.
NameTypeOptionalDescription
_itemsListYesThe differences.