Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.tools.builderreader
Class ProjectWriter

java.lang.Object
  extended byoracle.toplink.sessions.Project
      extended byoracle.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

Constructor Summary
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.

Method Summary
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
addAlias, addAliasesFromProject, addDefaultReadOnlyClass, addDescriptors, assumeExistenceForDoesExist, checkCacheForDoesExist, checkDatabaseForDoesExist, createDatabaseSession, createServerSession, createServerSession, createServerSession, getDefaultReadOnlyClasses, getDescriptorForAlias, 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

Constructor Detail

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)

Method Detail

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.String
className - java.lang.String
packageName - java.lang.String
writer - java.io.Writer
Throws:
BuilderException
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 -
Throws:
BuilderException
See Also:
ProjectWriteSpecification

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.