Uses of Interface
org.alfresco.util.schemacomp.model.DbObject
-
Packages that use DbObject Package Description org.alfresco.util.schemacomp org.alfresco.util.schemacomp.model org.alfresco.util.schemacomp.validator -
-
Uses of DbObject in org.alfresco.util.schemacomp
Methods in org.alfresco.util.schemacomp that return DbObject Modifier and Type Method Description DbObjectDbProperty. getDbObject()Methods in org.alfresco.util.schemacomp that return types with arguments of type DbObject Modifier and Type Method Description java.util.List<DbObject>ComparisonUtils. findEquivalentObjects(DbObject rootObject, DbObject objToMatch)java.util.List<DbObject>DefaultComparisonUtils. findEquivalentObjects(DbObject rootObject, DbObject objToMatch)java.util.List<DbObject>DefaultComparisonUtils.EquivalentObjectSeeker. getMatches()Methods in org.alfresco.util.schemacomp with parameters of type DbObject Modifier and Type Method Description java.util.List<DbObject>ComparisonUtils. findEquivalentObjects(DbObject rootObject, DbObject objToMatch)java.util.List<DbObject>DefaultComparisonUtils. findEquivalentObjects(DbObject rootObject, DbObject objToMatch)voidDbObjectXMLTransformer. output(DbObject dbObject)voidDbObjectVisitor. visit(DbObject dbObject)voidDefaultComparisonUtils.EquivalentObjectSeeker. visit(DbObject dbObject)voidValidatingVisitor. visit(DbObject referenceObj)Method parameters in org.alfresco.util.schemacomp with type arguments of type DbObject Modifier and Type Method Description voidComparisonUtils. compareCollections(java.util.Collection<? extends DbObject> leftCollection, java.util.Collection<? extends DbObject> rightCollection, DiffContext ctx)Compare collections ofDbObjects using theirdiff(DbObject, DiffContext)method.voidDefaultComparisonUtils. compareCollections(java.util.Collection<? extends DbObject> leftCollection, java.util.Collection<? extends DbObject> rightCollection, DiffContext ctx)Constructors in org.alfresco.util.schemacomp with parameters of type DbObject Constructor Description DbProperty(DbObject dbObject)Construct a pointer to a database object only (no property within).DbProperty(DbObject dbObject, java.lang.String propertyName)Create a DbProperty by supplying the DbObject and the property name.DbProperty(DbObject dbObject, java.lang.String propertyName, int index)Create a DbProperty with an indexed value, e.g.DbProperty(DbObject dbObject, java.lang.String propertyName, int index, boolean useSuppliedValue, java.lang.Object propertyValue)Full constructor allowing control over whether the property name should be indexed (e.g.EquivalentObjectSeeker(DbObject objToMatch)RedundantDbObject(DbObject dbObject, java.util.List<DbObject> matches)Constructor parameters in org.alfresco.util.schemacomp with type arguments of type DbObject Constructor Description RedundantDbObject(DbObject dbObject, java.util.List<DbObject> matches) -
Uses of DbObject in org.alfresco.util.schemacomp.model
Classes in org.alfresco.util.schemacomp.model that implement DbObject Modifier and Type Class Description classAbstractDbObjectUseful base class for many, if not all theDbObjectimplementations.classColumnRepresents a column in a database table.classForeignKeyRepresents a foreign key on a database table (localColumn) that referencestargetTable.targetColumnclassIndexRepresents an index on a table.classPrimaryKeyPrimary key on a table.classSchemaInstances of this class represent a database schema.classSequenceRepresents a database sequence.classTableInstances of this class represent a database table.Fields in org.alfresco.util.schemacomp.model with type parameters of type DbObject Modifier and Type Field Description protected java.util.List<DbObject>Schema. objectsMethods in org.alfresco.util.schemacomp.model that return DbObject Modifier and Type Method Description DbObjectAbstractDbObject. getParent()DbObjectDbObject. getParent()Get the parent object for which this object is a child.Methods in org.alfresco.util.schemacomp.model that return types with arguments of type DbObject Modifier and Type Method Description java.util.Iterator<DbObject>Schema. iterator()Methods in org.alfresco.util.schemacomp.model with parameters of type DbObject Modifier and Type Method Description voidSchema. add(DbObject dbObject)Add an object to this schema - this method will set this schema as the object's parent.booleanSchema. contains(DbObject object)voidAbstractDbObject. diff(DbObject right, DiffContext ctx)Provides an implementation ofdiff(DbObject, DiffContext).voidDbObject. diff(DbObject right, DiffContext ctx)Generate a report of differences between this object ('left') and another object ('right').protected voidAbstractDbObject. doDiff(DbObject right, DiffContext ctx)Override this method to provide subclass specific diffing logic.protected voidColumn. doDiff(DbObject right, DiffContext ctx)protected voidForeignKey. doDiff(DbObject right, DiffContext ctx)protected voidIndex. doDiff(DbObject right, DiffContext ctx)protected voidPrimaryKey. doDiff(DbObject right, DiffContext ctx)protected voidSchema. doDiff(DbObject right, DiffContext ctx)protected voidTable. doDiff(DbObject other, DiffContext ctx)booleanAbstractDbObject. sameAs(DbObject other)booleanDbObject. sameAs(DbObject other)Are the twoDbObjects logically the same? For example two Index objects may have different names, but are the same index as they both index the same columns for the same table.booleanForeignKey. sameAs(DbObject other)booleanIndex. sameAs(DbObject o)booleanPrimaryKey. sameAs(DbObject other)booleanSchema. sameAs(DbObject other)voidAbstractDbObject. setParent(DbObject parent)voidDbObject. setParent(DbObject parent)Sets the parent object.Constructors in org.alfresco.util.schemacomp.model with parameters of type DbObject Constructor Description AbstractDbObject(DbObject parent, java.lang.String name)Instantiate, giving the object a parent and a name.Sequence(DbObject parent, java.lang.String name) -
Uses of DbObject in org.alfresco.util.schemacomp.validator
Methods in org.alfresco.util.schemacomp.validator with parameters of type DbObject Modifier and Type Method Description voidDbValidator. validate(DbObject reference, DbObject target, DiffContext ctx)Validate the target database object (against the reference object if necessary).voidIgnoreObjectValidator. validate(DbObject reference, DbObject target, DiffContext ctx)voidIndexColumnsValidator. validate(DbObject reference, DbObject target, DiffContext ctx)voidNameValidator. validate(DbObject reference, DbObject target, DiffContext ctx)voidNullValidator. validate(DbObject reference, DbObject target, DiffContext ctx)voidSchemaVersionValidator. validate(DbObject referenceObj, DbObject targetObj, DiffContext ctx)voidTypeNameOnlyValidator. validate(DbObject reference, DbObject target, DiffContext ctx)
-