|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.persistence.rdbms.Project
public class Project
INTERNAL: Class that holds a database schema definition.
Field Summary | |
---|---|
protected Map |
c_actions
|
protected Map |
d_actions
|
protected Map |
datatypes
|
protected String |
name
|
protected Map |
tables
|
Constructor Summary | |
---|---|
Project()
|
Method Summary | |
---|---|
void |
addCreateAction(String platform,
String action)
INTERNAL: Sets the actions to be performed in the database as part of the schema create. |
void |
addDataType(DataType datatype,
String platform)
INTERNAL: Add the platform specific datatype. |
void |
addDropAction(String platform,
String action)
INTERNAL: Sets the actions to be performed in the database as part of the schema drop. |
void |
addTable(Table table)
INTERNAL: Adds the table to the database schema. |
List |
getCreateActions(String[] platforms)
INTERNAL: Gets the actions to be performed in the database as part of the schema create. |
DataType |
getDataTypeByName(String name,
String platform)
INTERNAL: Gets a datatype definition by name. |
DataType |
getDataTypeByName(String name,
String[] platforms)
|
Collection |
getDataTypePlatforms()
INTERNAL: Gets all datatype platforms. |
Collection |
getDataTypes(String platform)
INTERNAL: Gets all the datatypes for the given platforms. |
Collection |
getDataTypes(String[] platforms)
|
List |
getDropActions(String[] platforms)
INTERNAL: Gets the actions to be performed in the database as part of the schema drop. |
String |
getName()
INTERNAL: Gets the name of the database schema. |
Table |
getTableByName(String name)
INTERNAL: Gets a table definition by name. |
Collection |
getTables()
INTERNAL: Gets all the tables in the database schema. |
void |
removeDataType(DataType datatype,
String platform)
INTERNAL: Remove the platform specific datatype. |
void |
removeTable(Table table)
INTERNAL: Removes the table from the database schema. |
void |
setName(String name)
INTERNAL: Gets the name of the database schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
protected Map tables
protected Map datatypes
protected Map c_actions
protected Map d_actions
Constructor Detail |
---|
public Project()
Method Detail |
---|
public String getName()
public void setName(String name)
public Table getTableByName(String name)
public Collection getTables()
public void addTable(Table table)
public void removeTable(Table table)
public Collection getDataTypePlatforms()
public DataType getDataTypeByName(String name, String platform)
public DataType getDataTypeByName(String name, String[] platforms)
public Collection getDataTypes(String platform)
public Collection getDataTypes(String[] platforms)
public void addDataType(DataType datatype, String platform)
public void removeDataType(DataType datatype, String platform)
public List getCreateActions(String[] platforms)
public void addCreateAction(String platform, String action)
public List getDropActions(String[] platforms)
public void addDropAction(String platform, String action)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |