|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.util.schemacomp.Results
public class Results
Collects differences so that tools can report on or respond to differences between database schemas.
| Constructor Summary | |
|---|---|
Results()
|
|
| Method Summary | |
|---|---|
void |
add(Difference.Where where,
DbProperty left,
DbProperty right)
|
void |
add(Difference.Where where,
DbProperty left,
DbProperty right,
Result.Strength strength)
Record a difference between two objects, or specify that an object only appears in either the 'left' or 'right' schemas. |
void |
add(Result result)
|
Result |
get(int i)
Get the ith result. |
java.util.Iterator |
iterator()
Obtain an iterator for the top-level items held in this schema - since this is a hierarchical model, deeper items are obtained by navigating through the top-level items. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Results()
| Method Detail |
|---|
public void add(Difference.Where where,
DbProperty left,
DbProperty right,
Result.Strength strength)
where - The type of difference, see Difference.Whereleft - Left value, or null if the item appears in the right, but not left schema.right - Right value, or null if the item appears in the left, but not right schema.strength - The Result.Strength of the difference, e.g. WARN or ERROR.
public void add(Difference.Where where,
DbProperty left,
DbProperty right)
public void add(Result result)
public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic Result get(int i)
i -
public int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||