wt.inf.container
Class PJL_PDML_WTContainedMigrator

java.lang.Object
  extended bywt.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.


Constructor Summary
PJL_PDML_WTContainedMigrator()
           
 
Method Summary
private  String[] getContainedTables()
          Gets the table names of all concrete WTContained objects.
 boolean runMigration(DirectiveServices ds)
          Implemented from JavaMigrator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PJL_PDML_WTContainedMigrator

public PJL_PDML_WTContainedMigrator()
Method Detail

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