wt.inf.container
Class PJL_PDML_WTContainedMigrator
java.lang.Object
wt.inf.container.PJL_PDML_WTContainedMigrator
- All Implemented Interfaces:
- JavaMigrator
- public class PJL_PDML_WTContainedMigrator
- extends Object
- implements JavaMigrator
Validates that all objects in WTContained tables have a
non-null container reference.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PJL_PDML_WTContainedMigrator
public PJL_PDML_WTContainedMigrator()
runMigration
public boolean runMigration(DirectiveServices ds)
throws Exception
- Implemented from
JavaMigrator
- Specified by:
runMigration
in interface JavaMigrator
- Parameters:
ds
- Contains migration resources
- Returns:
true
if there are no objects with null
container references. otherwise false
- Throws:
Exception
getContainedTables
private String[] getContainedTables()
throws Exception
- Gets the table names of all concrete
WTContained
objects.
- Returns:
- An array of table names
- Throws:
Exception