pascalSCADA OPM: dbstructurechecker: Class TIndex

Pascal SCADA OPM

Class TIndex

Unit

dbstructurechecker

Declaration

type TIndex = class(TDatabaseObject)

Description

simple index declaration (for primary and unique keys)

Hierarchy

Overview

Fields

Protected FTableOwner:TTableMetadata;
Protected FIndexName:AnsiString;
Protected FFields:TStringList;

Methods

Protected procedure AddFieldToIndex(FieldName:AnsiString); virtual;
Protected function GetFieldCount:LongInt;
Protected function GetField(index:LongInt):AnsiString;
Public constructor Create(OwnerTable:TTableMetadata; IndexName:AnsiString);
Public destructor Destroy; override;
Public function GetCurrentState:TDatabaseObjectState; override;

Properties

Public property IndexName: AnsiString read FIndexName;
Public property FieldCount: LongInt read GetFieldCount;
Public property IndexField[index:LongInt]: AnsiString read GetField;

Description

Fields

Protected FTableOwner:TTableMetadata;
 
Protected FIndexName:AnsiString;
 
Protected FFields:TStringList;
 

Methods

Protected procedure AddFieldToIndex(FieldName:AnsiString); virtual;
 
Protected function GetFieldCount:LongInt;
 
Protected function GetField(index:LongInt):AnsiString;
 
Public constructor Create(OwnerTable:TTableMetadata; IndexName:AnsiString);
 
Public destructor Destroy; override;
 
Public function GetCurrentState:TDatabaseObjectState; override;
 

Properties

Public property IndexName: AnsiString read FIndexName;
 
Public property FieldCount: LongInt read GetFieldCount;
 
Public property IndexField[index:LongInt]: AnsiString read GetField;
 

Generated by PasDoc 0.14.0.