wt.tools
Class ModelRegistrar
java.lang.Object
wt.tools.generation.PackageTraverser
wt.tools.ModelRegistrar
- All Implemented Interfaces:
- ClassProcessor, ExecutableApp, PackageProcessor
- Direct Known Subclasses:
- DropGeneratedStoredProcsMigrator
- public class ModelRegistrar
- extends PackageTraverser
- implements ClassProcessor, ExecutableApp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNIX_FILE_SEP
private static final String UNIX_FILE_SEP
- See Also:
- Constant Field Values
TRANSITION
private static final boolean TRANSITION
allRegistrars
private static HashMap allRegistrars
globalClassRegistry
private ClassRegistry globalClassRegistry
classRegistry
private ClassRegistry classRegistry
descendentRegistry
private static MappedRegistry descendentRegistry
associationRegistry
private static MappedRegistry associationRegistry
modelRegistry
private static MappedRegistry modelRegistry
DESCRIBE_DEPENDENCY
private static final boolean DESCRIBE_DEPENDENCY
ModelRegistrar
protected ModelRegistrar(String module_name)
ModelRegistrar
public ModelRegistrar()
- Deprecated.
- Exists only for temporary backward compatibility.
Supported API: false
execute
public void execute(String[] args)
throws WTException
- Description copied from interface:
ExecutableApp
Supported API: false
- Specified by:
execute
in interface ExecutableApp
- Parameters:
args
-
- Throws:
WTException
execute
public void execute(String genClasses)
throws WTException
- Throws:
WTException
processClass
public void processClass(String qualifiedName)
throws WTException
- Specified by:
processClass
in interface ClassProcessor
- Throws:
WTException
processDirectory
public void processDirectory(String path)
throws WTException
- Throws:
WTException
removeEntries
public void removeEntries(String path)
throws WTException
- Throws:
WTException
difference
public void difference(String targetPath,
String basePath)
throws WTException
- Throws:
WTException
difference
public void difference(String targetPath,
String basePath,
String diffPath)
throws WTException
- Throws:
WTException
recordAll
public void recordAll()
record
public void record()
registerClass
public void registerClass(String class_name)
registerClass
public void registerClass(ClassClass the_class)
unRegisterClass
public void unRegisterClass(String qualifiedName)
get
public static ModelRegistrar get(String module_name)
- Obtain the ModelRegistrar for a particular module.
Supported API: false
registerClasses
public void registerClasses(String package_name,
Collection classes)
getModuleQualifiedName
private String getModuleQualifiedName(String class_name)