Uses of Interface
org.alfresco.util.schemacomp.model.DbObject
Packages that use DbObject
Package
Description
-
Uses of DbObject in org.alfresco.util.schemacomp
Methods in org.alfresco.util.schemacomp that return DbObjectMethods in org.alfresco.util.schemacomp that return types with arguments of type DbObjectModifier and TypeMethodDescriptionComparisonUtils.findEquivalentObjects(DbObject rootObject, DbObject objToMatch) DefaultComparisonUtils.findEquivalentObjects(DbObject rootObject, DbObject objToMatch) DefaultComparisonUtils.EquivalentObjectSeeker.getMatches()Methods in org.alfresco.util.schemacomp with parameters of type DbObjectModifier and TypeMethodDescriptionComparisonUtils.findEquivalentObjects(DbObject rootObject, DbObject objToMatch) DefaultComparisonUtils.findEquivalentObjects(DbObject rootObject, DbObject objToMatch) voidvoidvoidvoidMethod parameters in org.alfresco.util.schemacomp with type arguments of type DbObjectModifier and TypeMethodDescriptionvoidComparisonUtils.compareCollections(Collection<? extends DbObject> leftCollection, Collection<? extends DbObject> rightCollection, DiffContext ctx) Compare collections ofDbObjects using theirdiff(DbObject, DiffContext)method.voidDefaultComparisonUtils.compareCollections(Collection<? extends DbObject> leftCollection, Collection<? extends DbObject> rightCollection, DiffContext ctx) Constructors in org.alfresco.util.schemacomp with parameters of type DbObjectModifierConstructorDescriptionDbProperty(DbObject dbObject) Construct a pointer to a database object only (no property within).DbProperty(DbObject dbObject, String propertyName) Create a DbProperty by supplying the DbObject and the property name.DbProperty(DbObject dbObject, String propertyName, int index) Create a DbProperty with an indexed value, e.g. for propertyName "myCollection" and index 4, the propertyName will be converted to "myCollection[4]" and the propertValue will be populated with the value at index 4 of myCollection.protectedDbProperty(DbObject dbObject, String propertyName, int index, boolean useSuppliedValue, Object propertyValue) Full constructor allowing control over whether the property name should be indexed (e.g. colours[3]), whether the current value of the property should be retrieved automatically or whether to use the supplied value (useful when performing comparisons - construct one with a particular/expected value and construct another with the current value by reflection).EquivalentObjectSeeker(DbObject objToMatch) RedundantDbObject(DbObject dbObject, List<DbObject> matches) Constructor parameters in org.alfresco.util.schemacomp with type arguments of type DbObject -
Uses of DbObject in org.alfresco.util.schemacomp.model
Classes in org.alfresco.util.schemacomp.model that implement DbObjectModifier and TypeClassDescriptionclassUseful base class for many, if not all theDbObjectimplementations.classRepresents a column in a database table.classRepresents a foreign key on a database table (localColumn) that referencestargetTable.targetColumnclassRepresents an index on a table.classPrimary key on a table.classInstances of this class represent a database schema.classRepresents a database sequence.classInstances of this class represent a database table.Fields in org.alfresco.util.schemacomp.model with type parameters of type DbObjectMethods in org.alfresco.util.schemacomp.model that return DbObjectModifier and TypeMethodDescriptionAbstractDbObject.getParent()DbObject.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 DbObjectMethods in org.alfresco.util.schemacomp.model with parameters of type DbObjectModifier and TypeMethodDescriptionvoidAdd an object to this schema - this method will set this schema as the object's parent.booleanvoidAbstractDbObject.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) booleanbooleanAre the twoDbObjects logically the same?booleanbooleanbooleanbooleanvoidvoidSets the parent object.Constructors in org.alfresco.util.schemacomp.model with parameters of type DbObject -
Uses of DbObject in org.alfresco.util.schemacomp.validator
Methods in org.alfresco.util.schemacomp.validator with parameters of type DbObjectModifier and TypeMethodDescriptionvoidDbValidator.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)