org.exolab.castor.builder
Class SGStateInfo
- ClassInfoResolver
(package private) class SGStateInfo
A class for maintaining state for the SourceGenerator
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:44 $protected String | packageName - The package used when creating new classes.
|
packageName
protected String packageName
The package used when creating new classes.
SGStateInfo
protected SGStateInfo(Schema schema)
Creates a new SGStateInfo
getCurrentFactoryState
(package private) FactoryState getCurrentFactoryState()
Returns the current FactoryState that
holds information about the classes being generated.
getDialog
(package private) Dialog getDialog()
Returns the Dialog used for interacting with the user
- the Dialog, or null if none has been set.
getSchema
(package private) Schema getSchema()
getSuppressNonFatalWarnings
(package private) boolean getSuppressNonFatalWarnings()
markAsProcessed
(package private) void markAsProcessed(JClass jClass)
Marks the given JClass as having been processed.
jClass
- the JClass to mark as having been processed.
processed
(package private) boolean processed(JClass jClass)
Returns true if the given JClass has been marked as processed
jClass
- the JClass to check for being marked as processed
promptForOverwrite
(package private) boolean promptForOverwrite()
setCurrentFactoryState
(package private) void setCurrentFactoryState(FactoryState state)
Sets the current FactoryState.
state
- the current FactoryState
setDialog
(package private) void setDialog(Dialog dialog)
Sets the Dialog used for interacting with the user
dialog
- the Dialog to use
setPromptForOverwrite
(package private) void setPromptForOverwrite(boolean promptForOverwrite)
setSuppressNonFatalWarnings
(package private) void setSuppressNonFatalWarnings(boolean suppressNonFatalWarnings)
setVerbose
(package private) void setVerbose(boolean verbose)
Sets whether or not the source code generator prints
additional messages during generating source code
verbose
- a boolean, when true indicates to
print additional messages
verbose
(package private) boolean verbose()
Returns the value of the verbose flag. A true value
indicates that additional messages may be printed
during processing
- the value of the verbose flag.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com