com.webobjects.eoaccess.synchronization
Class EOSchemaGenerationOptions
java.lang.Object
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
EOSchemaGenerationOptions
public EOSchemaGenerationOptions()
- Default constructor
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)
Copyright © 2000-2008 Apple Inc.