mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10771: schema validation and differences rules
Laying some groundwork for the main code. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31921 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -20,9 +20,11 @@
|
||||
package org.alfresco.util.schemacomp;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.util.schemacomp.Result.Strength;
|
||||
import org.alfresco.util.schemacomp.model.DbObject;
|
||||
import org.alfresco.util.schemacomp.model.Schema;
|
||||
|
||||
/**
|
||||
* Utilities for comparing data structures in the context of comparing two database schemas.
|
||||
@@ -32,11 +34,14 @@ import org.alfresco.util.schemacomp.model.DbObject;
|
||||
public interface ComparisonUtils
|
||||
{
|
||||
/**
|
||||
* @deprecated This method ignores the fact that multiple objects may match.
|
||||
* @param objToFind
|
||||
* @return
|
||||
*/
|
||||
DbObject findSameObjectAs(Collection<? extends DbObject> objects, final DbObject objToFind);
|
||||
|
||||
List<DbObject> findEquivalentObjects(Schema schema, DbObject objToMatch);
|
||||
|
||||
void compareSimpleCollections(DbProperty leftProperty, DbProperty rightProperty,
|
||||
DiffContext ctx, Strength strength);
|
||||
|
||||
|
Reference in New Issue
Block a user