oracle.toplink.tools.builderreader
Class ProjectWriter
java.lang.Object
|
+--oracle.toplink.sessions.Project
|
+--oracle.toplink.tools.builderreader.ProjectWriter
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
Deprecated. replaced by oracle.toplink.tools.workbench.ProjectClassGenerator
- public class ProjectWriter
- extends Project
- implements java.io.Serializable
OBSOLETE: This class has been replaced by the ProjectClassGenerator.
- See Also:
- Serialized Form
ProjectWriter()
Deprecated. ProjectWriters should only be created using the static write methods. |
ProjectWriter(DatabaseLogin login)
Deprecated. ProjectWriters should only be created using the static write methods. |
Type | Method |
java.util.Vector |
getSearchPath()
Deprecated. |
static void |
main(java.lang.String[] args)
Deprecated. PUBLIC:
Provided to allow for writing tables and classes from the command line. |
static void |
write(ProjectWriteSpecification projectSpec)
Deprecated. PUBLIC:
Perform generation of Java source code which can re-produce the descriptor
information held in the INI Files. |
static void |
write(java.lang.String projectPath,
java.lang.String className,
java.lang.String packageName,
java.io.Writer writer)
Deprecated. PUBLIC:
Perform generation of Java source code which can re-produce the descriptor
information held in the INI Files. |
Methods inherited from class oracle.toplink.sessions.Project |
addDefaultReadOnlyClass, addDescriptors,
assumeExistenceForDoesExist, checkCacheForDoesExist, checkDatabaseForDoesExist,
createDatabaseSession, createServerSession, createServerSession,
createServerSession, getDefaultReadOnlyClasses, getDescriptors,
getLogin, getName, setDefaultReadOnlyClasses,
setLogin, setName, useCacheIdentityMap,
useCacheIdentityMap, useFullIdentityMap, useFullIdentityMap,
useNoIdentityMap, useSoftCacheWeakIdentityMap, useSoftCacheWeakIdentityMap,
useWeakIdentityMap, useWeakIdentityMap |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProjectWriter
public ProjectWriter()
- Deprecated.
- ProjectWriters should only be created using the static write methods.
- See Also:
write(ProjectWriteSpecification)
ProjectWriter
public ProjectWriter(DatabaseLogin login)
- Deprecated.
- ProjectWriters should only be created using the static write methods.
- See Also:
write(ProjectWriteSpecification)
getSearchPath
public java.util.Vector getSearchPath()
- Deprecated.
main
public static void main(java.lang.String[] args)
- Deprecated.
- PUBLIC:
Provided to allow for writing tables and classes from the command line.
write
public static void write(java.lang.String projectPath,
java.lang.String className,
java.lang.String packageName,
java.io.Writer writer)
throws BuilderException
- Deprecated.
- PUBLIC:
Perform generation of Java source code which can re-produce the descriptor
information held in the INI Files.
After using this method, a subclass of Project will be
created, named className, in the package specified by packageName.
This method does not create a java class to build tables. In order to do
this, you must use:
write(ProjectWriteSpecification)
- Parameters:
projectPath
- java.lang.StringclassName
- java.lang.StringpackageName
- java.lang.Stringwriter
- java.io.Writer- See Also:
write(ProjectWriteSpecification)
write
public static void write(ProjectWriteSpecification projectSpec)
throws BuilderException
- Deprecated.
- PUBLIC:
Perform generation of Java source code which can re-produce the descriptor
information held in the INI Files.
Depending on the specification, one or both of following will be created
A) a subclass of Project holding the descriptor information.
B) a subclass of oracle.toplink.tools.schemaframework.TableCreator holding the table
information.
- Parameters:
projectSpec
- - See Also:
ProjectWriteSpecification