LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.sql
Class LyMetaDataTableInformation

java.lang.Object
  extended by leon.peer.sql.LyMetaDataInformation
      extended by leon.peer.sql.LyMetaDataTableInformation

public class LyMetaDataTableInformation
extends LyMetaDataInformation


Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyMetaDataTableInformation(java.lang.String name, java.lang.String remarks)
          Default Constructor.
 
Method Summary
 void addColumn(LyMetaDataColumnInformation column)
          Add a column information to this table information.
 LyMetaDataColumnInformation getColumn(java.lang.String name)
          Get a column information by this name.
 java.util.Enumeration<LyMetaDataColumnInformation> getColumns()
          Get all column informations of this table information.
 java.util.Hashtable<java.lang.String,LyMetaDataColumnInformation> getColumnsHashTable()
          Get the hashtable of the column informations.
 java.lang.String getType()
          Accessor to the type of the table.
 void setType(java.lang.String type)
          Modifier of the type of the table.
 
Methods inherited from class leon.peer.sql.LyMetaDataInformation
getDriverName, getDriverVersion, getName, getProductName, getProductVersion, getRemarks, getSqlKeyWords, getTables, setTables, 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

LyMetaDataTableInformation

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

Parameters:
name - Name of the information
remarks - Comments associated to this information
Method Detail

addColumn

public void addColumn(LyMetaDataColumnInformation column)
Add a column information to this table information.

Parameters:
column - the column information.

getColumn

public LyMetaDataColumnInformation getColumn(java.lang.String name)
Get a column information by this name.

Parameters:
name - The name of the searched column information.
Returns:
The column information corresponding to the given name if exists, null otherwise.

getColumns

public java.util.Enumeration<LyMetaDataColumnInformation> getColumns()
Get all column informations of this table information.

Returns:
An enumeration of the column informations of this table.

getColumnsHashTable

public java.util.Hashtable<java.lang.String,LyMetaDataColumnInformation> getColumnsHashTable()
Get the hashtable of the column informations. Keys are the name of the columns.

Returns:
The hashtable of the columns.

getType

public java.lang.String getType()
Accessor to the type of the table.

Returns:
the type of the table.

setType

public void setType(java.lang.String type)
Modifier of the type of the table.

Parameters:
type - the type of the table.

(c) January 2013 - W4 S.A.

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