Package net.ontopia.persistence.rdbms
Class Project
java.lang.Object
net.ontopia.persistence.rdbms.Project
INTERNAL: Class that holds a database schema definition.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCreateAction(String platform, String action) INTERNAL: Sets the actions to be performed in the database as part of the schema create.voidaddDataType(DataType datatype, String platform) INTERNAL: Add the platform specific datatype.voidaddDropAction(String platform, String action) INTERNAL: Sets the actions to be performed in the database as part of the schema drop.voidINTERNAL: Adds the table to the database schema.getCreateActions(String[] platforms) INTERNAL: Gets the actions to be performed in the database as part of the schema create.getDataTypeByName(String name, String platform) INTERNAL: Gets a datatype definition by name.getDataTypeByName(String name, String[] platforms) INTERNAL: Gets all datatype platforms.getDataTypes(String platform) INTERNAL: Gets all the datatypes for the given platforms.getDataTypes(String[] platforms) getDropActions(String[] platforms) INTERNAL: Gets the actions to be performed in the database as part of the schema drop.getName()INTERNAL: Gets the name of the database schema.getTableByName(String name) INTERNAL: Gets a table definition by name.INTERNAL: Gets all the tables in the database schema.voidremoveDataType(DataType datatype, String platform) INTERNAL: Remove the platform specific datatype.voidremoveTable(Table table) INTERNAL: Removes the table from the database schema.voidINTERNAL: Gets the name of the database schema.
-
Field Details
-
name
-
tables
-
datatypes
-
c_actions
-
d_actions
-
-
Constructor Details
-
Project
public Project()
-
-
Method Details
-
getName
INTERNAL: Gets the name of the database schema. -
setName
INTERNAL: Gets the name of the database schema. -
getTableByName
INTERNAL: Gets a table definition by name. -
getTables
INTERNAL: Gets all the tables in the database schema. -
addTable
INTERNAL: Adds the table to the database schema. -
removeTable
INTERNAL: Removes the table from the database schema. -
getDataTypePlatforms
INTERNAL: Gets all datatype platforms. -
getDataTypeByName
INTERNAL: Gets a datatype definition by name. -
getDataTypeByName
-
getDataTypes
INTERNAL: Gets all the datatypes for the given platforms. -
getDataTypes
-
addDataType
INTERNAL: Add the platform specific datatype. -
removeDataType
INTERNAL: Remove the platform specific datatype. -
getCreateActions
INTERNAL: Gets the actions to be performed in the database as part of the schema create. Actions for the first matching platform is returned. -
addCreateAction
INTERNAL: Sets the actions to be performed in the database as part of the schema create. -
getDropActions
INTERNAL: Gets the actions to be performed in the database as part of the schema drop. Actions for the first matching platform is returned. -
addDropAction
INTERNAL: Sets the actions to be performed in the database as part of the schema drop.
-