|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.peer.sql.LyMetaDataInformation
leon.peer.sql.LyMetaDataColumnInformation
public class LyMetaDataColumnInformation
Nested Class Summary | |
---|---|
class |
LyMetaDataColumnInformation._LyMetaDataColumnForeignKeyInformation
|
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static short |
NO_KEY
|
Constructor Summary | |
---|---|
LyMetaDataColumnInformation(java.lang.String name,
java.lang.String remarks)
Default Constructor. |
Method Summary | |
---|---|
int |
getColumnSize()
Accessor to the size of this column. |
short |
getDataType()
Accessor to the type of this column. |
java.lang.String |
getDataTypeString()
Accessor to the string representation of the type of this column. |
int |
getDecimalDigits()
Accessor to the number of decimals of this column. |
java.lang.String |
getDef()
Accessor to def attribute. |
java.lang.String |
getExportedKeyTable()
Accessor to the exported table id of this column. |
java.util.Vector<LyMetaDataColumnInformation._LyMetaDataColumnForeignKeyInformation> |
getForeignKeys()
|
java.lang.String |
getImportedKeyColumn()
Accessor to the column id of the imported key. |
java.lang.String |
getImportedKeyName()
Accessor to the name of the imported key. |
java.lang.String |
getImportedKeyTable()
Accessor to the table id of the imported key. |
java.lang.String |
getIsNullable()
Accessor to the isNullable attribute. |
short |
getKeyOrder()
Accessor to key order of this column. |
java.lang.String |
getNullable()
Accessor to the nullable attribute. |
int |
getOctetLength()
Accesor to the length of this column in bytes. |
int |
getPosition()
Accessor to the position of this column. |
short |
getPrimaryKey()
Accessor to the primary key atttribute of this column. |
java.lang.String |
getStatus()
Accessor to the status of this column. |
java.lang.String |
getTableName()
Accessor to the table name. |
java.lang.String |
getTypeName()
Accessor to the name of the type of this column. |
boolean |
isExportedKey()
Test if this column is an exported key or not. |
boolean |
isImportedKey()
Test if this column is an imported key or not. |
boolean |
isPrimaryKey()
Tests if this column is primary key or not. |
void |
setColumnSize(int columnSize)
Modifier of the size of this column. |
void |
setDataType(short dataType)
Modifier of the type of this column. |
void |
setDecimalDigits(int decimalDigits)
Modifier of the number of decimals of this column. |
void |
setDef(java.lang.String def)
Modifier of the def attribute. |
void |
setIsExportedKey(java.lang.String exportedTableId)
Modifier of the exported table id of this column. |
void |
setIsImportedKey(java.lang.String importedKeyName,
java.lang.String importedTableId,
java.lang.String importedColumnId)
Modifier of the imported key attribute. |
void |
setIsNullable(java.lang.String isNullable)
Modifier of the isNullbable attribute. |
void |
setIsPrimaryKey()
To compute if this column is primary key or not. |
void |
setIsPrimaryKey(boolean auto_increment)
To compute if this column is primary key or not. |
void |
setKeyOrder(short keyOrder)
Modifier of the key order of this column. |
void |
setNullable(int nullable)
Modifier of the nullable attribute. |
void |
setOctetLength(int octetLength)
Modifier of the length of this column in bytes. |
void |
setPosition(int position)
Modifier of the position of this column. |
void |
setTableName(java.lang.String tableName)
Modifier of the table name of this column. |
void |
setTypeName(java.lang.String typeName)
Modifier of the name of the type of this column. |
java.lang.String |
toString()
Compute a string representation of this column information. |
Methods inherited from class leon.peer.sql.LyMetaDataInformation |
---|
getDriverName, getDriverVersion, getName, getProductName, getProductVersion, getRemarks, getSqlKeyWords, getTables, setTables |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static final short NO_KEY
Constructor Detail |
---|
public LyMetaDataColumnInformation(java.lang.String name, java.lang.String remarks)
name
- Name of this information.remarks
- Comments associated to this information.Method Detail |
---|
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- The table name of this column.public short getDataType()
Types
public void setDataType(short dataType)
dataType
- The type of this column.Types
public java.lang.String getDataTypeString()
public java.lang.String getTypeName()
public void setTypeName(java.lang.String typeName)
typeName
- The name of the type of this column.public int getColumnSize()
public void setColumnSize(int columnSize)
columnSize
- The size of this column.public int getDecimalDigits()
public void setDecimalDigits(int decimalDigits)
decimalDigits
- The number of decimals of this column.public java.lang.String getNullable()
public void setNullable(int nullable)
nullable
- The nullable attribute.public java.lang.String getIsNullable()
public void setIsNullable(java.lang.String isNullable)
isNullable
- The isNullbale attribute.public java.lang.String getDef()
public void setDef(java.lang.String def)
def
- The def attribute.public int getPosition()
public void setPosition(int position)
position
- The position of this column.public int getOctetLength()
public void setOctetLength(int octetLength)
octetLength
- The length of this column in bytes.public short getKeyOrder()
public void setKeyOrder(short keyOrder)
keyOrder
- the key order.public short getPrimaryKey()
public boolean isPrimaryKey()
public void setIsPrimaryKey()
public void setIsPrimaryKey(boolean auto_increment)
public void setIsImportedKey(java.lang.String importedKeyName, java.lang.String importedTableId, java.lang.String importedColumnId)
importedTableId
- The table from which the key is imported.public java.lang.String getImportedKeyTable()
public java.lang.String getImportedKeyColumn()
public java.lang.String getImportedKeyName()
public boolean isImportedKey()
public void setIsExportedKey(java.lang.String exportedTableId)
exportedTableId
- The exported table id of this column.public java.util.Vector<LyMetaDataColumnInformation._LyMetaDataColumnForeignKeyInformation> getForeignKeys()
public java.lang.String getExportedKeyTable()
public boolean isExportedKey()
public java.lang.String getStatus()
public java.lang.String toString()
toString
in class LyMetaDataInformation
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |