WebObjects 5.4.2

com.webobjects.eoaccess.synchronization
Class EOSchemaGenerationOptions

java.lang.Object
  extended by com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions

public class EOSchemaGenerationOptions
extends Object

EOGenerationOptions is a helper class that describe the type of generation that need to be done when generating a new database. Please note that not all options are supported by all databases. Please refer to the plug-in documentation for details.

Since:
5.4

Constructor Summary
EOSchemaGenerationOptions()
          Default constructor
 
Method Summary
 EOSchemaGenerationOptions clone()
           
 boolean createDatabase()
           
 boolean createIndexes()
           
 boolean createPrimaryKeySupport()
           
 boolean createTables()
           
 boolean dropDatabase()
           
 boolean dropIndexes()
           
 boolean dropPrimaryKeySupport()
           
 boolean dropTables()
           
 void fieldsToString(StringBuilder aLog)
           
 boolean foreignKeyConstraints()
           
 boolean manageForeignKeyConstraints()
           
 boolean managePrimaryKeyConstraints()
           
 boolean managePrimaryKeySupport()
           
 boolean primaryKeyConstraints()
           
 void setCreateDatabase(boolean value)
           
 void setCreateIndexes(boolean value)
           
 void setCreatePrimaryKeySupport(boolean value)
           
 void setCreateTables(boolean value)
           
 void setDropDatabase(boolean value)
           
 void setDropIndexes(boolean value)
           
 void setDropPrimaryKeySupport(boolean value)
           
 void setDropTables(boolean value)
           
 void setForeignKeyConstraints(boolean value)
           
 void setManageForeignKeyConstraints(boolean value)
           
 void setManagePrimaryKeyConstraints(boolean value)
           
 void setManagePrimaryKeySupport(boolean value)
           
 void setPrimaryKeyConstraints(boolean value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOSchemaGenerationOptions

public EOSchemaGenerationOptions()
Default constructor

Method Detail

createDatabase

public boolean createDatabase()
Returns:
the createDatabase

setCreateDatabase

public void setCreateDatabase(boolean value)
Parameters:
value - the createDatabase to set

createIndexes

public boolean createIndexes()
Returns:
the createIndexes

setCreateIndexes

public void setCreateIndexes(boolean value)
Parameters:
value - the createIndexes to set

createPrimaryKeySupport

public boolean createPrimaryKeySupport()
Returns:
the createPrimaryKeySupport

setCreatePrimaryKeySupport

public void setCreatePrimaryKeySupport(boolean value)
Parameters:
value - the createPrimaryKeySupport to set

createTables

public boolean createTables()
Returns:
the createTables

setCreateTables

public void setCreateTables(boolean value)
Parameters:
value - the createTables to set

dropDatabase

public boolean dropDatabase()
Returns:
the dropDatabase

setDropDatabase

public void setDropDatabase(boolean value)
Parameters:
value - the dropDatabase to set

dropIndexes

public boolean dropIndexes()
Returns:
the dropIndexes

setDropIndexes

public void setDropIndexes(boolean value)
Parameters:
value - the dropIndexes to set

dropPrimaryKeySupport

public boolean dropPrimaryKeySupport()
Returns:
the dropPrimaryKeySupport

setDropPrimaryKeySupport

public void setDropPrimaryKeySupport(boolean value)
Parameters:
value - the dropPrimaryKeySupport to set

dropTables

public boolean dropTables()
Returns:
the dropTables

setDropTables

public void setDropTables(boolean value)
Parameters:
value - the dropTables to set

foreignKeyConstraints

public boolean foreignKeyConstraints()
Returns:
the foreignKeyConstraints

setForeignKeyConstraints

public void setForeignKeyConstraints(boolean value)
Parameters:
value - the foreignKeyConstraints to set

primaryKeyConstraints

public boolean primaryKeyConstraints()
Returns:
the primaryKeyConstraints

setPrimaryKeyConstraints

public void setPrimaryKeyConstraints(boolean value)
Parameters:
value - the primaryKeyConstraints to set

manageForeignKeyConstraints

public boolean manageForeignKeyConstraints()
Returns:
the manageForeignKeyConstraints

setManageForeignKeyConstraints

public void setManageForeignKeyConstraints(boolean value)
Parameters:
value - the manageForeignKeyConstraints to set

managePrimaryKeyConstraints

public boolean managePrimaryKeyConstraints()
Returns:
the managePrimaryKeyConstraints

setManagePrimaryKeyConstraints

public void setManagePrimaryKeyConstraints(boolean value)
Parameters:
value - the managePrimaryKeyConstraints to set

managePrimaryKeySupport

public boolean managePrimaryKeySupport()
Returns:
the managePrimaryKeySupport

setManagePrimaryKeySupport

public void setManagePrimaryKeySupport(boolean value)
Parameters:
value - the managePrimaryKeySupport to set

clone

public EOSchemaGenerationOptions clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object

fieldsToString

public void fieldsToString(StringBuilder aLog)

Last updated June 2008

Copyright © 2000-2008 Apple Inc.