dynamobi/dynamobi — Issue #447: [FRG-369] Mechanism for invoking RefPackage.refVerifyConstraints
Author: dynamobi-build
Created: 2011-12-30 03:14:05+00:00
State: open
Labels: Catalog, FRG

[reporter="stephan", created="Thu, 29 Jan 2009 14:18:26 -0500 (GMT-05:00)"]
Mechanism for invoking RefPackage.refVerifyConstraints.

Enki/Hibernate provides the same level of constraint checking as Netbeans MDR for RefObject instances. It validates some aspects of multiplicity for attributes and references.

In addition, if refVerifyConstraints() is invoked on an Enki/Hibernate RefPackage, it will iterate over the associations contained in the package (and recurse to contained packages if the deepVerify parameter is true). For each association it validates that all association end points refer to valid repository objects. Put another way, it verifies that there are no dangling association ends.

Farrago should, at a minimum, provide a UDR to allow administrators to invoke this verification.

Should consider whether Farrago should perform this test at each startup (may increase startup time significantly) or perhaps if recovery is being performed for Fennel or due to some other condition.