LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.sql
Class LyMetaDataInformation

java.lang.Object
  extended by leon.peer.sql.LyMetaDataInformation
Direct Known Subclasses:
LyMetaDataColumnInformation, LyMetaDataTableInformation

public class LyMetaDataInformation
extends java.lang.Object


Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyMetaDataInformation(java.sql.DatabaseMetaData metaData, java.lang.String databaseName)
          Constructor.
LyMetaDataInformation(java.lang.String name, java.lang.String remarks)
          Default Constructor.
 
Method Summary
 java.lang.String getDriverName()
          Accessor to the driver name.
 java.lang.String getDriverVersion()
          Accessor to the driver version.
 java.lang.String getName()
          Accessor to the name.
 java.lang.String getProductName()
          Accessor to the product name.
 java.lang.String getProductVersion()
          Accessor to the product version.
 java.lang.String getRemarks()
          Accessor to the comments.
 java.lang.String getSqlKeyWords()
          Accessor to the SQL keywords.
 java.util.Hashtable<java.lang.String,LyMetaDataTableInformation> getTables()
          To get table descriptions of this database.
 void setTables(java.util.Hashtable<java.lang.String,LyMetaDataTableInformation> tables)
          To set the list of the tables of this database.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyMetaDataInformation

public LyMetaDataInformation(java.lang.String name,
                             java.lang.String remarks)
Default Constructor.

Parameters:
name - Name of this information
remarks - Comments associated to this information.

LyMetaDataInformation

public LyMetaDataInformation(java.sql.DatabaseMetaData metaData,
                             java.lang.String databaseName)
Constructor.

Parameters:
metaData - MetaData informations.
databaseName - Name of the database.
Method Detail

getName

public java.lang.String getName()
Accessor to the name.

Returns:
The name of this information.

getRemarks

public java.lang.String getRemarks()
Accessor to the comments.

Returns:
The comments associated to this information.

getProductName

public java.lang.String getProductName()
Accessor to the product name.

Returns:
The product name of the database.

getProductVersion

public java.lang.String getProductVersion()
Accessor to the product version.

Returns:
The product version of the database.

getDriverName

public java.lang.String getDriverName()
Accessor to the driver name.

Returns:
The driver name.

getDriverVersion

public java.lang.String getDriverVersion()
Accessor to the driver version.

Returns:
The driver version.

getSqlKeyWords

public java.lang.String getSqlKeyWords()
Accessor to the SQL keywords.

Returns:
The SQL keywords.

setTables

public void setTables(java.util.Hashtable<java.lang.String,LyMetaDataTableInformation> tables)
To set the list of the tables of this database.

Parameters:
tables - The tables description list of this database.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
A string representation of this database information.

getTables

public java.util.Hashtable<java.lang.String,LyMetaDataTableInformation> getTables()
To get table descriptions of this database. Keys are the name of the tables.

Returns:
A list of the table description.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com