| org.netbeans.modules.mashup.db.model.FlatfileDatabaseModel
All known Subclasses: org.netbeans.modules.mashup.db.model.impl.FlatfileDatabaseModelImpl,
FlatfileDatabaseModel | public interface FlatfileDatabaseModel extends SQLDBModel,JDBCConnectionProvider(Code) | | Root interface to be implemented by ETL-compatible flatfile data sources that provide
information in a row-and-column addressable format. Extends DatabaseModel to support
collection of flatfiles as analogues for a database instance of tables. This model
represents a collection of one or more flatfiles in a single directory.
author: Jonathan Giron author: Ahimanikya Satapathy version: $Revision$ |
addTable | void addTable(FlatfileDBTable table)(Code) | | Adds new SourceTable to the model.
Parameters: table - new DBTable to add |
clone | Object clone()(Code) | | Clones this object.
shallow copy of this ETLDataSource |
copyFrom | void copyFrom(FlatfileDatabaseModel src)(Code) | | Copies member values from those contained in the given FlatfileDatabaseModel
instance.
Parameters: src - DatabaseModel whose contents are to be copied into this instance |
getConnectionName | String getConnectionName()(Code) | | Gets name of DBConnectionDefinition associated with this database model.
name of associated DBConnectionDefinition instance |
getFileMatchingFileName | FlatfileDBTable getFileMatchingFileName(String aName)(Code) | | Gets Flatfile instance, if any, whose file name matches the given String
Parameters: aName - file name to search for matching instance, if any, or null if no Flatfile matchesaName |
getFileMatchingTableName | FlatfileDBTable getFileMatchingTableName(String tableName)(Code) | | Gets Flatfile instance, if any, whose table name matches the given String.
Parameters: tableName - table name to search for matching instance, if any, or null if no Flatfile matchesaName |
getFlatfileTablePropertyMap | Map getFlatfileTablePropertyMap(String flatfileName)(Code) | | |
getFlatfileTablePropertyMaps | Map getFlatfileTablePropertyMaps()(Code) | | |
getMajorVersion | int getMajorVersion()(Code) | | |
getMicroVersion | int getMicroVersion()(Code) | | |
getMinorVersion | int getMinorVersion()(Code) | | |
hashCode | int hashCode()(Code) | | Overrides default implementation to compute hashCode value for those members used
in equals() for comparison.
hash code for this object See Also: java.lang.Object.hashCode |
setConnectionDefinition | void setConnectionDefinition(DBConnectionDefinition theConnectionDefinition)(Code) | | Setter for FlatfileDBConnectionDefinition
Parameters: theConnectionDefinition - to be set |
setConnectionName | void setConnectionName(String theConName)(Code) | | Sets the Connection Name associated with connection name
Parameters: theConName - associated with this DataSource |
setSource | void setSource(FlatfileDefinition obj)(Code) | | Sets repository object, if any, providing underlying data for this DatabaseModel
implementation.
Parameters: obj - FlatfileDefinition hosting this object's metadata, or null if data are notheld by a StcdbObjectTypeDefinition. |
setTables | void setTables(Map theTables)(Code) | | Setter for tables
Parameters: theTables - to be part of Model |
toString | String toString()(Code) | | Overrides default implementation to return name of this DatabaseModel.
model name. |
|
|