Method Summary |
|
public boolean | addColumn(SQLDBColumn theColumn) Adds an AbstractDBColumn instance to this table.
Parameters: theColumn - column to be added. |
public boolean | addForeignKey(ForeignKeyImpl newFk) Adds the given ForeignKeyImpl, associating it with this AbstractDBTable instance. |
public boolean | addIndex(IndexImpl newIndex) Adds the given IndexImpl, associating it with this AbstractDBTable instance. |
public void | clearForeignKeys() Clears list of foreign keys. |
public void | clearIndexes() Clears list of indexes. |
public void | clearOverride(boolean clearCatalogOverride, boolean clearSchemaOverride) |
public int | compareTo(Object refObj) Compares DBTable with another object for lexicographical ordering. |
public void | copyFrom(DBTable source) Sets the various member variables and collections using the given DBTable instance
as a source object. |
protected void | deepCopyReferences(DBTable source) Perform deep copy of columns. |
public boolean | deleteAllColumns() Deletes all columns associated with this table. |
public boolean | deleteColumn(String columnName) Deletes DBColumn, if any, associated with the given name from this table.
Parameters: columnName - column name to be removed. |
public boolean | equals(Object obj) Overrides default implementation to return value based on memberwise comparison. |
public String | getAliasName() |
public int | getBatchSize() |
public String | getCatalog() |
public List<DBColumn> | getChildSQLObjects() Gets List of child SQLObjects belonging to this instance. |
public DBColumn | getColumn(String columnName) |
public List<DBColumn> | getColumnList() |
public Map<String, DBColumn> | getColumns() |
public String | getDescription() |
public String | getDisplayName() |
protected String | getElementTagName() Gets String representing tag name for this table class. |
public String | getFlatFileLocationRuntimeInputName() Gets the flat file location runtime input name which is generate when a flat file
table is added to collaboration. |
public ForeignKey | getForeignKey(String fkName) |
public List<ForeignKey> | getForeignKeys() |
public String | getFullyQualifiedName() |
public GUIInfo | getGUIInfo() |
public Index | getIndex(String indexName) |
public List<Index> | getIndexes() |
public synchronized String | getName() |
public SQLObject | getObject(String objectId) |
public DatabaseModel | getParent() |
public PrimaryKey | getPrimaryKey() |
public String | getQualifiedName() |
public ForeignKey | getReferenceFor(DBTable target) |
public Set | getReferencedTables() |
public String | getRuntimeArgumentName() |
public String | getSchema() |
public String | getStagingTableName() Gets the staging table name. |
public String | getTablePrefix() |
public String | getUniqueTableName() |
public String | getUserDefinedCatalogName() |
public String | getUserDefinedSchemaName() |
public String | getUserDefinedTableName() |
public int | hashCode() Overrides default implementation to compute hashCode value for those members used
in equals() for comparison. |
public boolean | isAliasUsed() |
public boolean | isEditable() |
public boolean | isInputStatic(String inputName) |
public boolean | isSelected() |
public boolean | isUsingFullyQualifiedName() |
public void | overrideCatalogName(String nName) |
public void | overrideSchemaName(String nName) |
protected void | parseChildren(NodeList childNodeList) Parses node elements to extract child components to various collections (columns,
PK, FK, indexes). |
public void | parseXML(Element tableElement) Parses the XML content, if any, using the given Element as a source for
reconstituting the member variables and collections of this instance. |
public boolean | references(DBTable pkTarget) |
public boolean | removeForeignKey(ForeignKeyImpl oldKey) Dissociates the given ForeignKeyImpl from this AbstractDBTable instance, removing
it from its internal FK collection. |
public void | setAliasName(String aName) |
public void | setAliasUsed(boolean aliasUsed) |
public boolean | setAllColumns(Map<String, DBColumn> theColumns) Clones contents of the given Map to this table's internal column map, overwriting
any previous mappings.
Parameters: theColumns - Map of columns to be substituted true if successful. |
public void | setBatchSize(int newSize) |
public void | setCatalog(String newCatalog) Sets catalog name to new value. |
protected void | setDefaultAttributes() Sets default values for attributes defined in this abstract class. |
public void | setDescription(String newDesc) Sets description text for this instance. |
public void | setEditable(boolean edit) |
public void | setFlatFileLocationRuntimeInputName(String runtimeArgName) |
public void | setForeignKeyMap(Map<String, ForeignKey> fkMap) |
public void | setName(String newName) Sets table name to new value. |
public void | setParent(SQLDBModel newParent) Sets parentDBModel DatabaseModel to the given reference. |
public boolean | setPrimaryKey(PrimaryKeyImpl newPk) Sets PrimaryKey instance for this DBTable to the given instance. |
public void | setSchema(String newSchema) Sets schema name to new value. |
public void | setSelected(boolean sel) |
public void | setStagingTableName(String stName) Sets the staging table name. |
public void | setTablePrefix(String tPrefix) |
public void | setUserDefinedCatalogName(String newName) |
public void | setUserDefinedSchemaName(String newName) |
public void | setUserDefinedTableName(String newName) |
public void | setUsingFullyQualifiedName(boolean usesFullName) |
public String | toString() |
public String | toXMLString(String prefix) |
public String | toXMLString(String prefix, boolean tableOnly) Returns XML representation of table metadata.
Parameters: prefix - prefix for the xml. Parameters: tableOnly - flag for generating table only metadata. |