Package | Description |
---|---|
org.alfresco.util.schemacomp | |
org.alfresco.util.schemacomp.model | |
org.alfresco.util.schemacomp.validator |
Modifier and Type | Method and Description |
---|---|
DbObject |
DbProperty.getDbObject() |
Modifier and Type | Method and Description |
---|---|
List<DbObject> |
ComparisonUtils.findEquivalentObjects(DbObject rootObject,
DbObject objToMatch) |
List<DbObject> |
DefaultComparisonUtils.findEquivalentObjects(DbObject rootObject,
DbObject objToMatch) |
List<DbObject> |
DefaultComparisonUtils.EquivalentObjectSeeker.getMatches() |
Modifier and Type | Method and Description |
---|---|
List<DbObject> |
ComparisonUtils.findEquivalentObjects(DbObject rootObject,
DbObject objToMatch) |
List<DbObject> |
DefaultComparisonUtils.findEquivalentObjects(DbObject rootObject,
DbObject objToMatch) |
void |
DbObjectXMLTransformer.output(DbObject dbObject) |
void |
ValidatingVisitor.visit(DbObject referenceObj) |
void |
DbObjectVisitor.visit(DbObject dbObject) |
void |
DefaultComparisonUtils.EquivalentObjectSeeker.visit(DbObject dbObject) |
Modifier and Type | Method and Description |
---|---|
void |
ComparisonUtils.compareCollections(Collection<? extends DbObject> leftCollection,
Collection<? extends DbObject> rightCollection,
DiffContext ctx)
Compare collections of
DbObject s using their diff(DbObject, DiffContext) method. |
void |
ComparisonUtils.compareCollections(Collection<? extends DbObject> leftCollection,
Collection<? extends DbObject> rightCollection,
DiffContext ctx)
Compare collections of
DbObject s using their diff(DbObject, DiffContext) method. |
void |
DefaultComparisonUtils.compareCollections(Collection<? extends DbObject> leftCollection,
Collection<? extends DbObject> rightCollection,
DiffContext ctx) |
void |
DefaultComparisonUtils.compareCollections(Collection<? extends DbObject> leftCollection,
Collection<? extends DbObject> rightCollection,
DiffContext ctx) |
Constructor and Description |
---|
DbProperty(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.
|
DbProperty(DbObject dbObject,
String propertyName,
int index,
boolean useSuppliedValue,
Object propertyValue)
Full constructor allowing control over whether the property name should be indexed (e.g.
|
EquivalentObjectSeeker(DbObject objToMatch) |
RedundantDbObject(DbObject dbObject,
List<DbObject> matches) |
Constructor and Description |
---|
RedundantDbObject(DbObject dbObject,
List<DbObject> matches) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDbObject
Useful base class for many, if not all the
DbObject implementations. |
class |
Column
Represents a column in a database table.
|
class |
ForeignKey
Represents a foreign key on a database table (
localColumn ) that references
targetTable.targetColumn |
class |
Index
Represents an index on a table.
|
class |
PrimaryKey
Primary key on a table.
|
class |
Schema
Instances of this class represent a database schema.
|
class |
Sequence
Represents a database sequence.
|
class |
Table
Instances of this class represent a database table.
|
Modifier and Type | Field and Description |
---|---|
protected List<DbObject> |
Schema.objects |
Modifier and Type | Method and Description |
---|---|
DbObject |
AbstractDbObject.getParent() |
DbObject |
DbObject.getParent()
Get the parent object for which this object is a child.
|
Modifier and Type | Method and Description |
---|---|
Iterator<DbObject> |
Schema.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Schema.add(DbObject dbObject)
Add an object to this schema - this method will set this schema
as the object's parent.
|
boolean |
Schema.contains(DbObject object) |
void |
AbstractDbObject.diff(DbObject right,
DiffContext ctx)
Provides an implementation of
diff(DbObject, DiffContext) . |
void |
DbObject.diff(DbObject right,
DiffContext ctx)
Generate a report of differences between this object ('left') and another object ('right').
|
protected void |
PrimaryKey.doDiff(DbObject right,
DiffContext ctx) |
protected void |
AbstractDbObject.doDiff(DbObject right,
DiffContext ctx)
Override this method to provide subclass specific diffing logic.
|
protected void |
Table.doDiff(DbObject other,
DiffContext ctx) |
protected void |
Index.doDiff(DbObject right,
DiffContext ctx) |
protected void |
ForeignKey.doDiff(DbObject right,
DiffContext ctx) |
protected void |
Schema.doDiff(DbObject right,
DiffContext ctx) |
protected void |
Column.doDiff(DbObject right,
DiffContext ctx) |
boolean |
PrimaryKey.sameAs(DbObject other) |
boolean |
AbstractDbObject.sameAs(DbObject other) |
boolean |
DbObject.sameAs(DbObject other)
Are the two
DbObject s 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. |
boolean |
Index.sameAs(DbObject o) |
boolean |
ForeignKey.sameAs(DbObject other) |
boolean |
Schema.sameAs(DbObject other) |
void |
AbstractDbObject.setParent(DbObject parent) |
void |
DbObject.setParent(DbObject parent)
Sets the parent object.
|
Constructor and Description |
---|
AbstractDbObject(DbObject parent,
String name)
Instantiate, giving the object a parent and a name.
|
Sequence(DbObject parent,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
TypeNameOnlyValidator.validate(DbObject reference,
DbObject target,
DiffContext ctx) |
void |
NameValidator.validate(DbObject reference,
DbObject target,
DiffContext ctx) |
void |
SchemaVersionValidator.validate(DbObject referenceObj,
DbObject targetObj,
DiffContext ctx) |
void |
IgnoreObjectValidator.validate(DbObject reference,
DbObject target,
DiffContext ctx) |
void |
IndexColumnsValidator.validate(DbObject reference,
DbObject target,
DiffContext ctx) |
void |
DbValidator.validate(DbObject reference,
DbObject target,
DiffContext ctx)
Validate the target database object (against the reference object if necessary).
|
void |
NullValidator.validate(DbObject reference,
DbObject target,
DiffContext ctx) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.