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