class: ColumnInfo

public class: ColumnInfo
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 6.12.2005 14:45:36; Modified: 6.12.2005 14:47:57;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {112D7227-038E-4c7d-94AE-99CE09A6377D}
Information about one column

 

Goto: Fields, Methods

See also: DBDataAdmin, ColumnsInfo, ColumnsInfo

Appears in: Tables

Connections
 
ColumnInfo Attributes
Attribute Details
protected string
  columnName
Notes: Column name

protected string
  columnType
Notes: Database type

protected string
  columnTypeSimple
Notes: Database type convert to simple type

protected string
  columnTypeEx
Notes: Database type for create table (it depends on simple type)

protected bool
  selected
Notes: If column is selected

private DBDataAdmin
  dbAdmin
Notes: Referrence to data admin

private ColumnsInfo
  parentColsInfo
Notes: Reference to container

protected string
  columnTmpVal
Notes: Useful for create insert sql statement

private bool
  failed
Notes: Attribute that express if this object is non valid

 
ColumnInfo Methods
Operation Details
public
ColumnInfo(
   string colName,
   string colType,
   DBDataAdmin dbAdmin):
Notes: Constructor
public
ColumnInfo(
   ColumnInfo ci):
Notes: Copy constructor. Copy all items except ParentColsInfo.
public
ColName():string
<<property>>
Notes: Name of column
public
ColType():string
<<property>>
Notes: Column type obtaion from database
public
ColTypeEx():string
<<property>>
Notes: Column type extended. May be used in create table SQL statement as type of column.
public
XmlDescription():string
<<property>>
Notes: Configuration in XML (information about this column)
public
TmpVal():string
<<property>>
Notes: Usefull for create insert SQL statement.
public
ColTypeSimple():string
<<property>>
Notes: Column simple type
public
Selected():bool
<<property>>
Notes: If column is marked as selected
public
ToString():string
Tags: override=true
Notes: Text

@returns
public
ParentColsInfo():ColumnsInfo
<<property>>
Notes: Reference to container
public
IsOK():bool
<<property>>
Notes: Express if that express if this object is valid.